From 3a299071d41d2e45adba4aebab53ab1391176585 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Sun, 14 Feb 2010 00:56:57 -0800 Subject: r300: Silence uninitialized variable warning. --- src/mesa/drivers/dri/r300/r300_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa') diff --git a/src/mesa/drivers/dri/r300/r300_draw.c b/src/mesa/drivers/dri/r300/r300_draw.c index 4ae0d6fe48f..3efa0e3a163 100644 --- a/src/mesa/drivers/dri/r300/r300_draw.c +++ b/src/mesa/drivers/dri/r300/r300_draw.c @@ -332,7 +332,7 @@ static void r300TranslateAttrib(GLcontext *ctx, GLuint attr, int count, const st { r300ContextPtr r300 = R300_CONTEXT(ctx); struct r300_vertex_buffer *vbuf = &r300->vbuf; - struct vertex_attribute r300_attr; + struct vertex_attribute r300_attr = { 0 }; GLenum type; GLuint stride; -- cgit v1.2.3