[Python-checkins] r46847 - sandbox/trunk/decimal-c/_decimal.c

mateusz.rukowicz python-checkins at python.org
Sun Jun 11 04:05:13 CEST 2006


Author: mateusz.rukowicz
Date: Sun Jun 11 04:05:13 2006
New Revision: 46847

Modified:
   sandbox/trunk/decimal-c/_decimal.c
Log:
Added =0; ;-) without this, when compiling with -O *nothing* works properly =].


Modified: sandbox/trunk/decimal-c/_decimal.c
==============================================================================
--- sandbox/trunk/decimal-c/_decimal.c	(original)
+++ sandbox/trunk/decimal-c/_decimal.c	Sun Jun 11 04:05:13 2006
@@ -3392,7 +3392,7 @@
 static decimalobject *
 _decimal_fromliteral(PyTypeObject *type, char *str, long len, contextobject *ctx)
 {
-	char sign;	
+	char sign = 0;	
 	long exp = 0;
 	long ndigits;
 	long zero = 0;				/* if zero */


More information about the Python-checkins mailing list