[gnome-media] Remove unused variable from bar_calc_layout



commit 9ee2503fe39a4939da0933ceccea61344f0dc46a
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Sep 17 18:25:43 2009 +0100

    Remove unused variable from bar_calc_layout
    
    https://bugzilla.gnome.org/show_bug.cgi?id=595491

 gnome-volume-control/src/gvc-level-bar.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gnome-volume-control/src/gvc-level-bar.c b/gnome-volume-control/src/gvc-level-bar.c
index 2bc83f1..e2c02e7 100644
--- a/gnome-volume-control/src/gvc-level-bar.c
+++ b/gnome-volume-control/src/gvc-level-bar.c
@@ -165,7 +165,6 @@ static void
 bar_calc_layout (GvcLevelBar *bar)
 {
         GdkColor color;
-        int      rms_level;
         int      peak_level;
         int      max_peak_level;
 
@@ -186,7 +185,6 @@ bar_calc_layout (GvcLevelBar *bar)
         bar->priv->layout.fl_b = (float)color.blue / 65535.0;
 
         if (bar->priv->orientation == GTK_ORIENTATION_VERTICAL) {
-                rms_level = bar->priv->rms_fraction * bar->priv->layout.area.height;
                 peak_level = bar->priv->peak_fraction * bar->priv->layout.area.height;
                 max_peak_level = bar->priv->max_peak * bar->priv->layout.area.height;
 
@@ -197,7 +195,6 @@ bar_calc_layout (GvcLevelBar *bar)
                 bar->priv->layout.box_width = bar->priv->layout.area.width;
                 bar->priv->layout.box_radius = bar->priv->layout.box_width / 2;
         } else {
-                rms_level = bar->priv->rms_fraction * bar->priv->layout.area.width;
                 peak_level = bar->priv->peak_fraction * bar->priv->layout.area.width;
                 max_peak_level = bar->priv->max_peak * bar->priv->layout.area.width;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]