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:
Mike Blumenkrantz 2019-09-26 17:59:29 -04:00
parent 2584adae08
commit cd97c2a0b7
1 changed files with 2 additions and 2 deletions

View File

@ -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 *