summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_xdrmodule.c3
1 files changed, 1 insertions, 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 <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;