[issue43359] Dead assignment in Py_UniversalNewlineFgets
STINNER Victor
report at bugs.python.org
Mon Mar 8 14:49:06 EST 2021
STINNER Victor <vstinner at python.org> added the comment:
> Hi Victor, just so we're all on the same page, removing the line does not trigger a compiler warning. The comment on this line is misleading.
I wrote the opposite. IMO the line and its commment should be kept.
> Defect identified by scan-build <https://clang-analyzer.llvm.org/scan-build.html>
Just tell your tool that the line is there on purpose.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43359>
_______________________________________
More information about the Python-bugs-list
mailing list