forked from github/server
uninitialized variable.
This commit is contained in:
parent
ae83448e4a
commit
abed38db0c
|
@ -754,8 +754,8 @@ void config_set_from(const dictionary *d)
|
|||
assert(klen+slen+1<sizeof(key));
|
||||
memcpy(key+slen+1, keys[k]+slen+1, klen-slen);
|
||||
orig = config_get(key);
|
||||
if (!orig) {
|
||||
val = iniparser_getstring(d, keys[k], NULL);
|
||||
if (!orig) {
|
||||
if (val) {
|
||||
config_set(key, val);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue