diff options
author | Keith Whitwell <keithw@vmware.com> | 2009-05-06 20:41:17 +0100 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2009-05-08 10:04:13 +0100 |
commit | 48c7aa2648877efab4aac45b50ee2a4c79178536 (patch) | |
tree | c21f77d1231e5f05566a46f638469bdc1f631582 | |
parent | 26ffd445861f405e295644df1cbac29458a6054f (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; |