summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-05-17 02:47:48 +0200
committerinfirit <[email protected]>2014-05-17 02:47:48 +0200
commit98ba11cbc32a561198f5f29b5ea069bd31347fe0 (patch)
treed04d3a81b708e5fda6b650c89043ae89d3715caf /applets
parent40aa3a2cf5cc982e60d80c15186bf5e476dd9499 (diff)
downloadmate-panel-98ba11cbc32a561198f5f29b5ea069bd31347fe0.tar.bz2
mate-panel-98ba11cbc32a561198f5f29b5ea069bd31347fe0.tar.xz
Remove/comment unused variables
Diffstat (limited to 'applets')
-rw-r--r--applets/clock/clock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/applets/clock/clock.c b/applets/clock/clock.c
index 246bf249..efaba2fd 100644
--- a/applets/clock/clock.c
+++ b/applets/clock/clock.c
@@ -186,7 +186,9 @@ struct _ClockData {
/* Used to count the number of clock instances. It's there to know when we
* should free resources that are shared. */
+/* FIXME unused variable, remove?
static int clock_numbers = 0;
+*/
static void update_clock (ClockData * cd);
static void update_tooltip (ClockData * cd);
@@ -2907,7 +2909,6 @@ temperature_combo_changed (GtkComboBox *combo, ClockData *cd)
{
int value;
int old_value;
- const gchar *str;
value = gtk_combo_box_get_active (combo) + 2;
old_value = cd->temperature_unit;
@@ -2923,7 +2924,6 @@ speed_combo_changed (GtkComboBox *combo, ClockData *cd)
{
int value;
int old_value;
- const gchar *str;
value = gtk_combo_box_get_active (combo) + 2;
old_value = cd->speed_unit;