summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-05-15 23:14:15 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-05-15 23:14:15 +0900
commit59e2eb40f8213a283e38d05baa0d1ac2669b777e (patch)
tree01b721a4cca2f7df12cbd49c56d810e3df3f35b8
parentec9a888fcf21f1cb34b48e89c315496f178ed89a (diff)
warnings - silence some theoreitcal wranings in build
a bunch of "potentially uninitialized variable" warnings fixed.
-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)
238static Eina_Bool 238static Eina_Bool
239_bryce_autohide_timeout(Bryce *b) 239_bryce_autohide_timeout(Bryce *b)
240{ 240{
241 int x, y; 241 int x = 0, y = 0;
242 242
243 b->autohide_timer = NULL; 243 b->autohide_timer = NULL;
244 b->hidden = b->animating = 1; 244 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
1850_e_comp_smart_cb_frame_recalc(void *data, Evas_Object *obj, void *event_info EINA_UNUSED) 1850_e_comp_smart_cb_frame_recalc(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
1851{ 1851{
1852 E_Comp_Object *cw = data; 1852 E_Comp_Object *cw = data;
1853 int w, h, pw, ph; 1853 int w = 0, h = 0, pw = 0, ph = 0;
1854 1854
1855 /* - get current size 1855 /* - get current size
1856 * - calc new size 1856 * - calc new size
@@ -2417,12 +2417,15 @@ _e_comp_smart_resize(Evas_Object *obj, int w, int h)
2417 cw->w = w, cw->h = h; 2417 cw->w = w, cw->h = h;
2418 if ((!cw->ec->shading) && (!cw->ec->shaded)) 2418 if ((!cw->ec->shading) && (!cw->ec->shaded))
2419 { 2419 {
2420 int ww, hh, pw, ph; 2420 int ww = 0, hh = 0, pw = 0, ph = 0;
2421 2421
2422 if (cw->frame_object) 2422 if (cw->frame_object)
2423 e_comp_object_frame_wh_unadjust(obj, w, h, &ww, &hh); 2423 e_comp_object_frame_wh_unadjust(obj, w, h, &ww, &hh);
2424 else 2424 else
2425 ww = w, hh = h; 2425 {
2426 ww = w;
2427 hh = h;
2428 }
2426 /* verify pixmap:object size */ 2429 /* verify pixmap:object size */
2427 if (e_pixmap_size_get(cw->ec->pixmap, &pw, &ph) && (!cw->ec->override)) 2430 if (e_pixmap_size_get(cw->ec->pixmap, &pw, &ph) && (!cw->ec->override))
2428 { 2431 {
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)
339 EINA_LIST_FOREACH(e_comp->zones, l, zone) 339 EINA_LIST_FOREACH(e_comp->zones, l, zone)
340 { 340 {
341 Evas_Object *o; 341 Evas_Object *o;
342 int x, y, w, h; 342 int x = 0, y = 0, w = 0, h = 0;
343 343
344 if (zone == e_comp_object_util_zone_get(popup->win)) continue; 344 if (zone == e_comp_object_util_zone_get(popup->win)) continue;
345 o = e_comp_object_util_mirror_add(popup->theme); 345 o = e_comp_object_util_mirror_add(popup->theme);
@@ -363,7 +363,7 @@ _notification_popup_new(E_Notification_Notify *n, unsigned id)
363static int 363static int
364_notification_popup_place(Popup_Data *popup, int pos) 364_notification_popup_place(Popup_Data *popup, int pos)
365{ 365{
366 int x, y, w, h; 366 int x = 0, y = 0, w = 0, h = 0;
367 Eina_List *l; 367 Eina_List *l;
368 Evas_Object *o; 368 Evas_Object *o;
369 E_Zone *zone; 369 E_Zone *zone;