mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Issue #8914: fix various warnings from the Clang static analyzer v254.
This commit is contained in:
parent
79da6b7075
commit
b94767ff44
36 changed files with 69 additions and 84 deletions
|
@ -123,7 +123,7 @@ struct iso2022_config {
|
|||
|
||||
CODEC_INIT(iso2022)
|
||||
{
|
||||
const struct iso2022_designation *desig = CONFIG_DESIGNATIONS;
|
||||
const struct iso2022_designation *desig;
|
||||
for (desig = CONFIG_DESIGNATIONS; desig->mark; desig++)
|
||||
if (desig->initializer != NULL && desig->initializer() != 0)
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue