From dfc30d12292987cde384d999a52a9d52d13bdb2c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 10 Nov 2011 12:28:26 +0000 Subject: quiet some warnings from recent merge --- source/blender/editors/physics/dynamicpaint_ops.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'source/blender/editors/physics/dynamicpaint_ops.c') diff --git a/source/blender/editors/physics/dynamicpaint_ops.c b/source/blender/editors/physics/dynamicpaint_ops.c index 888b5af01bb..550da63d7aa 100644 --- a/source/blender/editors/physics/dynamicpaint_ops.c +++ b/source/blender/editors/physics/dynamicpaint_ops.c @@ -24,6 +24,7 @@ #include "BLI_blenlib.h" #include "BLI_string.h" +#include "BLI_utildefines.h" #include "DNA_dynamicpaint_types.h" #include "DNA_modifier_types.h" @@ -52,7 +53,7 @@ #include "WM_types.h" #include "WM_api.h" -static int surface_slot_add_exec(bContext *C, wmOperator *op) +static int surface_slot_add_exec(bContext *C, wmOperator *UNUSED(op)) { DynamicPaintModifierData *pmd = 0; Object *cObject = CTX_data_pointer_get_type(C, "object", &RNA_Object).data; @@ -94,7 +95,7 @@ void DPAINT_OT_surface_slot_add(wmOperatorType *ot) ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; } -static int surface_slot_remove_exec(bContext *C, wmOperator *op) +static int surface_slot_remove_exec(bContext *C, wmOperator *UNUSED(op)) { DynamicPaintModifierData *pmd = 0; Object *cObject = CTX_data_pointer_get_type(C, "object", &RNA_Object).data; @@ -418,4 +419,4 @@ void DPAINT_OT_bake(wmOperatorType *ot) /* api callbacks */ ot->exec= dynamicpaint_bake_exec; ot->poll= ED_operator_object_active_editable; -} \ No newline at end of file +} -- cgit v1.2.3