[Bf-blender-cvs] [fcc086a] master: Cleanup: unused args

Campbell Barton noreply at git.blender.org
Sat Mar 28 15:26:37 CET 2015


Commit: fcc086a92be9659b567a1ae8e91806700784dae9
Author: Campbell Barton
Date:   Sun Mar 29 01:25:47 2015 +1100
Branches: master
https://developer.blender.org/rBfcc086a92be9659b567a1ae8e91806700784dae9

Cleanup: unused args

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

M	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 71ace82..7eb32d4 100644
--- a/source/blender/editors/animation/anim_channels_defines.c
+++ b/source/blender/editors/animation/anim_channels_defines.c
@@ -1045,13 +1045,13 @@ static void acf_nla_controls_backdrop(bAnimContext *ac, bAnimListElem *ale, floa
 }
 
 /* name for nla controls expander entries */
-static void acf_nla_controls_name(bAnimListElem *ale, char *name)
+static void acf_nla_controls_name(bAnimListElem *UNUSED(ale), char *name)
 {
 	BLI_strncpy(name, IFACE_("NLA Strip Controls"), ANIM_CHAN_NAME_SIZE);
 }
 
 /* check if some setting exists for this channel */
-static bool acf_nla_controls_setting_valid(bAnimContext *ac, bAnimListElem *UNUSED(ale), eAnimChannel_Settings setting)
+static bool acf_nla_controls_setting_valid(bAnimContext *UNUSED(ac), bAnimListElem *UNUSED(ale), eAnimChannel_Settings setting)
 {
 	/* for now, all settings are supported, though some are only conditionally */
 	switch (setting) {
@@ -1067,7 +1067,7 @@ static bool acf_nla_controls_setting_valid(bAnimContext *ac, bAnimListElem *UNUS
 }
 
 /* get the appropriate flag(s) for the setting when it is valid  */
-static int acf_nla_controls_setting_flag(bAnimContext *ac, eAnimChannel_Settings setting, bool *neg)
+static int acf_nla_controls_setting_flag(bAnimContext *UNUSED(ac), eAnimChannel_Settings setting, bool *neg)
 {
 	/* clear extra return data first */
 	*neg = false;




More information about the Bf-blender-cvs mailing list