1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

windows: WideCharToMultiByte() returns an int

This commit is contained in:
Alexander Medvednikov
2019-12-07 17:31:07 +03:00
parent ad6adf327e
commit 9cba3bdf78
3 changed files with 5 additions and 4 deletions

View File

@ -619,7 +619,7 @@ fn (p mut Parser) check_unused_and_mut_vars() {
if var.name == '' {
break
}
if !var.is_used && !p.pref.is_repl && !var.is_arg &&
if !var.is_used && !p.pref.is_repl && !var.is_arg &&
!p.pref.translated && var.name != 'tmpl_res'
{
p.production_error_with_token_index('`$var.name` declared and not used', var.token_idx )