diff options
author | Victor Stinner <vstinner@python.org> | 2020-12-16 15:26:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-16 15:26:15 (GMT) |
commit | aefb69b23f056c61e82ad228d950f348de090c70 (patch) | |
tree | a34be085ccf5725193707099e29b19e287104d15 /Python/errors.c | |
parent | 37caeb172b1d51340c1b0db9c4c75f138bda6537 (diff) | |
download | cpython-aefb69b23f056c61e82ad228d950f348de090c70.zip cpython-aefb69b23f056c61e82ad228d950f348de090c70.tar.gz cpython-aefb69b23f056c61e82ad228d950f348de090c70.tar.bz2 |
bpo-40686: Fix compiler warnings on _zoneinfo.c (GH-23614)
"uint8_t day" is unsigned and so "day < 0" test is always true.
Remove the test to fix the following warnings on Windows:
modules\_zoneinfo.c(1224): warning C4068: unknown pragma
modules\_zoneinfo.c(1225): warning C4068: unknown pragma
modules\_zoneinfo.c(1227): warning C4068: unknown pragma
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions