diff options
author | Keith Whitwell <keithw@vmware.com> | 2009-05-06 20:41:17 +0100 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2009-05-08 14:57:29 +0100 |
commit | ee7982718685cd2398a895caf5e7cd90b6ee12f9 (patch) | |
tree | 2b1c37446b751b0c3afa2391bd9b5855e3d78f19 | |
parent | d5eac43a2e06ff30f9e6f74e49493ef5d64cd309 (diff) |
stw: fix potential uninitialized use of curctx
-rw-r--r-- | src/gallium/state_trackers/wgl/shared/stw_context.c | 2 |
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; |