forked from enlightenment/efl
edje: Edje_Edit - fix compiler warnings for edje_edit_part_item_source_get/set
Summary: Just fixing compiler warning giving NULL to the main variable inside of those functions. @fix Reviewers: cedric, seoz, Hermet, raster CC: reutskiy.v.v, cedric Differential Revision: https://phab.enlightenment.org/D1054 Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
This commit is contained in:
parent
8370b22fa8
commit
7d381a01ef
|
@ -3900,7 +3900,7 @@ edje_edit_part_item_source_set(Evas_Object *obj, const char *part, const char *i
|
||||||
{
|
{
|
||||||
Edje_Part *ep;
|
Edje_Part *ep;
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
Edje_Pack_Element *item;
|
Edje_Pack_Element *item = NULL;
|
||||||
|
|
||||||
GET_RP_OR_RETURN(EINA_FALSE);
|
GET_RP_OR_RETURN(EINA_FALSE);
|
||||||
|
|
||||||
|
@ -3938,7 +3938,7 @@ edje_edit_part_item_source_get(Evas_Object *obj, const char *part, const char *i
|
||||||
{
|
{
|
||||||
Edje_Part *ep;
|
Edje_Part *ep;
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
Edje_Pack_Element *item;
|
Edje_Pack_Element *item = NULL;
|
||||||
|
|
||||||
GET_RP_OR_RETURN(NULL);
|
GET_RP_OR_RETURN(NULL);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue