diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-07-14 08:23:23 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-07-14 08:23:23 +0400 |
commit | 98cb7ad237c4b727a679feeced7790bf716b5791 (patch) | |
tree | c7310ce4b4ef8357379de3f5b7383486944aecb7 /source/blender | |
parent | 3b81aae5c13b01305c5c1a5e868d7e29a8c08951 (diff) |
Remove redundant NULL check
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenlib/intern/edgehash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/edgehash.c b/source/blender/blenlib/intern/edgehash.c index 173d2a5a590..aa571bbc1c5 100644 --- a/source/blender/blenlib/intern/edgehash.c +++ b/source/blender/blenlib/intern/edgehash.c @@ -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; } |