diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2013-10-16 14:21:20 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-10-16 14:21:20 +0200 |
commit | 5117eff6f938a6daa269f965a52abc93b49d90d6 (patch) | |
tree | e0cd5ec91a93da075184310cd51f35f11744f453 /debianutils | |
parent | eba5faec67da1c95cf9616b5deacbea24fbd3998 (diff) |
Fix some compiler warnings emitted by gcc-4.8.0
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'debianutils')
-rw-r--r-- | debianutils/run_parts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debianutils/run_parts.c b/debianutils/run_parts.c index 2c2b032be..527fae227 100644 --- a/debianutils/run_parts.c +++ b/debianutils/run_parts.c @@ -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) |