From 3c4987f98378d44eda133311c65aa19412e4cd38 Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Sat, 8 Dec 2012 22:24:41 +0000 Subject: Fix for a number of compiler warnings as well as a bug hidden by the warnings. Patch contribution by Bastien Montagne, thanks! --- source/blender/editors/animation/anim_channels_defines.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/animation/anim_channels_defines.c') diff --git a/source/blender/editors/animation/anim_channels_defines.c b/source/blender/editors/animation/anim_channels_defines.c index c353b64607d..3153cc72562 100644 --- a/source/blender/editors/animation/anim_channels_defines.c +++ b/source/blender/editors/animation/anim_channels_defines.c @@ -2014,13 +2014,13 @@ static bAnimChannelType ACF_DSNTREE = /* LineStyle Expander ------------------------------------------- */ // TODO: just get this from RNA? -static int acf_dslinestyle_icon(bAnimListElem *ale) +static int acf_dslinestyle_icon(bAnimListElem *UNUSED(ale)) { return ICON_BRUSH_DATA; /* FIXME */ } /* get the appropriate flag(s) for the setting when it is valid */ -static int acf_dslinestyle_setting_flag(bAnimContext *ac, int setting, short *neg) +static int acf_dslinestyle_setting_flag(bAnimContext *UNUSED(ac), int setting, short *neg) { /* clear extra return data first */ *neg= 0; -- cgit v1.2.3