From 2701eb342b358da638b8c0f281c791c2b16b300b Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 25 Oct 2010 09:11:25 -0600 Subject: mesa: fix uninitialized var warning http://bugs.freedesktop.org/show_bug.cgi?id=31067 --- src/mesa/main/enable.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/main') diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c index af16c010b94..a038a95c55a 100644 --- a/src/mesa/main/enable.c +++ b/src/mesa/main/enable.c @@ -130,6 +130,7 @@ client_state(struct gl_context *ctx, GLenum cap, GLboolean state) goto invalid_enum_error; } var = &ctx->Array.PrimitiveRestart; + flag = 0; break; default: -- cgit v1.2.3