From: Guido van Rossum Date: Fri, 30 Aug 1996 20:39:43 +0000 (+0000) Subject: #include seems not needed and is harmful on NeXT, so drop it. X-Git-Tag: v1.4~323 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6c0b2340063345a581922bd14ed272fa09c84f28;p=thirdparty%2FPython%2Fcpython.git #include seems not needed and is harmful on NeXT, so drop it. Add proper initialization of rtn = NULL in unpack_double. --- diff --git a/Modules/_xdrmodule.c b/Modules/_xdrmodule.c index 42e545f17a11..d2c94536a298 100644 --- a/Modules/_xdrmodule.c +++ b/Modules/_xdrmodule.c @@ -17,7 +17,6 @@ #include "Python.h" -#include #include #include @@ -131,7 +130,7 @@ unpack_double(self, args) double value; char* string; int strlen; - PyObject* rtn; + PyObject* rtn = NULL; if (!PyArg_ParseTuple(args, "s#", &string, &strlen)) return NULL;