Browse Source

Remove redundant call to bootstrap_attr_stack()

prepare_attr_stack() does the same thing.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Michael Haggerty 14 years ago committed by Junio C Hamano
parent
commit
cd93bffb91
  1. 1
      attr.c

1
attr.c

@ -722,7 +722,6 @@ static void collect_all_attrs(const char *path)
struct attr_stack *stk; struct attr_stack *stk;
int i, pathlen, rem; int i, pathlen, rem;


bootstrap_attr_stack();
prepare_attr_stack(path); prepare_attr_stack(path);
for (i = 0; i < attr_nr; i++) for (i = 0; i < attr_nr; i++)
check_all_attr[i].value = ATTR__UNKNOWN; check_all_attr[i].value = ATTR__UNKNOWN;

Loading…
Cancel
Save