summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-09-26 17:59:29 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-09-26 17:59:29 -0400
commitcd97c2a0b7a78cd12762ffbcaa35235a6c2b04d3 (patch)
treecf784328bf8a68c2a52c0dcceca05ee2744fb8f3
parent2584adae0850fa5f8a269d64d4fdcce376015c5a (diff)
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
-rw-r--r--src/lib/eina/eina_list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eina/eina_list.c b/src/lib/eina/eina_list.c
index a9857bf897..844e387293 100644
--- a/src/lib/eina/eina_list.c
+++ b/src/lib/eina/eina_list.c
@@ -609,9 +609,9 @@ eina_list_append(Eina_List *list, const void *data)
609 return list; 609 return list;
610#ifdef EINA_LIST_MAGIC 610#ifdef EINA_LIST_MAGIC
611on_error: 611on_error:
612#endif
613 _eina_list_mempool_list_free(new_l); 612 _eina_list_mempool_list_free(new_l);
614 return NULL; 613 return NULL;
614#endif
615} 615}
616 616
617EAPI Eina_List * 617EAPI Eina_List *
@@ -640,9 +640,9 @@ eina_list_prepend(Eina_List *list, const void *data)
640 640
641#ifdef EINA_LIST_MAGIC 641#ifdef EINA_LIST_MAGIC
642on_error: 642on_error:
643#endif
644 _eina_list_mempool_list_free(new_l); 643 _eina_list_mempool_list_free(new_l);
645 return NULL; 644 return NULL;
645#endif
646} 646}
647 647
648EAPI Eina_List * 648EAPI Eina_List *