diff options
author | Adam Jackson <ajax@redhat.com> | 2011-02-08 14:52:49 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2011-02-23 13:39:03 -0500 |
commit | 303977fbcf9c641b7e19dfde192cef585f5b455c (patch) | |
tree | e13b9c132a146d1b2f6486e208a78f6755ebeccb /hw | |
parent | 405ad0610d6e2f4606768294b655ac52aee9ae58 (diff) |
glxproxy: warning fix
glxvendor.c: In function ‘__glXVForwardPipe0WithReply’:
glxvendor.c:205:10: warning: ‘be_buf’ may be used uninitialized in this function
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/dmx/glxProxy/glxvendor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dmx/glxProxy/glxvendor.c b/hw/dmx/glxProxy/glxvendor.c index 1d7b1990b..0b6ba4134 100644 --- a/hw/dmx/glxProxy/glxvendor.c +++ b/hw/dmx/glxProxy/glxvendor.c @@ -202,7 +202,7 @@ int __glXVForwardPipe0WithReply( __GLXclientState *cl, GLbyte *pc ) xGLXVendorPrivReply be_reply; __GLXcontext *glxc; int buf_size; - char *be_buf; + char *be_buf = NULL; int be_buf_size; DMXScreenInfo *dmxScreen; Display *dpy; |