aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2011-12-17 10:23:14 +0100
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2011-12-17 10:23:14 +0100
commit7e447c8224c0ce7748dfd502c746139965d2d1e4 (patch)
tree9bcbc970465051f1f123b3a7d5bbd0527c361443 /Modules/_multiprocessing
parentNULL and no exception set from tp_iternext means StopIteration (diff)
downloadcpython-7e447c8224c0ce7748dfd502c746139965d2d1e4.tar.gz
cpython-7e447c8224c0ce7748dfd502c746139965d2d1e4.tar.bz2
cpython-7e447c8224c0ce7748dfd502c746139965d2d1e4.zip
Fix compilation warning on Windows
Diffstat (limited to 'Modules/_multiprocessing')
-rw-r--r--Modules/_multiprocessing/multiprocessing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_multiprocessing/multiprocessing.c b/Modules/_multiprocessing/multiprocessing.c
index ab2cd72d319..d370f9af2c4 100644
--- a/Modules/_multiprocessing/multiprocessing.c
+++ b/Modules/_multiprocessing/multiprocessing.c
@@ -99,7 +99,7 @@ static struct PyModuleDef multiprocessing_module = {
PyMODINIT_FUNC
PyInit__multiprocessing(void)
{
- PyObject *module, *temp, *value;
+ PyObject *module, *temp, *value = NULL;
/* Initialize module */
module = PyModule_Create(&multiprocessing_module);