Cleanup: Clang-Tidy else-after-return fixes

This addresses warnings from Clang-Tidy's `readability-else-after-return`
rule. This should be the final commit of the series of commits that
addresses this particular rule.

No functional changes.
This commit is contained in:
2020-08-07 13:37:22 +02:00
parent 3d48d99647
commit c04088fed1
23 changed files with 272 additions and 309 deletions

View File

@@ -179,13 +179,12 @@ BMLoop *BM_loop_other_vert_loop_by_edge(BMLoop *l, BMEdge *e)
if (l->e == e) {
return l->next;
}
else if (l->prev->e == e) {
if (l->prev->e == e) {
return l->prev;
}
else {
BLI_assert(0);
return NULL;
}
BLI_assert(0);
return NULL;
}
/**