commit | e227263a6c4b4f7152553d9df89175b67dfcef4a | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Dec 03 22:02:10 2007 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Dec 03 22:02:10 2007 +0000 |
tree | 1288d5267690653befd5af24cd2305c22aeaf067 | |
parent | 6e751f4ffa9ec646ddcc3f699a18233262912ca2 [diff] [blame] |
Shut up a compiler warning.
diff --git a/Objects/complexobject.c b/Objects/complexobject.c index ed0b8be..634a753 100644 --- a/Objects/complexobject.c +++ b/Objects/complexobject.c
@@ -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) {