diff --git a/Xext/dri2/dri2.c b/Xext/dri2/dri2.c index 6bf1f9f72..dee7b746c 100644 --- a/Xext/dri2/dri2.c +++ b/Xext/dri2/dri2.c @@ -956,9 +956,7 @@ void DRI2WaitMSCComplete(ClientPtr client, DrawablePtr pDraw, int frame, unsigned int tv_sec, unsigned int tv_usec) { - DRI2DrawablePtr pPriv; - - pPriv = DRI2GetDrawable(pDraw); + DRI2DrawablePtr pPriv = DRI2GetDrawable(pDraw); if (pPriv == NULL) return;