[fusion-commits] compiz mirror: Changes to 'master' (b309709171113c7c8b6bb4fe2e3408364bf81feb)

compiz at server.beryl-project.org compiz at server.beryl-project.org
Wed Jul 18 16:08:04 CEST 2007


New commits:
commit b309709171113c7c8b6bb4fe2e3408364bf81feb
Author: Roland Baer <roland at Vista.(none)>
Date:   Wed Jul 18 15:44:27 2007 +0300

    Removed unused variables


 plugins/scale.c |    2 --
 plugins/zoom.c  |    3 +--
 2 files changed, 1 insertions(+), 4 deletions(-)


Modified: compiz/plugins/scale.c
===================================================================
--- compiz/plugins/scale.c
+++ compiz/plugins/scale.c
@@ -558,12 +558,10 @@ static void
 layoutSlots (CompScreen *s)
 {
     int i;
-    int spacing;
     int moMode;
 
     SCALE_SCREEN (s);
 
-    spacing = ss->opt[SCALE_SCREEN_OPTION_SPACING].value.i;
     moMode  = ss->opt[SCALE_SCREEN_OPTION_MULTIOUTPUT_MODE].value.i;
 
     /* if we have only one head, we don't need the 

Modified: compiz/plugins/zoom.c
===================================================================
--- compiz/plugins/zoom.c
+++ compiz/plugins/zoom.c
@@ -215,13 +215,12 @@ zoomPreparePaintScreen (CompScreen *s,
     if (zs->adjust)
     {
 	int   steps;
-	float amount, chunk;
+	float amount;
 
 	amount = msSinceLastPaint * 0.35f *
 	    zs->opt[ZOOM_SCREEN_OPTION_SPEED].value.f;
 	steps  = amount / (0.5f * zs->opt[ZOOM_SCREEN_OPTION_TIMESTEP].value.f);
 	if (!steps) steps = 1;
-	chunk  = amount / (float) steps;
 
 	while (steps--)
 	{


More information about the commits mailing list