Commit ecb89ba8 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

msvcrt: Move side effect out of assert (Coverity).

parent 85045480
......@@ -1184,7 +1184,8 @@ static BOOL handle_template(struct parsed_symbol* sym)
const char* name;
const char* args;
assert(*sym->current++ == '$');
assert(*sym->current == '$');
sym->current++;
if (!(name = get_literal_string(sym))) return FALSE;
if (!(args = get_args(sym, NULL, FALSE, '<', '>'))) return FALSE;
sym->result = str_printf(sym, "%s%s", name, args);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment