summaryrefslogtreecommitdiff
path: root/hw/dmx
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2011-02-08 14:47:05 -0500
committerAdam Jackson <ajax@redhat.com>2011-02-23 13:39:03 -0500
commita4cd2e0da6415ec1b3b182579bebbe2a41f29d30 (patch)
tree70b480d9a41822e8c353ec2103ffa54a8decbfcd /hw/dmx
parentf928caca6e60215bc9ab423acae5542dfabc9bec (diff)
glxproxy: warning fix
glxsingle.c: In function ‘__glXForwardPipe0WithReply’: glxsingle.c:218: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/dmx')
-rw-r--r--hw/dmx/glxProxy/glxsingle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dmx/glxProxy/glxsingle.c b/hw/dmx/glxProxy/glxsingle.c
index cc7b408c5..33cc612a7 100644
--- a/hw/dmx/glxProxy/glxsingle.c
+++ b/hw/dmx/glxProxy/glxsingle.c
@@ -215,7 +215,7 @@ int __glXForwardPipe0WithReply( __GLXclientState *cl, GLbyte *pc )
xGLXSingleReply be_reply;
__GLXcontext *glxc;
int buf_size;
- char *be_buf;
+ char *be_buf = NULL;
int be_buf_size;
DMXScreenInfo *dmxScreen;
Display *dpy;