From: Vinson Lee Date: Tue, 15 Dec 2009 21:04:25 +0000 (-0800) Subject: dri: Initialize variable in driBindContext. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7430c3ac35ed47227c47f8f5ed184e6e754ea5e7;p=mesa.git dri: Initialize variable in driBindContext. --- diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c index da81ec9de51..547f18a009e 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 */