for-each-ref: remove unused variable

No code ever used this symbol since the command was introduced at 9f613ddd (Add git-for-each-ref: helper for language bindings, 2006-09-15). Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Ramkumar Ramachandra committed Dec 30, 2013 at 21:58 UTC b9cf14d43b221fc2cce07b63d1dca408c17946e3
1 file changed +1 -2
builtin/for-each-ref.c
+1 -2
@@ -89,7 +89,7 @@ static struct {
89 */
90 static const char **used_atom;
91 static cmp_type *used_atom_type;
92 -static int used_atom_cnt, sort_atom_limit, need_tagged, need_symref;
92 +static int used_atom_cnt, need_tagged, need_symref;
93
94 /*
95 * Used to parse format string and sort specifiers
@@ -1037,7 +1037,6 @@ int cmd_for_each_ref(int argc, const char **argv, const char *prefix)
1037
1038 if (!sort)
1039 sort = default_sort();
1040 - sort_atom_limit = used_atom_cnt;
1040
1041 /* for warn_ambiguous_refs */
1042 git_config(git_default_config, NULL);