threads / patch / 3874

patchFix a warning.

Subject: [PATCH] Fix a warning.

## tl;dr

One message between Apr 15, 2006 and Apr 15, 2006. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Mike McCormack· Apr 15, 2006, 03:50 UTC · lore
Signed-off-by: Mike McCormack <mike@codeweavers.com>
---
  diff-tree.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
2fa977d19bee245aef86d9beb307d742111890d7
Show changes to diff-tree.c +1 −1
diff --git a/diff-tree.c b/diff-tree.c
index 2b79dd0..7015b06 100644
--- a/diff-tree.c
+++ b/diff-tree.c
@@ -120,7 +120,7 @@ int main(int argc, const char **argv)
 	if (opt->diffopt.output_format == DIFF_FORMAT_PATCH)
 		opt->diffopt.recursive = 1;
 
-	diff_tree_setup_paths(get_pathspec(prefix, argv), opt);
+	diff_tree_setup_paths(get_pathspec(prefix, argv), &opt->diffopt);
 	diff_setup_done(&opt->diffopt);
 
 	switch (nr_sha1) {

← back to recent threads