diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-11-01 02:39:01 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-11-01 02:39:01 +0300 |
commit | d0601b0a1f0bccd28f8b483580f77c21f8998cd1 (patch) | |
tree | 0d6e89c8840526528006b71865fa35b153679022 /extmod/re1.5/compilecode.c | |
parent | aeadf7607d36c5570f168a226d34c1fd48bd6a29 (diff) | |
download | micropython-d0601b0a1f0bccd28f8b483580f77c21f8998cd1.tar.gz micropython-d0601b0a1f0bccd28f8b483580f77c21f8998cd1.zip |
extmod/re1.5: Workaround issue with mingw32-gcc 4.2.1.
Diffstat (limited to 'extmod/re1.5/compilecode.c')
-rw-r--r-- | extmod/re1.5/compilecode.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |