From: Benjamin Peterson Date: Tue, 16 Jul 2013 03:50:22 +0000 (-0700) Subject: move declaration to top of block X-Git-Tag: v3.4.0a1~194^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=265fba40c8789cbfc623bc6a07d5a66f152e8155;p=python move declaration to top of block --- diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index a079c9d9f3..5c0bd6eb8a 100644 --- a/Parser/tokenizer.c +++ b/Parser/tokenizer.c @@ -254,9 +254,10 @@ get_coding_spec(const char *s, char **spec, Py_ssize_t size, struct tok_state *t if (begin < t) { char* r = new_string(begin, t - begin, tok); + char* q; if (!r) return 0; - char* q = get_normal_name(r); + q = get_normal_name(r); if (r != q) { PyMem_FREE(r); r = new_string(q, strlen(q), tok);