From: Felix Fietkau Date: Thu, 30 Apr 2009 19:35:53 +0000 (+0200) Subject: increase argv in batch mode to silence a false gcc 4.4 warning X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=13ccfd04a22f58928a29e9282ed30f5cc097165d;p=uci.git increase argv in batch mode to silence a false gcc 4.4 warning --- diff --git a/cli.c b/cli.c index 36ef6e5..25a61f8 100644 --- a/cli.c +++ b/cli.c @@ -462,7 +462,7 @@ static int uci_do_section_cmd(int cmd, int argc, char **argv) static int uci_batch_cmd(void) { - char *argv[MAX_ARGS]; + char *argv[MAX_ARGS + 2]; char *str = NULL; int ret = 0; int i, j;