Cleanup: remove break after return statements
This commit is contained in:
parent
88512646c0
commit
bbdfeb751e
|
@ -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 */
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -197,7 +197,6 @@ static char *rna_PointCache_path(PointerRNA *ptr)
|
|||
}
|
||||
default: {
|
||||
return BLI_sprintfN("modifiers[\"%s\"].point_cache", name_esc);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue