summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-12-30 12:27:01 -0800
committerJunio C Hamano <gitster@pobox.com>2013-12-30 12:27:01 -0800
commit44484662d83de2ae98d04738ec43d4dea1f859a8 (patch)
treea7f14eaf6111c4a6072768e51b09a549a9e97d1d
parent53f3478d42d00a34bfb031f41a4a9a3a225d312f (diff)
parentb9cf14d43b221fc2cce07b63d1dca408c17946e3 (diff)
downloadgit-44484662d83de2ae98d04738ec43d4dea1f859a8.tar.gz
Merge branch 'maint'
* maint: for-each-ref: remove unused variable
-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);