kdrive/ephyr: Remove extra 'i' variable in ProcXF86DRIGetDrawableInfo
authorKeith Packard <keithp@keithp.com>
Sun, 12 Jan 2014 18:42:01 +0000 (10:42 -0800)
committerKeith Packard <keithp@keithp.com>
Thu, 23 Jan 2014 03:56:32 +0000 (19:56 -0800)
Just re-use the top-level one

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
hw/kdrive/ephyr/ephyrdriext.c

index e2b33db..8368d12 100644 (file)
@@ -1098,7 +1098,6 @@ ProcXF86DRIGetDrawableInfo(register ClientPtr client)
     if (rep.numClipRects) {
         if (clipRects) {
             ScreenPtr pScreen = screenInfo.screens[stuff->screen];
-            int i = 0;
 
             EPHYR_LOG("clip list of host gl drawable:\n");
             for (i = 0; i < rep.numClipRects; i++) {