aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-03-10 11:28:34 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-03-10 11:28:34 -0500
commit53d64276b48463ac7d8ee0d9ac673b8bf80173cf (patch)
tree56caa0d6f5c779595c6c23eb458c48d7722e84c4
parentresolve harmless coverity reports in wireless module (diff)
downloadenlightenment-53d64276b48463ac7d8ee0d9ac673b8bf80173cf.tar.gz
resolve harmless coverity reports in time module
-rw-r--r--src/modules/time/clock.c2
-rw-r--r--src/modules/time/config.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/time/clock.c b/src/modules/time/clock.c
index 5d2a7a32d..0f8f1e8bd 100644
--- a/src/modules/time/clock.c
+++ b/src/modules/time/clock.c
@@ -178,7 +178,7 @@ _clock_timer(void *d EINA_UNUSED)
Eina_List *l;
Instance *inst;
Eina_Bool seconds = EINA_FALSE;
- int sec;
+ int sec = 0;
char buf[128];
EINA_LIST_FOREACH(clock_instances, l, inst)
diff --git a/src/modules/time/config.c b/src/modules/time/config.c
index ad4c528ef..5f393fd19 100644
--- a/src/modules/time/config.c
+++ b/src/modules/time/config.c
@@ -483,7 +483,7 @@ config_clock(Config_Item *ci)
{
E_ALIGN(o, 0, 0.5);
E_WEIGHT(o, 0, 0);
- o = _config_date_custom(ci, bx);
+ _config_date_custom(ci, bx);
}
else
{