[New-bugs-announce] [issue36308] Fix warning in _PyPathConfig_ComputeArgv0

Stéphane Wirtel report at bugs.python.org
Fri Mar 15 16:25:34 EDT 2019


New submission from Stéphane Wirtel <stephane at wirtel.be>:

Python/pathconfig.c: In function '_PyPathConfig_ComputeArgv0':
Python/pathconfig.c:615:26: warning: 'argv0' may be used uninitialized in this function [-Wmaybe-uninitialized]
             wchar_t *q = wcsrchr(argv0, SEP);
                          ^~~~~~~~~~~~~~~~~~~

----------
messages: 338027
nosy: matrixise, vstinner
priority: normal
severity: normal
status: open
title: Fix warning in _PyPathConfig_ComputeArgv0
versions: Python 3.8

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


More information about the New-bugs-announce mailing list