libarchive: open_zipped() does not need to check extensions for e.g. gzip
[oweals/busybox.git] / debianutils / run_parts.c
index 2c2b032be7f18576a7d67883104c32c3d00d45f5..527fae227c5121d8265531c7e2fcdd057eb0952e 100644 (file)
@@ -59,7 +59,7 @@
 struct globals {
        char **names;
        int    cur;
-       char  *cmd[1];
+       char  *cmd[2 /* using 1 provokes compiler warning */];
 } FIX_ALIASING;
 #define G (*(struct globals*)&bb_common_bufsiz1)
 #define names (G.names)