eina/list: move dead code inside corresponding #ifdef
Summary: this is debug code CID 1404753, 1404745 Depends on D10204 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10205
This commit is contained in:
parent
2584adae08
commit
cd97c2a0b7
|
@ -609,9 +609,9 @@ eina_list_append(Eina_List *list, const void *data)
|
|||
return list;
|
||||
#ifdef EINA_LIST_MAGIC
|
||||
on_error:
|
||||
#endif
|
||||
_eina_list_mempool_list_free(new_l);
|
||||
return NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
EAPI Eina_List *
|
||||
|
@ -640,9 +640,9 @@ eina_list_prepend(Eina_List *list, const void *data)
|
|||
|
||||
#ifdef EINA_LIST_MAGIC
|
||||
on_error:
|
||||
#endif
|
||||
_eina_list_mempool_list_free(new_l);
|
||||
return NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
EAPI Eina_List *
|
||||
|
|
Loading…
Reference in New Issue