summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/posixmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 3b4b570..5f5c85e 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -2961,7 +2961,7 @@ posix_chflags(PyObject *self, PyObject *args, PyObject *kwargs)
unsigned long flags;
int follow_symlinks = 1;
int result;
- PyObject *return_value;
+ PyObject *return_value = NULL;
static char *keywords[] = {"path", "flags", "follow_symlinks", NULL};
memset(&path, 0, sizeof(path));