projects
/
psensor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90c789d
)
removed useless local var and code
author
Jean-Philippe Orsini
<jeanfi@gmail.com>
Tue, 7 Jun 2016 15:36:57 +0000
(17:36 +0200)
committer
Jean-Philippe Orsini
<jeanfi@gmail.com>
Tue, 7 Jun 2016 15:36:57 +0000
(17:36 +0200)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
6037469
..
55209df
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-185,7
+185,6
@@
static gboolean ui_refresh_thread(gpointer data)
struct config *cfg;
gboolean ret;
struct ui_psensor *ui = (struct ui_psensor *)data;
- int use_celsius;
ret = TRUE;
cfg = ui->config;
@@
-199,10
+198,6
@@
static gboolean ui_refresh_thread(gpointer data)
if (is_appindicator_supported() || is_status_supported())
indicators_update(ui);
- if (config_get_temperature_unit() == CELSIUS)
- use_celsius = 1;
- else
- use_celsius = 0;
ui_unity_launcher_entry_update(ui->sensors);
if (ui->graph_update_interval != cfg->graph_update_interval) {