summaryrefslogtreecommitdiff
path: root/Modules/cjkcodecs/_codecs_iso2022.c
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2011-02-22 20:15:44 +0000
committerBrett Cannon <bcannon@gmail.com>2011-02-22 20:15:44 +0000
commitffbf24bf0cc297d080d6d68bc809a9c156c49123 (patch)
tree784a982964a18755673f3d95a8d98eadb333671e /Modules/cjkcodecs/_codecs_iso2022.c
parentd563a72e39fd9aa04119460ee7981b9f2287a19d (diff)
downloadcpython-ffbf24bf0cc297d080d6d68bc809a9c156c49123.tar.gz
Issue #8914: fix various warnings from the Clang static analyzer v254.
Diffstat (limited to 'Modules/cjkcodecs/_codecs_iso2022.c')
-rw-r--r--Modules/cjkcodecs/_codecs_iso2022.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/cjkcodecs/_codecs_iso2022.c b/Modules/cjkcodecs/_codecs_iso2022.c
index 25c1a361da..cbc1542922 100644
--- a/Modules/cjkcodecs/_codecs_iso2022.c
+++ b/Modules/cjkcodecs/_codecs_iso2022.c
@@ -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;