diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-12-18 08:03:13 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-12-18 08:03:13 (GMT) |
commit | 9b3a2eec1c64466cd2e2004b7732cf2b5a79a644 (patch) | |
tree | f5ca950e6968ca5da547586bd6439dd0478812df /Modules/posixmodule.c | |
parent | 9bb0958b23c662e1a709322411a18843805e90d8 (diff) | |
download | cpython-9b3a2eec1c64466cd2e2004b7732cf2b5a79a644.zip cpython-9b3a2eec1c64466cd2e2004b7732cf2b5a79a644.tar.gz cpython-9b3a2eec1c64466cd2e2004b7732cf2b5a79a644.tar.bz2 |
Issues #25890, #25891, #25892: Removed unused variables in Windows code.
Reported by Alexander Riccio.
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r-- | Modules/posixmodule.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 0e423f9..81c3c48 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -3463,7 +3463,6 @@ _listdir_windows_no_opendir(path_t *path, PyObject *list) char *bufptr = namebuf; /* only claim to have space for MAX_PATH */ Py_ssize_t len = Py_ARRAY_LENGTH(namebuf)-4; - PyObject *po = NULL; wchar_t *wnamebuf = NULL; if (!path->narrow) { @@ -12380,7 +12379,6 @@ enable_symlink() HANDLE tok; TOKEN_PRIVILEGES tok_priv; LUID luid; - int meth_idx = 0; if (!OpenProcessToken(GetCurrentProcess(), TOKEN_ALL_ACCESS, &tok)) return 0; |