Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@blender.org>2020-07-03 15:37:53 +0300
committerSybren A. Stüvel <sybren@blender.org>2020-07-03 15:48:37 +0300
commit20869065b86263f72e469df17354bd6631be3712 (patch)
tree9f1aaaa7fecc62200ab48ef551df2510711a2cd7 /source/blender/bmesh/intern/bmesh_operators.c
parentf3b8792b963b0b2a00fe7fe173f1beb85c209fbb (diff)
Cleanup: BMesh, Clang-Tidy else-after-return fixes
This addresses warnings from Clang-Tidy's `readability-else-after-return` rule in the `source/blender/bmesh` module. No functional changes.
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_operators.c')
-rw-r--r--source/blender/bmesh/intern/bmesh_operators.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/bmesh/intern/bmesh_operators.c b/source/blender/bmesh/intern/bmesh_operators.c
index 6454079a5dc..19e42b33c80 100644
--- a/source/blender/bmesh/intern/bmesh_operators.c
+++ b/source/blender/bmesh/intern/bmesh_operators.c
@@ -1501,7 +1501,7 @@ void *BMO_iter_step(BMOIter *iter)
return ele;
}
- else if (slot->slot_type == BMO_OP_SLOT_MAPPING) {
+ if (slot->slot_type == BMO_OP_SLOT_MAPPING) {
void *ret;
if (BLI_ghashIterator_done(&iter->giter) == false) {
@@ -1517,9 +1517,7 @@ void *BMO_iter_step(BMOIter *iter)
return ret;
}
- else {
- BLI_assert(0);
- }
+ BLI_assert(0);
return NULL;
}