projects
/
project
/
uci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7840d04
)
increase argv in batch mode to silence a false gcc 4.4 warning
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 30 Apr 2009 19:35:53 +0000
(21:35 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 30 Apr 2009 19:35:53 +0000
(21:35 +0200)
cli.c
patch
|
blob
|
history
diff --git
a/cli.c
b/cli.c
index 36ef6e5d1cbbedbd3baa07d8a11f4dbd7dd27db2..25a61f872b540347012c483bc8a30445376fa190 100644
(file)
--- 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;