diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2017-11-24 00:43:11 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2017-11-24 00:43:11 +0300 |
commit | b63442e0b61691a0aa65ce1cef806beba67e85ee (patch) | |
tree | e3995fa6e5ddf0fc2293599429890693c997c534 /source/blender/blenlib/intern | |
parent | 43ddf0e9a7f0f9986ed24e05df0ce7eac5f944b6 (diff) |
Minor cleanup for own recent commits.
Diffstat (limited to 'source/blender/blenlib/intern')
-rw-r--r-- | source/blender/blenlib/intern/BLI_mempool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/BLI_mempool.c b/source/blender/blenlib/intern/BLI_mempool.c index c90f9e300b7..5b13f129ad4 100644 --- a/source/blender/blenlib/intern/BLI_mempool.c +++ b/source/blender/blenlib/intern/BLI_mempool.c @@ -628,7 +628,7 @@ static void *bli_mempool_iternext(BLI_mempool_iter *iter) while (1) { iter->curchunk = *iter->curchunk_threaded_shared; if (iter->curchunk == NULL) { - break; + return ret; } if (atomic_cas_ptr((void **)iter->curchunk_threaded_shared, iter->curchunk, iter->curchunk->next) == iter->curchunk) { break; |