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

parser: fix unused variable warning

This commit is contained in:
Unknown User 2019-11-22 03:23:01 +01:00 committed by Alexander Medvednikov
parent d569f23e1c
commit 7c802f31d3

View File

@ -320,7 +320,7 @@ fn (p mut Parser) name_expr() string {
new_f := f
p.fn_call(mut new_f, 0, '', '')
if f.is_generic {
f2 := p.table.find_fn(f.name) or {
_ = p.table.find_fn(f.name) or {
return ''
}
// println('after call of generic instance $new_f.name(${new_f.str_args(p.table)}) $new_f.typ')