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:
@ -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 )
|
||||
|
Reference in New Issue
Block a user