Remove redundant call to bootstrap_attr_stack()
authorMichael Haggerty <mhagger@alum.mit.edu>
Thu, 4 Aug 2011 04:36:21 +0000 (06:36 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 4 Aug 2011 22:53:17 +0000 (15:53 -0700)
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>
attr.c
diff --git a/attr.c b/attr.c
index bc589f0b78994b6d5dd890f3fafb1c29e61394d8..b8ce1586c89781194e07d37b1876de6be2de7329 100644 (file)
--- a/attr.c
+++ b/attr.c
@@ -722,7 +722,6 @@ static void collect_all_attrs(const char *path)
        struct attr_stack *stk;
        int i, pathlen, rem;
 
        struct attr_stack *stk;
        int i, pathlen, rem;
 
-       bootstrap_attr_stack();
        prepare_attr_stack(path);
        for (i = 0; i < attr_nr; i++)
                check_all_attr[i].value = ATTR__UNKNOWN;
        prepare_attr_stack(path);
        for (i = 0; i < attr_nr; i++)
                check_all_attr[i].value = ATTR__UNKNOWN;