[New-bugs-announce] [issue39690] Compiler warnings in unicodeobject.c

Serhiy Storchaka report at bugs.python.org
Wed Feb 19 14:27:32 EST 2020


New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:

Objects/clinic/unicodeobject.c.h: In function ‘unicode_isidentifier’:
Objects/unicodeobject.c:12245:22: warning: ‘wstr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
             ch = wstr[i];
                  ~~~~^~~
Objects/unicodeobject.c:12212:14: note: ‘wstr’ was declared here
     wchar_t *wstr;
              ^~~~
Objects/unicodeobject.c: In function ‘PyUnicode_IsIdentifier’:
Objects/unicodeobject.c:12245:22: warning: ‘wstr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
             ch = wstr[i];
                  ~~~~^~~

----------
components: Interpreter Core
messages: 362288
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: Compiler warnings in unicodeobject.c
type: behavior

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


More information about the New-bugs-announce mailing list