summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-12-18 08:06:58 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-12-18 08:06:58 (GMT)
commit8bc2b4d5227871d25eeaac91cd64387cc27d6d74 (patch)
treeed1998c02e649d046e10291b85e9ee204a5f5558 /Modules/posixmodule.c
parent9b3a2eec1c64466cd2e2004b7732cf2b5a79a644 (diff)
downloadcpython-8bc2b4d5227871d25eeaac91cd64387cc27d6d74.zip
cpython-8bc2b4d5227871d25eeaac91cd64387cc27d6d74.tar.gz
cpython-8bc2b4d5227871d25eeaac91cd64387cc27d6d74.tar.bz2
Issue #25890: Removed yet one unused variable.
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 81c3c48..7ec1f47 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -3460,7 +3460,6 @@ _listdir_windows_no_opendir(path_t *path, PyObject *list)
BOOL result;
WIN32_FIND_DATA FileData;
char namebuf[MAX_PATH+4]; /* Overallocate for "\*.*" */
- char *bufptr = namebuf;
/* only claim to have space for MAX_PATH */
Py_ssize_t len = Py_ARRAY_LENGTH(namebuf)-4;
wchar_t *wnamebuf = NULL;