[Python-checkins] python/dist/src/Objects listobject.c,2.219,2.220
bcannon at users.sourceforge.net
bcannon at users.sourceforge.net
Sun Aug 8 23:21:20 CEST 2004
Update of /cvsroot/python/python/dist/src/Objects
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20971/Objects
Modified Files:
listobject.c
Log Message:
Previous commit was viewed as "perverse". Changed to just cast the unused
variable to void..
Thanks to Sjoerd Mullender for the suggested change.
Index: listobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/listobject.c,v
retrieving revision 2.219
retrieving revision 2.220
diff -C2 -d -r2.219 -r2.220
*** listobject.c 3 Aug 2004 04:53:29 -0000 2.219
--- listobject.c 8 Aug 2004 21:21:18 -0000 2.220
***************
*** 863,867 ****
* complain about the unused name.
*/
! return status++, v;
}
--- 863,869 ----
* complain about the unused name.
*/
! (void) status;
!
! return v;
}
More information about the Python-checkins
mailing list