Skip to content

Commit 4448466

Browse files
committed
Merge branch 'maint'
* maint: for-each-ref: remove unused variable
2 parents 53f3478 + b9cf14d commit 4448466

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

builtin/for-each-ref.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ static struct {
9292
*/
9393
static const char **used_atom;
9494
static cmp_type *used_atom_type;
95-
static int used_atom_cnt, sort_atom_limit, need_tagged, need_symref;
95+
static int used_atom_cnt, need_tagged, need_symref;
9696
static int need_color_reset_at_eol;
9797

9898
/*
@@ -1105,7 +1105,6 @@ int cmd_for_each_ref(int argc, const char **argv, const char *prefix)
11051105

11061106
if (!sort)
11071107
sort = default_sort();
1108-
sort_atom_limit = used_atom_cnt;
11091108

11101109
/* for warn_ambiguous_refs */
11111110
git_config(git_default_config, NULL);

0 commit comments

Comments
 (0)