diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-03-26 20:13:17 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-03-26 20:13:17 -0700 |
commit | 8194fcaa1f0999064a170ed24d36be5432815dce (patch) | |
tree | 99c52b1bbaa3eee26bb8e21b77cb0ea477cd4dec /diff.c | |
parent | 908535c1fa1c5cddddfa74732c66d625e99bd6b0 (diff) | |
parent | c0aa335c95974caebcc972cd63a11e6ff73b1612 (diff) | |
download | git-8194fcaa1f0999064a170ed24d36be5432815dce.tar.gz |
Merge branch 'js/remove-unused-variables'
* js/remove-unused-variables:
Remove unused variables
Diffstat (limited to 'diff.c')
-rw-r--r-- | diff.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1242,7 +1242,7 @@ static void show_stats(struct diffstat_t *data, struct diff_options *options) uintmax_t max_change = 0, max_len = 0; int total_files = data->nr; int width, name_width; - const char *reset, *set, *add_c, *del_c; + const char *reset, *add_c, *del_c; const char *line_prefix = ""; struct strbuf *msg = NULL; @@ -1269,7 +1269,6 @@ static void show_stats(struct diffstat_t *data, struct diff_options *options) /* Find the longest filename and max number of changes */ reset = diff_get_color_opt(options, DIFF_RESET); - set = diff_get_color_opt(options, DIFF_PLAIN); add_c = diff_get_color_opt(options, DIFF_FILE_NEW); del_c = diff_get_color_opt(options, DIFF_FILE_OLD); |