diff --git a/appveyor.yml b/appveyor.yml index 556c1ce..aa9aa9e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,6 +1,6 @@ # This config file is used by appveyor.com to build Windows release binaries -version: 0.4.2-b{build} +version: 0.4.3.dev0-b{build} branches: only: diff --git a/mwparserfromhell/parser/ctokenizer/definitions.c b/mwparserfromhell/parser/ctokenizer/definitions.c index db18d47..e5b32da 100644 --- a/mwparserfromhell/parser/ctokenizer/definitions.c +++ b/mwparserfromhell/parser/ctokenizer/definitions.c @@ -81,11 +81,11 @@ static int unicode_in_string_list(PyObject *input, const char **list) { const char *string; PyObject *temp = unicode_to_lcase_ascii(input, &string); + int retval = 0; if (!temp) return 0; - int retval = 0; while (*list) { if (!strcmp(*(list++), string)) { retval = 1;