Replace zero-length array decls with [].
[gitweb.git] / server-info.c
index 2b3aecab4aa0df4125f401219f06ea04577cacca..cb58eb607e4a3a3f24862bc701e86adfb06fb45b 100644 (file)
@@ -70,7 +70,7 @@ static struct pack_info {
        int nr_alloc;
        int nr_heads;
        unsigned char (*head)[20];
-       char dep[0]; /* more */
+       char dep[]; /* more */
 } **info;
 static int num_pack;
 static const char *objdir;