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) | |
download | busybox-w32-5117eff6f938a6daa269f965a52abc93b49d90d6.tar.gz busybox-w32-5117eff6f938a6daa269f965a52abc93b49d90d6.tar.bz2 busybox-w32-5117eff6f938a6daa269f965a52abc93b49d90d6.zip |
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 @@ | |||
59 | struct globals { | 59 | struct globals { |
60 | char **names; | 60 | char **names; |
61 | int cur; | 61 | int cur; |
62 | char *cmd[1]; | 62 | char *cmd[2 /* using 1 provokes compiler warning */]; |
63 | } FIX_ALIASING; | 63 | } FIX_ALIASING; |
64 | #define G (*(struct globals*)&bb_common_bufsiz1) | 64 | #define G (*(struct globals*)&bb_common_bufsiz1) |
65 | #define names (G.names) | 65 | #define names (G.names) |