summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-05-06 20:41:17 +0100
committerKeith Whitwell <keithw@vmware.com>2009-05-08 14:57:29 +0100
commitee7982718685cd2398a895caf5e7cd90b6ee12f9 (patch)
tree2b1c37446b751b0c3afa2391bd9b5855e3d78f19
parentd5eac43a2e06ff30f9e6f74e49493ef5d64cd309 (diff)
stw: fix potential uninitialized use of curctx
-rw-r--r--src/gallium/state_trackers/wgl/shared/stw_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/wgl/shared/stw_context.c b/src/gallium/state_trackers/wgl/shared/stw_context.c
index b61f74f69b..dd97e48b14 100644
--- a/src/gallium/state_trackers/wgl/shared/stw_context.c
+++ b/src/gallium/state_trackers/wgl/shared/stw_context.c
@@ -348,7 +348,7 @@ stw_make_current(
struct stw_framebuffer *fb;
GLuint width = 0;
GLuint height = 0;
- struct stw_context *curctx;
+ struct stw_context *curctx = NULL;
if (!stw_dev)
return FALSE;