From 5117eff6f938a6daa269f965a52abc93b49d90d6 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 16 Oct 2013 14:21:20 +0200 Subject: Fix some compiler warnings emitted by gcc-4.8.0 Signed-off-by: Denys Vlasenko --- debianutils/run_parts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debianutils') 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) -- cgit v1.2.3