Skip to contentSkip to conversation

Fix a warning.

PATCH New Mike McCormack 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix a warning.

---

 diff-tree.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

2fa977d19bee245aef86d9beb307d742111890d7

diff-tree.c +1 -1
index 2b79dd0..7015b06 100644
@@ -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) {