[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [35310] trunk/blender/source/blender/ editors/transform/transform_conversions.c: tag unused var
Campbell Barton
ideasman42 at gmail.com
Wed Mar 2 20:06:09 CET 2011
Revision: 35310
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=35310
Author: campbellbarton
Date: 2011-03-02 19:06:09 +0000 (Wed, 02 Mar 2011)
Log Message:
-----------
tag unused var
Modified Paths:
--------------
trunk/blender/source/blender/editors/transform/transform_conversions.c
Modified: trunk/blender/source/blender/editors/transform/transform_conversions.c
===================================================================
--- trunk/blender/source/blender/editors/transform/transform_conversions.c 2011-03-02 18:59:43 UTC (rev 35309)
+++ trunk/blender/source/blender/editors/transform/transform_conversions.c 2011-03-02 19:06:09 UTC (rev 35310)
@@ -3543,7 +3543,7 @@
}
/* This function firstly adjusts the pointers that the transdata has to each BezTriple */
-static void beztmap_to_data (TransInfo *t, FCurve *fcu, BeztMap *bezms, int totvert, const short use_handle)
+static void beztmap_to_data (TransInfo *t, FCurve *fcu, BeztMap *bezms, int totvert, const short UNUSED(use_handle))
{
BezTriple *bezts = fcu->bezt;
BeztMap *bezm;
@@ -3639,6 +3639,7 @@
BeztMap *bezm;
/* adjust transform-data pointers */
+ /* note, none of these functions use 'use_handle', it could be removed */
bezm= bezt_to_beztmaps(fcu->bezt, fcu->totvert, use_handle);
sort_time_beztmaps(bezm, fcu->totvert, use_handle);
beztmap_to_data(t, fcu, bezm, fcu->totvert, use_handle);
More information about the Bf-blender-cvs
mailing list