Author alex.henrie
Recipients alex.henrie
Date 2021-03-02.02:29:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1614652149.62.0.682850581937.issue43361@roundup.psfhosted.org>
In-reply-to
Content
The idna_converter function in socketmodule.c currently initializes the variable len to -1, then reinitializes it on every path that uses 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:29:09alex.henriesetrecipients: + alex.henrie
2021-03-02 02:29:09alex.henriesetmessageid: <1614652149.62.0.682850581937.issue43361@roundup.psfhosted.org>
2021-03-02 02:29:09alex.henrielinkissue43361 messages
2021-03-02 02:29:09alex.henriecreate