[ekg2-commit] r3896 - trunk/ekg: trunk/ekg/dynstuff.c
SVN commit
svn w toxygen.net
Śro, 12 Mar 2008, 23:26:02 CET
Author: darkjames
Date: 2008-03-12 23:26:01 +0100 (Wed, 12 Mar 2008)
New Revision: 3896
Modified:
trunk/ekg/dynstuff.c
Log:
here list is always !NULL, so we don't care about errno. (yep, we don't care even in comment)
Modified: trunk/ekg/dynstuff.c
===================================================================
--- trunk/ekg/dynstuff.c 2008-03-12 21:31:06 UTC (rev 3895)
+++ trunk/ekg/dynstuff.c 2008-03-12 22:26:01 UTC (rev 3896)
@@ -387,10 +387,8 @@
void *list_get_nth3(list_t list, int id) {
while (list) {
- if ((--id) == 0) {
- /* errno = !ENOENT; */
+ if ((--id) == 0)
return list;
- }
list = list->next;
}
Więcej informacji o liście dyskusyjnej ekg2-commit