Teach Solaris that _XOPEN_SOURCE=600 really menas XPG6
[gitweb.git] / index-pack.c
index 5dfe03ee6cbbf531a5db053fc8f8fd41b0a59aab..6e93ee6af64593937ee9b078e599e81d40b74303 100644 (file)
@@ -232,7 +232,7 @@ static void free_base_data(struct base_data *c)
 
 static void prune_base_data(struct base_data *retain)
 {
-       struct base_data *b = base_cache;
+       struct base_data *b;
        for (b = base_cache;
             base_cache_used > delta_base_cache_limit && b;
             b = b->child) {