From 6c0b2340063345a581922bd14ed272fa09c84f28 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 30 Aug 1996 20:39:43 +0000 Subject: #include seems not needed and is harmful on NeXT, so drop it. Add proper initialization of rtn = NULL in unpack_double. --- Modules/_xdrmodule.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Modules/_xdrmodule.c b/Modules/_xdrmodule.c index 42e545f..d2c9453 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; -- cgit v0.12