summaryrefslogtreecommitdiff
path: root/mi/mivaltree.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-08-01 14:27:54 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-08-22 15:56:52 +1000
commit6fd2adc179141310e45a56ee90ef5b5f6115a1f6 (patch)
tree946c4f528de4e971363880a36d6dd3cdac3c32ad /mi/mivaltree.c
parent484cef5b29ef82402a15e155b3b8505b1e4a6830 (diff)
mi: fix compiler warnings ("foo" set but not used)
misprite.c: In function 'miSpriteSaveUnderCursor': misprite.c:940:12: warning: variable 'y' set but not used [-Wunused-but-set-variable] misprite.c:940:9: warning: variable 'x' set but not used [-Wunused-but-set-variable] mivaltree.c: In function 'miComputeClips': mivaltree.c:226:10: warning: variable 'resized' set but not used [-Wunused-but-set-variable] Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'mi/mivaltree.c')
-rw-r--r--mi/mivaltree.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mi/mivaltree.c b/mi/mivaltree.c
index 0e00c2fb5..e1d47c06f 100644
--- a/mi/mivaltree.c
+++ b/mi/mivaltree.c
@@ -223,7 +223,6 @@ miComputeClips (
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
@@ -378,7 +377,6 @@ miComputeClips (
}
borderVisible = pParent->valdata->before.borderVisible;
- resized = pParent->valdata->before.resized;
RegionNull(&pParent->valdata->after.borderExposed);
RegionNull(&pParent->valdata->after.exposed);