]> granicus.if.org Git - python/commitdiff
Issue #10359: Remove useless (duplicate) initialization in _csv
authorVictor Stinner <victor.stinner@haypocalc.com>
Tue, 9 Nov 2010 09:40:16 +0000 (09:40 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Tue, 9 Nov 2010 09:40:16 +0000 (09:40 +0000)
Modules/_csv.c

index 4584abc0a8719a55cc702471dd6dd8d3da1932c2..a749cec0a538ad4afff8511ad068d03f9d11c3b5 100644 (file)
@@ -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)