diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/common/db.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/common/db.c b/src/common/db.c index 62d5732..a2dc695 100644 --- a/src/common/db.c +++ b/src/common/db.c @@ -434,9 +434,6 @@ void db_foreach(struct dbt *table,int (*func)(void*,void*,va_list),...) struct dbn *p,*pn,*stack[64]; va_list ap; - if (!table) - return; - va_start(ap,func); for(i=0;i<HASH_SIZE;i++){ if((p=table->ht[i])==NULL) |