aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/bin/e_bryce.c2
-rw-r--r--src/bin/e_comp_object.c9
-rw-r--r--src/modules/notification/e_mod_popup.c4
3 files changed, 9 insertions, 6 deletions
diff --git a/src/bin/e_bryce.c b/src/bin/e_bryce.c
index 3cc9088aa..213c46594 100644
--- a/src/bin/e_bryce.c
+++ b/src/bin/e_bryce.c
@@ -238,7 +238,7 @@ _bryce_autosize(Bryce *b)
static Eina_Bool
_bryce_autohide_timeout(Bryce *b)
{
- int x, y;
+ int x = 0, y = 0;
b->autohide_timer = NULL;
b->hidden = b->animating = 1;
diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index fe6fa8103..77f900482 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -1850,7 +1850,7 @@ static void
_e_comp_smart_cb_frame_recalc(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
E_Comp_Object *cw = data;
- int w, h, pw, ph;
+ int w = 0, h = 0, pw = 0, ph = 0;
/* - get current size
* - calc new size
@@ -2417,12 +2417,15 @@ _e_comp_smart_resize(Evas_Object *obj, int w, int h)
cw->w = w, cw->h = h;
if ((!cw->ec->shading) && (!cw->ec->shaded))
{
- int ww, hh, pw, ph;
+ int ww = 0, hh = 0, pw = 0, ph = 0;
if (cw->frame_object)
e_comp_object_frame_wh_unadjust(obj, w, h, &ww, &hh);
else
- ww = w, hh = h;
+ {
+ ww = w;
+ hh = h;
+ }
/* verify pixmap:object size */
if (e_pixmap_size_get(cw->ec->pixmap, &pw, &ph) && (!cw->ec->override))
{
diff --git a/src/modules/notification/e_mod_popup.c b/src/modules/notification/e_mod_popup.c
index 470c5e38e..d8f5739db 100644
--- a/src/modules/notification/e_mod_popup.c
+++ b/src/modules/notification/e_mod_popup.c
@@ -339,7 +339,7 @@ _notification_popup_new(E_Notification_Notify *n, unsigned id)
EINA_LIST_FOREACH(e_comp->zones, l, zone)
{
Evas_Object *o;
- int x, y, w, h;
+ int x = 0, y = 0, w = 0, h = 0;
if (zone == e_comp_object_util_zone_get(popup->win)) continue;
o = e_comp_object_util_mirror_add(popup->theme);
@@ -363,7 +363,7 @@ _notification_popup_new(E_Notification_Notify *n, unsigned id)
static int
_notification_popup_place(Popup_Data *popup, int pos)
{
- int x, y, w, h;
+ int x = 0, y = 0, w = 0, h = 0;
Eina_List *l;
Evas_Object *o;
E_Zone *zone;