mirror of
https://github.com/reactos/wine.git
synced 2025-02-18 11:58:22 +00:00
msvcrt: Move side effect out of assert (Coverity).
This commit is contained in:
parent
8504548037
commit
ecb89ba89e
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user