diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-08-22 11:52:26 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-08-22 11:52:27 -0700 |
commit | 9cd33bbc529bfa830c687d377433c46474d10e6a (patch) | |
tree | 79268934569751906061421fcd5c46b751441c67 /diff.c | |
parent | 8d35c114579fd870feb61f3746e1371634fd2163 (diff) | |
parent | 28452655af988094792483a51d188c58137760cd (diff) | |
download | git-9cd33bbc529bfa830c687d377433c46474d10e6a.tar.gz |
Merge branch 'tr/void-diff-setup-done'
Remove unnecessary code.
* tr/void-diff-setup-done:
diff_setup_done(): return void
Diffstat (limited to 'diff.c')
-rw-r--r-- | diff.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -3187,7 +3187,7 @@ void diff_setup(struct diff_options *options) } } -int diff_setup_done(struct diff_options *options) +void diff_setup_done(struct diff_options *options) { int count = 0; @@ -3286,8 +3286,6 @@ int diff_setup_done(struct diff_options *options) options->output_format = DIFF_FORMAT_NO_OUTPUT; DIFF_OPT_SET(options, EXIT_WITH_STATUS); } - - return 0; } static int opt_arg(const char *arg, int arg_short, const char *arg_long, int *val) |