ci: run vfmt over vlib/v/gen/c/fn.v

pull/8575/head
Delyan Angelov 2021-02-05 11:18:29 +02:00
parent 40fff7b56a
commit 8f160ee3ed
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ fn (mut g Gen) gen_fn_decl(node ast.FnDecl, skip bool) {
}
*/
if g.pref.skip_unused {
is_used_by_main := g.table.used_fns[ node.name ]
is_used_by_main := g.table.used_fns[node.name]
// println('> is_used_by_main: $is_used_by_main | node.name: $node.name')
if !is_used_by_main {
g.writeln('// fn $node.name UNUSED')