rootless: Dead code removal
Found by clang static analyzer Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
parent
bb4d145bd2
commit
2098cb03c6
|
@ -453,7 +453,6 @@ RootlessMarkOverlappedWindows(WindowPtr pWin, WindowPtr pFirst,
|
|||
pChild = pChild->nextSib;
|
||||
}
|
||||
anyMarked = TRUE;
|
||||
pFirst = pFirst->nextSib;
|
||||
}
|
||||
if (anyMarked)
|
||||
(* MarkWindow)(pWin->parent);
|
||||
|
|
|
@ -200,7 +200,6 @@ RootlessComputeClips (WindowPtr pParent, ScreenPtr pScreen,
|
|||
RegionRec childUnion;
|
||||
Bool overlap;
|
||||
RegionPtr borderVisible;
|
||||
Bool resized;
|
||||
/*
|
||||
* Figure out the new visibility of this window.
|
||||
* 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;
|
||||
resized = pParent->valdata->before.resized;
|
||||
RegionNull(&pParent->valdata->after.borderExposed);
|
||||
RegionNull(&pParent->valdata->after.exposed);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user