summaryrefslogtreecommitdiff
path: root/src/core/boxes.c
diff options
context:
space:
mode:
authorSteve Zesch <[email protected]>2012-11-20 20:57:16 -0800
committerSteve Zesch <[email protected]>2012-11-20 20:57:16 -0800
commit3ba516419041962944da9f9bdf0cb55810a2ad02 (patch)
tree620d5fa2f8be7c9a65313c6a238cc349e6faaad4 /src/core/boxes.c
parentd72b5f2a0bbd035a98979c3519de90a194f67e05 (diff)
parent3c82397d3fdbbaa8d1614a6f5eeeaad4ef20d3f6 (diff)
downloadmarco-3ba516419041962944da9f9bdf0cb55810a2ad02.tar.bz2
marco-3ba516419041962944da9f9bdf0cb55810a2ad02.tar.xz
Merge pull request #26 from sbalneav/master
Deprecations and warnings
Diffstat (limited to 'src/core/boxes.c')
-rw-r--r--src/core/boxes.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/boxes.c b/src/core/boxes.c
index dad6b470..877fa458 100644
--- a/src/core/boxes.c
+++ b/src/core/boxes.c
@@ -311,7 +311,6 @@ meta_rectangle_resize_with_gravity (const MetaRectangle *old_rect,
*/
/* First, the x direction */
- int adjust = 0;
switch (gravity)
{
case NorthWestGravity:
@@ -344,7 +343,6 @@ meta_rectangle_resize_with_gravity (const MetaRectangle *old_rect,
rect->width = new_width;
/* Next, the y direction */
- adjust = 0;
switch (gravity)
{
case NorthWestGravity: