short i/o: fix calls to write to use xwrite or write_in_full
[gitweb.git] / tree-walk.c
index 14cc5aea6c4eefbf4b0fa9c72ccb70ec550b44b4..22f4550b6ca4d2cb185fc19f6be414a8a0874a60 100644 (file)
@@ -113,7 +113,6 @@ void traverse_trees(int n, struct tree_desc *t, const char *base, traverse_callb
        struct name_entry *entry = xmalloc(n*sizeof(*entry));
 
        for (;;) {
-               struct name_entry entry[3];
                unsigned long mask = 0;
                int i, last;