Enlightenment CVS committal
Author : englebass
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore
Modified Files:
ecore_list.c
Log Message:
Don't need to check for old, as we already established that this list
isn't empty.
===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore/ecore_list.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -3 -r1.33 -r1.34
--- ecore_list.c 21 Jan 2007 13:53:06 -0000 1.33
+++ ecore_list.c 21 Jan 2007 13:54:24 -0000 1.34
@@ -738,12 +738,9 @@
if (prev)
prev->next = NULL;
- if (old)
- {
- old->next = NULL;
- ret = old->data;
- old->data = NULL;
- }
+ old->next = NULL;
+ ret = old->data;
+ old->data = NULL;
ecore_list_node_destroy(old, NULL);
list->nodes--;
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs