Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-05-22 17:12:30 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-05-22 17:12:41 +0300
commit6781fac42e91c607910f2ff6b04a805d49a35107 (patch)
tree1aa50cc08451a00eec8d05e67f1c718ec905d411 /source
parentab196092332e1108b220e1c0c3499f581ee694ae (diff)
Cleanup: warning
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/transform/transform_manipulator_3d.c2
-rw-r--r--source/blender/makesrna/intern/rna_workspace_api.c2
-rw-r--r--source/blender/windowmanager/intern/wm_toolsystem.c2
3 files changed, 3 insertions, 3 deletions
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);
}