[Bf-blender-cvs] [6781fac42e9] blender2.8: Cleanup: warning

Campbell Barton noreply at git.blender.org
Tue May 22 16:12:52 CEST 2018


Commit: 6781fac42e91c607910f2ff6b04a805d49a35107
Author: Campbell Barton
Date:   Tue May 22 16:12:30 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB6781fac42e91c607910f2ff6b04a805d49a35107

Cleanup: warning

===================================================================

M	source/blender/editors/transform/transform_manipulator_3d.c
M	source/blender/makesrna/intern/rna_workspace_api.c
M	source/blender/windowmanager/intern/wm_toolsystem.c

===================================================================

diff --git a/source/blender/editors/transform/transform_manipulator_3d.c b/source/blender/editors/transform/transform_manipulator_3d.c
index 27bfb7fcf34..863ec1af15b 100644
--- a/source/blender/editors/transform/transform_manipulator_3d.c
+++ b/source/blender/editors/transform/transform_manipulator_3d.c
@@ -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 = {
diff --git a/source/blender/makesrna/intern/rna_workspace_api.c b/source/blender/makesrna/intern/rna_workspace_api.c
index e56d9a0bc33..81606dfba4a 100644
--- a/source/blender/makesrna/intern/rna_workspace_api.c
+++ b/source/blender/makesrna/intern/rna_workspace_api.c
@@ -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
diff --git a/source/blender/windowmanager/intern/wm_toolsystem.c b/source/blender/windowmanager/intern/wm_toolsystem.c
index 3d9c6d88d2c..f07e6d00d19 100644
--- a/source/blender/windowmanager/intern/wm_toolsystem.c
+++ b/source/blender/windowmanager/intern/wm_toolsystem.c
@@ -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);
 	}



More information about the Bf-blender-cvs mailing list