mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 01:34:11 +00:00
dri2: declare variables where needed in DRI2BlockClient()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
654b491d58
commit
a21c9ef420
@@ -750,9 +750,7 @@ DRI2ThrottleClient(ClientPtr client, DrawablePtr pDraw)
|
||||
void
|
||||
DRI2BlockClient(ClientPtr client, DrawablePtr pDraw)
|
||||
{
|
||||
DRI2DrawablePtr pPriv;
|
||||
|
||||
pPriv = DRI2GetDrawable(pDraw);
|
||||
DRI2DrawablePtr pPriv = DRI2GetDrawable(pDraw);
|
||||
if (pPriv == NULL)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user