rootless: Dead code removal

Found by clang static analyzer

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
Jeremy Huddleston 2011-04-23 23:27:16 -07:00
parent bb4d145bd2
commit 2098cb03c6
2 changed files with 0 additions and 3 deletions

View File

@ -453,7 +453,6 @@ RootlessMarkOverlappedWindows(WindowPtr pWin, WindowPtr pFirst,
pChild = pChild->nextSib; pChild = pChild->nextSib;
} }
anyMarked = TRUE; anyMarked = TRUE;
pFirst = pFirst->nextSib;
} }
if (anyMarked) if (anyMarked)
(* MarkWindow)(pWin->parent); (* MarkWindow)(pWin->parent);

View File

@ -200,7 +200,6 @@ RootlessComputeClips (WindowPtr pParent, ScreenPtr pScreen,
RegionRec childUnion; RegionRec childUnion;
Bool overlap; Bool overlap;
RegionPtr borderVisible; RegionPtr borderVisible;
Bool resized;
/* /*
* Figure out the new visibility of this window. * Figure out the new visibility of this window.
* The extent of the universe should be the same as the extent of * The extent of the universe should be the same as the extent of
@ -340,7 +339,6 @@ RootlessComputeClips (WindowPtr pParent, ScreenPtr pScreen,
} }
borderVisible = pParent->valdata->before.borderVisible; borderVisible = pParent->valdata->before.borderVisible;
resized = pParent->valdata->before.resized;
RegionNull(&pParent->valdata->after.borderExposed); RegionNull(&pParent->valdata->after.borderExposed);
RegionNull(&pParent->valdata->after.exposed); RegionNull(&pParent->valdata->after.exposed);