ci: run vfmt over vlib/v/gen/c/fn.v
parent
40fff7b56a
commit
8f160ee3ed
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue