summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-10-25 09:11:25 -0600
committerBrian Paul <[email protected]>2010-10-25 09:11:26 -0600
commit2701eb342b358da638b8c0f281c791c2b16b300b (patch)
tree88ece377ee624e0bf65ed6ca17f05ae4863fcbd4 /src
parentf72e4b306bb26b067b46f2d7561aabeb6f3f4be0 (diff)
mesa: fix uninitialized var warning
http://bugs.freedesktop.org/show_bug.cgi?id=31067
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/enable.c1
1 files changed, 1 insertions, 0 deletions
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: