Remove redundant NULL check
This commit is contained in:
parent
3b81aae5c1
commit
98cb7ad237
@ -270,7 +270,7 @@ static void edgehash_free_cb(EdgeHash *eh, EdgeHashFreeFP valfreefp)
|
||||
for (e = eh->buckets[i]; e; ) {
|
||||
EdgeEntry *e_next = e->next;
|
||||
|
||||
if (valfreefp) valfreefp(e->val);
|
||||
valfreefp(e->val);
|
||||
|
||||
e = e_next;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user