Message387895
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> |
|
Date |
User |
Action |
Args |
2021-03-02 02:25:12 | alex.henrie | set | recipients:
+ alex.henrie |
2021-03-02 02:25:12 | alex.henrie | set | messageid: <1614651912.95.0.68462413879.issue43360@roundup.psfhosted.org> |
2021-03-02 02:25:12 | alex.henrie | link | issue43360 messages |
2021-03-02 02:25:12 | alex.henrie | create | |
|