[PATCH 03/14] xephyr: Fix -Wshadow warning
Adam Jackson
ajax at redhat.com
Fri Dec 13 15:05:41 PST 2013
Just a junk variable, the one in containing scope is fine to reuse.
Signed-off-by: Adam Jackson <ajax at redhat.com>
---
hw/kdrive/ephyr/ephyrdriext.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/hw/kdrive/ephyr/ephyrdriext.c b/hw/kdrive/ephyr/ephyrdriext.c
index e2b33db..8368d12 100644
--- a/hw/kdrive/ephyr/ephyrdriext.c
+++ b/hw/kdrive/ephyr/ephyrdriext.c
@@ -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++) {
--
1.8.4.2
More information about the xorg-devel
mailing list