Replace zero-length array decls with [].
[git.git] / receive-pack.c
index 9026f1b..3a1b2ab 100644 (file)
@@ -24,7 +24,7 @@ struct command {
        unsigned char updated;
        unsigned char old_sha1[20];
        unsigned char new_sha1[20];
-       char ref_name[0];
+       char ref_name[];
 };
 
 static struct command *commands = NULL;