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 10:04:13 +0100
commit48c7aa2648877efab4aac45b50ee2a4c79178536 (patch)
treec21f77d1231e5f05566a46f638469bdc1f631582
parent26ffd445861f405e295644df1cbac29458a6054f (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;