aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/temperature/e_mod_main.c
diff options
context:
space:
mode:
authorAl 'netstar' Poole <netstar@gmail.com>2017-07-15 10:58:24 -0500
committerStephen 'Okra' Houston <smhouston88@gmail.com>2017-07-15 21:32:11 -0500
commitd7538011ec12fbdab189506a921a0b45064c77be (patch)
treed823306728a93d11f1c9709b61f4b1b7b2301a93 /src/modules/temperature/e_mod_main.c
parentRevert "reduce include deps for enlightenment_imc binary" (diff)
downloadenlightenment-d7538011ec12fbdab189506a921a0b45064c77be.tar.gz
Modules: Fix compilation and remove warnings for BSD
Diffstat (limited to 'src/modules/temperature/e_mod_main.c')
-rw-r--r--src/modules/temperature/e_mod_main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/temperature/e_mod_main.c b/src/modules/temperature/e_mod_main.c
index 5e76d5919..8d7d0ad34 100644
--- a/src/modules/temperature/e_mod_main.c
+++ b/src/modules/temperature/e_mod_main.c
@@ -50,11 +50,12 @@ static Config *temperature_config = NULL;
static void
_temperature_thread_free(Tempthread *tth)
{
+#if defined(HAVE_EEZE)
const char *s;
-
+#endif
eina_stringshare_del(tth->sensor_name);
eina_stringshare_del(tth->sensor_path);
-#ifdef HAVE_EEZE
+#if defined(HAVE_EEZE)
EINA_LIST_FREE(tth->tempdevs, s) eina_stringshare_del(s);
#endif
e_powersave_sleeper_free(tth->sleeper);