summaryrefslogtreecommitdiffstats
path: root/builtin/for-each-ref.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-12-30 21:27:01 +0100
committerJunio C Hamano <gitster@pobox.com>2013-12-30 21:27:01 +0100
commit44484662d83de2ae98d04738ec43d4dea1f859a8 (patch)
treea7f14eaf6111c4a6072768e51b09a549a9e97d1d /builtin/for-each-ref.c
parentMerge git://git.bogomips.org/git-svn (diff)
parentfor-each-ref: remove unused variable (diff)
downloadgit-44484662d83de2ae98d04738ec43d4dea1f859a8.tar.xz
git-44484662d83de2ae98d04738ec43d4dea1f859a8.zip
Merge branch 'maint'
* maint: for-each-ref: remove unused variable
Diffstat (limited to 'builtin/for-each-ref.c')
-rw-r--r--builtin/for-each-ref.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/builtin/for-each-ref.c b/builtin/for-each-ref.c
index 6551e7b39b..51798b48b5 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);