This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author alex.henrie
Recipients alex.henrie
Date 2021-03-02.02:25:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1614651912.95.0.68462413879.issue43360@roundup.psfhosted.org>
In-reply-to
Content
The parse_abbr function in _zoneinfo.c currently initializes the variable buff regardless of whether it is going to be used, and then initializes it again in the one path that does use it. The first initialization could be removed to simplify the code and clarify its intent.

Defect identified by scan-build <https://clang-analyzer.llvm.org/scan-build.html>
History
Date User Action Args
2021-03-02 02:25:12alex.henriesetrecipients: + alex.henrie
2021-03-02 02:25:12alex.henriesetmessageid: <1614651912.95.0.68462413879.issue43360@roundup.psfhosted.org>
2021-03-02 02:25:12alex.henrielinkissue43360 messages
2021-03-02 02:25:12alex.henriecreate