diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-11-18 05:35:26 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-11-18 05:36:30 +0300 |
commit | bbdfeb751e16d939482d2e4b95c4d470f53f18a5 (patch) | |
tree | 25d35a1c099a913cab588ea4d25be236f3b30e26 /source/blender/makesrna/intern | |
parent | 88512646c0bafa1e31abe41025fc8d837ad77583 (diff) |
Cleanup: remove break after return statements
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r-- | source/blender/makesrna/intern/rna_object_force.c | 1 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_rna.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_object_force.c b/source/blender/makesrna/intern/rna_object_force.c index ee87ad19cbb..c4dcda71984 100644 --- a/source/blender/makesrna/intern/rna_object_force.c +++ b/source/blender/makesrna/intern/rna_object_force.c @@ -197,7 +197,6 @@ static char *rna_PointCache_path(PointerRNA *ptr) } default: { return BLI_sprintfN("modifiers[\"%s\"].point_cache", name_esc); - break; } } } diff --git a/source/blender/makesrna/intern/rna_rna.c b/source/blender/makesrna/intern/rna_rna.c index 03394a5faba..45406c3ddd3 100644 --- a/source/blender/makesrna/intern/rna_rna.c +++ b/source/blender/makesrna/intern/rna_rna.c @@ -2598,7 +2598,6 @@ bool rna_property_override_apply_default(Main *UNUSED(bmain), IDP_CopyPropertyContent(item_idprop_dst, item_idprop_src); return RNA_property_collection_move(ptr_dst, prop_dst, item_index_added, item_index_dst); - break; } default: BLI_assert(0 && "Unsupported RNA override operation on collection"); |