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;
|
pChild = pChild->nextSib;
|
||||||
}
|
}
|
||||||
anyMarked = TRUE;
|
anyMarked = TRUE;
|
||||||
pFirst = pFirst->nextSib;
|
|
||||||
}
|
}
|
||||||
if (anyMarked)
|
if (anyMarked)
|
||||||
(* MarkWindow)(pWin->parent);
|
(* MarkWindow)(pWin->parent);
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user