diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2011-04-23 23:27:16 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2011-04-25 18:57:01 -0700 |
commit | 2098cb03c6b64bfca7694fc2b5213edb77bc12e4 (patch) | |
tree | 9ae073499c258b88e2091664d3fea856b2ff11fa /miext | |
parent | bb4d145bd25e2aee988b100ecf1105ea3b6a40b8 (diff) |
rootless: Dead code removal
Found by clang static analyzer
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'miext')
-rw-r--r-- | miext/rootless/rootlessScreen.c | 1 | ||||
-rw-r--r-- | miext/rootless/rootlessValTree.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/miext/rootless/rootlessScreen.c b/miext/rootless/rootlessScreen.c index 510d6fdb1..df8d9459c 100644 --- a/miext/rootless/rootlessScreen.c +++ b/miext/rootless/rootlessScreen.c @@ -453,7 +453,6 @@ RootlessMarkOverlappedWindows(WindowPtr pWin, WindowPtr pFirst, pChild = pChild->nextSib; } anyMarked = TRUE; - pFirst = pFirst->nextSib; } if (anyMarked) (* MarkWindow)(pWin->parent); diff --git a/miext/rootless/rootlessValTree.c b/miext/rootless/rootlessValTree.c index d242600be..9aa881423 100644 --- a/miext/rootless/rootlessValTree.c +++ b/miext/rootless/rootlessValTree.c @@ -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); |