From d0601b0a1f0bccd28f8b483580f77c21f8998cd1 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 1 Nov 2015 02:39:01 +0300 Subject: [PATCH] extmod/re1.5: Workaround issue with mingw32-gcc 4.2.1. --- extmod/re1.5/compilecode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extmod/re1.5/compilecode.c b/extmod/re1.5/compilecode.c index 7a1b98128b..e4635f034a 100644 --- a/extmod/re1.5/compilecode.c +++ b/extmod/re1.5/compilecode.c @@ -65,7 +65,7 @@ static const char *_compilecode(const char *re, ByteProg *prog, int sizecode) } case '(': { term = PC; - int sub; + int sub = 0; int capture = re[1] != '?' || re[2] != ':'; if (capture) {