summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/db.c3
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)