diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-12-30 12:27:01 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-12-30 12:27:01 -0800 |
commit | 44484662d83de2ae98d04738ec43d4dea1f859a8 (patch) | |
tree | a7f14eaf6111c4a6072768e51b09a549a9e97d1d | |
parent | 53f3478d42d00a34bfb031f41a4a9a3a225d312f (diff) | |
parent | b9cf14d43b221fc2cce07b63d1dca408c17946e3 (diff) | |
download | git-44484662d83de2ae98d04738ec43d4dea1f859a8.tar.gz git-44484662d83de2ae98d04738ec43d4dea1f859a8.tar.xz |
Merge branch 'maint'
* maint:
for-each-ref: remove unused variable
-rw-r--r-- | builtin/for-each-ref.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/builtin/for-each-ref.c b/builtin/for-each-ref.c index 6551e7b39..51798b48b 100644 --- a/builtin/for-each-ref.c +++ b/builtin/for-each-ref.c @@ -92,7 +92,7 @@ static struct { */ static const char **used_atom; static cmp_type *used_atom_type; -static int used_atom_cnt, sort_atom_limit, need_tagged, need_symref; +static int used_atom_cnt, need_tagged, need_symref; static int need_color_reset_at_eol; /* @@ -1105,7 +1105,6 @@ int cmd_for_each_ref(int argc, const char **argv, const char *prefix) if (!sort) sort = default_sort(); - sort_atom_limit = used_atom_cnt; /* for warn_ambiguous_refs */ git_config(git_default_config, NULL); |