mirror of
https://github.com/brl/mutter.git
synced 2025-07-02 17:21:57 +00:00
Fix set but not used variables
GCC 4.6 warns about variables that are set but never subsequently used; fix all such instances. https://bugzilla.gnome.org/show_bug.cgi?id=640469
This commit is contained in:
@ -340,7 +340,6 @@ meta_rectangle_resize_with_gravity (const MetaRectangle *old_rect,
|
||||
*/
|
||||
|
||||
/* First, the x direction */
|
||||
int adjust = 0;
|
||||
switch (gravity)
|
||||
{
|
||||
case NorthWestGravity:
|
||||
@ -373,7 +372,6 @@ meta_rectangle_resize_with_gravity (const MetaRectangle *old_rect,
|
||||
rect->width = new_width;
|
||||
|
||||
/* Next, the y direction */
|
||||
adjust = 0;
|
||||
switch (gravity)
|
||||
{
|
||||
case NorthWestGravity:
|
||||
|
Reference in New Issue
Block a user