mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-27 11:40:06 +01:00
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
2 changed files with 0 additions and 3 deletions
|
|
@ -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…
Add table
Reference in a new issue