Cleanup: remove break after return statements

This commit is contained in:
Campbell Barton 2020-11-18 13:35:26 +11:00
parent 88512646c0
commit bbdfeb751e
4 changed files with 0 additions and 4 deletions

View File

@ -148,7 +148,6 @@ bGPdata **ED_annotation_data_get_pointers_direct(ID *screen_id,
case SPACE_INFO: /* header info */
{
return NULL;
break;
}
case SPACE_TOPBAR: /* Top-bar */

View File

@ -299,7 +299,6 @@ static int eyedropper_gpencil_modal(bContext *C, wmOperator *op, const wmEvent *
eyedropper_gpencil_exit(C, op);
return OPERATOR_FINISHED;
break;
}
default: {
break;

View File

@ -197,7 +197,6 @@ static char *rna_PointCache_path(PointerRNA *ptr)
}
default: {
return BLI_sprintfN("modifiers[\"%s\"].point_cache", name_esc);
break;
}
}
}

View File

@ -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");