summaryrefslogtreecommitdiffstats
path: root/Modules/_csv.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-11-09 09:40:16 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-11-09 09:40:16 (GMT)
commit4fe519bf8db535ec9de732fd74d472820d7deb75 (patch)
treeee2fd394f3a86f74c9227d8cf5323c789403c42f /Modules/_csv.c
parent132ef6cca3b52c1cbc09f0b5476254089e1a8bf5 (diff)
downloadcpython-4fe519bf8db535ec9de732fd74d472820d7deb75.zip
cpython-4fe519bf8db535ec9de732fd74d472820d7deb75.tar.gz
cpython-4fe519bf8db535ec9de732fd74d472820d7deb75.tar.bz2
Issue #10359: Remove useless (duplicate) initialization in _csv
Diffstat (limited to 'Modules/_csv.c')
-rw-r--r--Modules/_csv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_csv.c b/Modules/_csv.c
index 4584abc..a749cec 100644
--- a/Modules/_csv.c
+++ b/Modules/_csv.c
@@ -248,7 +248,7 @@ _set_str(const char *name, PyObject **target, PyObject *src, const char *dflt)
static int
dialect_check_quoting(int quoting)
{
- StyleDesc *qs = quote_styles;
+ StyleDesc *qs;
for (qs = quote_styles; qs->name; qs++) {
if (qs->style == quoting)