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:
2e9f26e
)
add some missing initializations
author
Felix Fietkau
<nbd@pi.lan>
Sat, 23 Aug 2008 09:10:41 +0000
(11:10 +0200)
committer
Felix Fietkau
<nbd@pi.lan>
Sat, 23 Aug 2008 09:10:41 +0000
(11:10 +0200)
lua/uci.c
patch
|
blob
|
history
diff --git
a/lua/uci.c
b/lua/uci.c
index 6e86e9ab30fca803e390e1d8df79efa137152a25..b64c91f2cadeac655170697b664addef69de179e 100644
(file)
--- a/
lua/uci.c
+++ b/
lua/uci.c
@@
-105,7
+105,7
@@
done:
static int
lookup_args(lua_State *L, struct uci_ptr *ptr, char **buf)
{
- char *s;
+ char *s
= NULL
;
int n;
n = lua_gettop(L);
@@
-281,7
+281,7
@@
uci_lua_get_any(lua_State *L, bool all)
{
struct uci_element *e = NULL;
struct uci_ptr ptr;
- char *s;
+ char *s
= NULL
;
int err = UCI_ERR_NOTFOUND;
if (lookup_args(L, &ptr, &s))