[Bf-blender-cvs] [4332edcc3e3] blender2.8: Cleanup: warning

Campbell Barton noreply at git.blender.org
Thu May 10 20:33:06 CEST 2018


Commit: 4332edcc3e311337bc31a6f5de881a77264d52f2
Author: Campbell Barton
Date:   Thu May 10 20:30:45 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB4332edcc3e311337bc31a6f5de881a77264d52f2

Cleanup: warning

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

M	source/blender/editors/animation/anim_draw.c

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

diff --git a/source/blender/editors/animation/anim_draw.c b/source/blender/editors/animation/anim_draw.c
index 909d8a44615..475623b1048 100644
--- a/source/blender/editors/animation/anim_draw.c
+++ b/source/blender/editors/animation/anim_draw.c
@@ -77,8 +77,6 @@ void ANIM_draw_cfra_number(const bContext *C, View2D *v2d, short flag)
 	const bool show_time = (flag & DRAWCFRA_UNIT_SECONDS) != 0;
 	
 	const uiFontStyle *fstyle = UI_FSTYLE_WIDGET;
-	Gwn_VertFormat *format = immVertexFormat();
-	unsigned int pos = GWN_vertformat_attr_add(format, "pos", GWN_COMP_F32, 2, GWN_FETCH_FLOAT);
 	unsigned char col[4];
 	float color[4];
 	float xscale, x, y;



More information about the Bf-blender-cvs mailing list