[Bf-blender-cvs] [e2573ae] master: Compilation error fix for strict compiler flags

Sergey Sharybin noreply at git.blender.org
Sun Feb 15 19:13:31 CET 2015


Commit: e2573aea9b5607fd068bbe1dbe5bd7f8a995c5ad
Author: Sergey Sharybin
Date:   Sun Feb 15 23:12:54 2015 +0500
Branches: master
https://developer.blender.org/rBe2573aea9b5607fd068bbe1dbe5bd7f8a995c5ad

Compilation error fix for strict compiler flags

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

M	source/blender/editors/space_outliner/outliner_draw.c
M	source/blender/editors/space_outliner/outliner_edit.c

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

diff --git a/source/blender/editors/space_outliner/outliner_draw.c b/source/blender/editors/space_outliner/outliner_draw.c
index 7bd571a..9fd763d 100644
--- a/source/blender/editors/space_outliner/outliner_draw.c
+++ b/source/blender/editors/space_outliner/outliner_draw.c
@@ -447,7 +447,7 @@ static void restrictbutton_gr_restrict_render(bContext *C, void *poin, void *poi
 	WM_event_add_notifier(C, NC_GROUP, NULL);
 }
 
-static void restrictbutton_id_user_toggle(bContext *C, void *poin, void *UNUSED(poin2))
+static void restrictbutton_id_user_toggle(bContext *UNUSED(C), void *poin, void *UNUSED(poin2))
 {
 	ID *id = (ID *)poin;
 	
diff --git a/source/blender/editors/space_outliner/outliner_edit.c b/source/blender/editors/space_outliner/outliner_edit.c
index b865f33..020bd48 100644
--- a/source/blender/editors/space_outliner/outliner_edit.c
+++ b/source/blender/editors/space_outliner/outliner_edit.c
@@ -1482,7 +1482,7 @@ static int outliner_orphans_purge_invoke(bContext *C, wmOperator *op, const wmEv
 	                                   "Click here to proceed...");
 }
 
-static int outliner_orphans_purge_exec(bContext *C, wmOperator *op)
+static int outliner_orphans_purge_exec(bContext *C, wmOperator *UNUSED(op))
 {
 	/* Firstly, ensure that the file has been saved,
 	 * so that the latest changes since the last save




More information about the Bf-blender-cvs mailing list