[issue40713] _zoneinfo.c can use dst_offset without initialization in parse_tz_str()

Paul Ganssle report at bugs.python.org
Thu May 21 15:39:40 EDT 2020


Paul Ganssle <p.ganssle at gmail.com> added the comment:

This is a duplicate of bpo-40714. It's a bit of an overzealous compiler warning (as far as I can tell it's not true that the uninitialized value would ever be used), but we fixed it anyway in GH-20291.

Thanks for the report!

----------
nosy: +p-ganssle
resolution:  -> duplicate
stage: patch review -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40713>
_______________________________________


More information about the Python-bugs-list mailing list