[Python-checkins] python/dist/src/Objects listobject.c,2.218,2.219
bcannon at users.sourceforge.net
bcannon at users.sourceforge.net
Tue Aug 3 06:53:32 CEST 2004
Update of /cvsroot/python/python/dist/src/Objects
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10617/Objects
Modified Files:
listobject.c
Log Message:
Tweak previous patch to silence a warning about the unused left value in the
comma expression in listpop() that was being returned. Still essentially
unused (as it is meant to be), but now the compiler thinks it is worth
*something* by having it incremented.
Index: listobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/listobject.c,v
retrieving revision 2.218
retrieving revision 2.219
diff -C2 -d -r2.218 -r2.219
*** listobject.c 31 Jul 2004 21:53:19 -0000 2.218
--- listobject.c 3 Aug 2004 04:53:29 -0000 2.219
***************
*** 863,867 ****
* complain about the unused name.
*/
! return status, v;
}
--- 863,867 ----
* complain about the unused name.
*/
! return status++, v;
}
More information about the Python-checkins
mailing list