Bump sdb for an ns fix
This commit is contained in:
parent
0814a6d4e2
commit
492cecdcb9
2 changed files with 2 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ ifeq ($(CC),cc)
|
|||
CFLAGS+=$(shell gcc -v 2>&1 | grep -q LLVM && echo '-Wno-initializer-overrides')
|
||||
endif
|
||||
CFLAGS+=-Wall
|
||||
CFLAGS+=-O0
|
||||
CFLAGS+=-O3
|
||||
#CFLAGS+=-ggdb -g -Wall -O0
|
||||
CFLAGS+=-g
|
||||
LDFLAGS+=-g
|
||||
|
|
|
|||
|
|
@ -122,7 +122,7 @@ SDB_API int sdb_ns_set (Sdb *s, const char *name, Sdb *r) {
|
|||
SdbNs *ns;
|
||||
SdbListIter *it;
|
||||
ut32 hash = sdb_hash (name);
|
||||
if (!s || !name)
|
||||
if (!s || !r || !name)
|
||||
return 0;
|
||||
ls_foreach (s->ns, it, ns) {
|
||||
if (ns->hash == hash) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue