[New-bugs-announce] [issue25890] PyObject *po in _listdir_windows_no_opendir is initialized but not used

Alexander Riccio report at bugs.python.org
Wed Dec 16 17:38:25 EST 2015


New submission from Alexander Riccio:

See: https://hg.python.org/cpython/file/tip/Modules/posixmodule.c#l3466

The variable PyObject *po in _listdir_windows_no_opendir is initialized but not used. Given that there's a variable named po_wchars, and two PyObject variables, I'm going to guess that the programmer forgot about `v`.

----------
components: Windows
messages: 256549
nosy: Alexander Riccio, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: PyObject *po in _listdir_windows_no_opendir is initialized but not used
type: compile error

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25890>
_______________________________________


More information about the New-bugs-announce mailing list