[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [22542] branches/blender2.5/blender/source /blender/editors: 2.5:

Nicholas Bishop nicholasbishop at gmail.com
Mon Aug 17 01:06:16 CEST 2009


Revision: 22542
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=22542
Author:   nicholasbishop
Date:     2009-08-17 01:06:16 +0200 (Mon, 17 Aug 2009)

Log Message:
-----------
2.5:

* Fixed a few warnings (unused vars, missing forward struct)

Modified Paths:
--------------
    branches/blender2.5/blender/source/blender/editors/include/ED_anim_api.h
    branches/blender2.5/blender/source/blender/editors/space_nla/nla_draw.c

Modified: branches/blender2.5/blender/source/blender/editors/include/ED_anim_api.h
===================================================================
--- branches/blender2.5/blender/source/blender/editors/include/ED_anim_api.h	2009-08-16 22:53:15 UTC (rev 22541)
+++ branches/blender2.5/blender/source/blender/editors/include/ED_anim_api.h	2009-08-16 23:06:16 UTC (rev 22542)
@@ -46,6 +46,8 @@
 struct FCurve;
 struct FModifier;
 
+struct uiBlock;
+
 /* ************************************************ */
 /* ANIMATION CHANNEL FILTERING */
 /* anim_filter.c */

Modified: branches/blender2.5/blender/source/blender/editors/space_nla/nla_draw.c
===================================================================
--- branches/blender2.5/blender/source/blender/editors/space_nla/nla_draw.c	2009-08-16 22:53:15 UTC (rev 22541)
+++ branches/blender2.5/blender/source/blender/editors/space_nla/nla_draw.c	2009-08-16 23:06:16 UTC (rev 22542)
@@ -845,7 +845,7 @@
 	int filter;
 	
 	View2D *v2d= &ar->v2d;
-	float x= 0.0f, y= 0.0f;
+	float y= 0.0f;
 	int items, height;
 	
 	/* build list of channels to draw */
@@ -879,7 +879,6 @@
 		for (ale= anim_data.first; ale; ale= ale->next) {
 			const float yminc= (float)(y - NLACHANNEL_HEIGHT_HALF);
 			const float ymaxc= (float)(y + NLACHANNEL_HEIGHT_HALF);
-			const float ydatac= (float)(y - 7);
 			
 			/* check if visible */
 			if ( IN_RANGE(yminc, v2d->cur.ymin, v2d->cur.ymax) ||





More information about the Bf-blender-cvs mailing list