[Python-checkins] python/nondist/sandbox/datetime datetime.c,1.47,1.48
gvanrossum@users.sourceforge.net
gvanrossum@users.sourceforge.net
Sun, 08 Dec 2002 12:00:48 -0800
Update of /cvsroot/python/python/nondist/sandbox/datetime
In directory sc8-pr-cvs1:/tmp/cvs-serv28296
Modified Files:
datetime.c
Log Message:
Shut up GCC warning about possibly unused variable.
Index: datetime.c
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/datetime/datetime.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -d -r1.47 -r1.48
*** datetime.c 7 Dec 2002 18:34:39 -0000 1.47
--- datetime.c 8 Dec 2002 20:00:45 -0000 1.48
***************
*** 612,615 ****
--- 612,616 ----
default:
assert(! "op unknown");
+ istrue = 0; /* To shut up compiler */
}
result = istrue ? Py_True : Py_False;