summaryrefslogtreecommitdiff
path: root/plugins/scale/src/scale.cpp
diff options
context:
space:
mode:
authorErkin Bahceci <erkinbah@gmail.com>2009-07-14 17:01:03 -0500
committerErkin Bahceci <erkinbah@gmail.com>2009-07-14 17:01:03 -0500
commit7bd88f8224b31f13d66c0973b5109e665600097d (patch)
treec3ea6fa694a35aeeec7c7a4f6fe574d02bbe0080 /plugins/scale/src/scale.cpp
parentcc702274d8e5da0cb606224f4d920d0beef4714c (diff)
downloadcompiz-with-glib-mainloop-7bd88f8224b31f13d66c0973b5109e665600097d.tar.gz
compiz-with-glib-mainloop-7bd88f8224b31f13d66c0973b5109e665600097d.tar.bz2
Fix some compiler warnings.
Diffstat (limited to 'plugins/scale/src/scale.cpp')
-rw-r--r--plugins/scale/src/scale.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/scale/src/scale.cpp b/plugins/scale/src/scale.cpp
index 334033c..c2f4665 100644
--- a/plugins/scale/src/scale.cpp
+++ b/plugins/scale/src/scale.cpp
@@ -480,7 +480,6 @@ PrivateScaleScreen::getSlotAreas ()
void
PrivateScaleScreen::layoutSlots ()
{
- int i;
int moMode;
moMode = getMultioutputMode ();
@@ -559,7 +558,7 @@ bool
PrivateScaleScreen::fillInWindows ()
{
CompWindow *w;
- int i, width, height;
+ int width, height;
float sx, sy, cx, cy;
foreach (ScaleWindow *sw, windows)