[Python-checkins] r59307 - python/trunk/Objects/complexobject.c
guido.van.rossum
python-checkins at python.org
Mon Dec 3 23:02:10 CET 2007
Author: guido.van.rossum
Date: Mon Dec 3 23:02:10 2007
New Revision: 59307
Modified:
python/trunk/Objects/complexobject.c
Log:
Shut up a compiler warning.
Modified: python/trunk/Objects/complexobject.c
==============================================================================
--- python/trunk/Objects/complexobject.c (original)
+++ python/trunk/Objects/complexobject.c Mon Dec 3 23:02:10 2007
@@ -1003,6 +1003,7 @@
return NULL;
}
cr.real = PyFloat_AsDouble(tmp);
+ cr.imag = 0.0; /* Shut up compiler warning */
Py_DECREF(tmp);
}
if (i == NULL) {
More information about the Python-checkins
mailing list