#include <netconfig.h> seems not needed and is harmful on NeXT, so drop it.

Add proper initialization of rtn = NULL in unpack_double.
This commit is contained in:
Guido van Rossum 1996-08-30 20:39:43 +00:00
parent 2b3ac69a3a
commit 6c0b234006

View file

@ -17,7 +17,6 @@
#include "Python.h"
#include <netconfig.h>
#include <rpc/rpc.h>
#include <rpc/xdr.h>
@ -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;