From: Mike Blumenkrantz Date: Mon, 7 Nov 2011 23:34:42 +0000 (+0000) Subject: fix uninitialized variable X-Git-Tag: submit/efl/20131021.015651~5414 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bc6f8843a196566cee460c45d56a9232117c652d;p=platform%2Fupstream%2Fenlightenment.git fix uninitialized variable SVN revision: 64909 --- diff --git a/src/modules/mixer/e_mod_main.c b/src/modules/mixer/e_mod_main.c index 5a3e203..4944a0c 100644 --- a/src/modules/mixer/e_mod_main.c +++ b/src/modules/mixer/e_mod_main.c @@ -57,12 +57,12 @@ _mixer_notify(const float val, E_Mixer_Instance *inst __UNUSED__) //Names are taken from FDO icon naming scheme if (val == 0.0) icon = "audio-volume-muted"; - else if (val > 66.6) - icon = "audio-volume-high"; else if ((val > 33.3) && (val < 66.6)) icon = "audio-volume-medium"; else if (val < 33.3) icon = "audio-volume-low"; + else + icon = "audio-volume-high"; n = e_notification_full_new(_("Mixer"), 0, icon, _("Volume changed"), buf, 2000); e_notification_replaces_id_set(n, EINA_TRUE);