Cleanup: warning

This commit is contained in:
Campbell Barton 2018-05-22 16:12:30 +02:00
parent ab19609233
commit 6781fac42e
3 changed files with 3 additions and 3 deletions

@ -1131,7 +1131,7 @@ static void manipulator_line_range(const int twtype, const short axis_type, floa
static void manipulator_xform_message_subscribe(
wmManipulatorGroup *mgroup, struct wmMsgBus *mbus,
Scene *scene, bScreen *UNUSED(screen), ScrArea *sa, ARegion *ar, const void *type_fn)
Scene *scene, bScreen *UNUSED(screen), ScrArea *UNUSED(sa), ARegion *ar, const void *type_fn)
{
/* Subscribe to view properties */
wmMsgSubscribeValue msg_sub_value_mpr_tag_refresh = {

@ -114,7 +114,7 @@ void RNA_api_workspace_tool(StructRNA *srna)
parm = RNA_def_pointer(func, "result", "OperatorProperties", "", "");
RNA_def_parameter_flags(parm, PROP_NEVER_NULL, PARM_RNAPTR);
RNA_def_function_return(func, parm);
}
#endif

@ -282,7 +282,7 @@ void WM_toolsystem_ref_set_from_runtime(
const bToolRef_Runtime *tref_rt, const char *idname)
{
Main *bmain = CTX_data_main(C);
if (tref->runtime) {
toolsystem_unlink_ref(C, workspace, tref);
}