Commit 45e90394 authored by Victor Stinner's avatar Victor Stinner

Fix posix_chflags(): return_value was uninitialized when follow_symlinks=False

whereas the fchmodat() function is not avaialble.
parent c406a121
......@@ -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));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment