[Bf-blender-cvs] [d23c57b84c] blender2.8: fix unused var warnings

Mike Erwin noreply at git.blender.org
Tue Feb 7 05:25:02 CET 2017


Commit: d23c57b84cbb7d3a58ce2b405a2b1698c185bf00
Author: Mike Erwin
Date:   Mon Feb 6 23:19:52 2017 -0500
Branches: blender2.8
https://developer.blender.org/rBd23c57b84cbb7d3a58ce2b405a2b1698c185bf00

fix unused var warnings

follow-up to earlier patch

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

M	source/blender/editors/space_clip/clip_dopesheet_draw.c

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

diff --git a/source/blender/editors/space_clip/clip_dopesheet_draw.c b/source/blender/editors/space_clip/clip_dopesheet_draw.c
index 19007702f9..4125df155d 100644
--- a/source/blender/editors/space_clip/clip_dopesheet_draw.c
+++ b/source/blender/editors/space_clip/clip_dopesheet_draw.c
@@ -83,8 +83,7 @@ static void draw_keyframe_shape(float x, float y, float xscale, float yscale, bo
 		{0.0f, -1.0f},  /* bottom vert */
 		{-1.0f, 0.0f}   /* mid-left */
 	};
-	static GLuint displist1 = 0;
-	static GLuint displist2 = 0;
+
 	int hsize = STRIP_HEIGHT_HALF;
 	
 	VertexFormat *format = immVertexFormat();




More information about the Bf-blender-cvs mailing list