From c6cca6a3b8f3572687544514be52fb400e578878 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Mon, 27 Dec 2004 22:57:05 +0000 Subject: Fix read-from-uninitialized in s3vMakeCurrent() --- src/mesa/drivers/dri/s3v/s3v_xmesa.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa') diff --git a/src/mesa/drivers/dri/s3v/s3v_xmesa.c b/src/mesa/drivers/dri/s3v/s3v_xmesa.c index ee59eaff095..84072b14716 100644 --- a/src/mesa/drivers/dri/s3v/s3v_xmesa.c +++ b/src/mesa/drivers/dri/s3v/s3v_xmesa.c @@ -172,6 +172,7 @@ s3vMakeCurrent(__DRIcontextPrivate *driContextPriv, s3vContextPtr vmesa; __DRIdrawablePrivate *dPriv = driDrawPriv; + vmesa = (s3vContextPtr) dPriv->driContextPriv->driverPrivate; DEBUG(("s3vMakeCurrent\n")); -- cgit v1.2.3