From: Brian Paul Date: Mon, 25 Oct 2010 15:11:25 +0000 (-0600) Subject: mesa: fix uninitialized var warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2701eb342b358da638b8c0f281c791c2b16b300b;p=mesa.git mesa: fix uninitialized var warning http://bugs.freedesktop.org/show_bug.cgi?id=31067 --- 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: