forked from enlightenment/enlightenment
warnings - silence some theoreitcal wranings in build
a bunch of "potentially uninitialized variable" warnings fixed.
This commit is contained in:
parent
ec9a888fcf
commit
59e2eb40f8
|
@ -238,7 +238,7 @@ _bryce_autosize(Bryce *b)
|
||||||
static Eina_Bool
|
static Eina_Bool
|
||||||
_bryce_autohide_timeout(Bryce *b)
|
_bryce_autohide_timeout(Bryce *b)
|
||||||
{
|
{
|
||||||
int x, y;
|
int x = 0, y = 0;
|
||||||
|
|
||||||
b->autohide_timer = NULL;
|
b->autohide_timer = NULL;
|
||||||
b->hidden = b->animating = 1;
|
b->hidden = b->animating = 1;
|
||||||
|
|
|
@ -1850,7 +1850,7 @@ static void
|
||||||
_e_comp_smart_cb_frame_recalc(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
|
_e_comp_smart_cb_frame_recalc(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
|
||||||
{
|
{
|
||||||
E_Comp_Object *cw = data;
|
E_Comp_Object *cw = data;
|
||||||
int w, h, pw, ph;
|
int w = 0, h = 0, pw = 0, ph = 0;
|
||||||
|
|
||||||
/* - get current size
|
/* - get current size
|
||||||
* - calc new 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;
|
cw->w = w, cw->h = h;
|
||||||
if ((!cw->ec->shading) && (!cw->ec->shaded))
|
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)
|
if (cw->frame_object)
|
||||||
e_comp_object_frame_wh_unadjust(obj, w, h, &ww, &hh);
|
e_comp_object_frame_wh_unadjust(obj, w, h, &ww, &hh);
|
||||||
else
|
else
|
||||||
ww = w, hh = h;
|
{
|
||||||
|
ww = w;
|
||||||
|
hh = h;
|
||||||
|
}
|
||||||
/* verify pixmap:object size */
|
/* verify pixmap:object size */
|
||||||
if (e_pixmap_size_get(cw->ec->pixmap, &pw, &ph) && (!cw->ec->override))
|
if (e_pixmap_size_get(cw->ec->pixmap, &pw, &ph) && (!cw->ec->override))
|
||||||
{
|
{
|
||||||
|
|
|
@ -339,7 +339,7 @@ _notification_popup_new(E_Notification_Notify *n, unsigned id)
|
||||||
EINA_LIST_FOREACH(e_comp->zones, l, zone)
|
EINA_LIST_FOREACH(e_comp->zones, l, zone)
|
||||||
{
|
{
|
||||||
Evas_Object *o;
|
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;
|
if (zone == e_comp_object_util_zone_get(popup->win)) continue;
|
||||||
o = e_comp_object_util_mirror_add(popup->theme);
|
o = e_comp_object_util_mirror_add(popup->theme);
|
||||||
|
@ -363,7 +363,7 @@ _notification_popup_new(E_Notification_Notify *n, unsigned id)
|
||||||
static int
|
static int
|
||||||
_notification_popup_place(Popup_Data *popup, int pos)
|
_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;
|
Eina_List *l;
|
||||||
Evas_Object *o;
|
Evas_Object *o;
|
||||||
E_Zone *zone;
|
E_Zone *zone;
|
||||||
|
|
Loading…
Reference in New Issue