Skip to content

Commit

Permalink
Merge branch 'maint'
Browse files Browse the repository at this point in the history
* maint:
  for-each-ref: remove unused variable
  • Loading branch information
Junio C Hamano committed Dec 30, 2013
2 parents 53f3478 + b9cf14d commit 4448466
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions builtin/for-each-ref.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/*
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 4448466

Please sign in to comment.