diff options
author | Vinson Lee <vlee@vmware.com> | 2009-12-15 13:04:25 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2009-12-15 13:04:25 -0800 |
commit | 7430c3ac35ed47227c47f8f5ed184e6e754ea5e7 (patch) | |
tree | c14772b022a32d69d9246aff6a6c79ae01b3d656 /src/mesa/drivers/dri | |
parent | f23d01e726a57cd6b8e31f1049ee5853773df7ea (diff) |
dri: Initialize variable in driBindContext.
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/common/dri_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c index da81ec9de5..547f18a009 100644 --- a/src/mesa/drivers/dri/common/dri_util.c +++ b/src/mesa/drivers/dri/common/dri_util.c @@ -167,7 +167,7 @@ static int driBindContext(__DRIcontext *pcp, __DRIdrawable *pdp, __DRIdrawable *prp) { - __DRIscreenPrivate *psp; + __DRIscreenPrivate *psp = NULL; /* Bind the drawable to the context */ |