[Python-checkins] cpython: Fix compilation warning on Windows

amaury.forgeotdarc python-checkins at python.org
Fri Jan 13 21:10:56 CET 2012


http://hg.python.org/cpython/rev/42d95944662d
changeset:   74365:42d95944662d
user:        Amaury Forgeot d'Arc <amauryfa at gmail.com>
date:        Sat Dec 17 10:23:14 2011 +0100
summary:
  Fix compilation warning on Windows

files:
  Modules/_multiprocessing/multiprocessing.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Modules/_multiprocessing/multiprocessing.c b/Modules/_multiprocessing/multiprocessing.c
--- a/Modules/_multiprocessing/multiprocessing.c
+++ b/Modules/_multiprocessing/multiprocessing.c
@@ -99,7 +99,7 @@
 PyMODINIT_FUNC
 PyInit__multiprocessing(void)
 {
-    PyObject *module, *temp, *value;
+    PyObject *module, *temp, *value = NULL;
 
     /* Initialize module */
     module = PyModule_Create(&multiprocessing_module);

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list