From f5d67fbd9c633bd2e0e815ada0a8dea352ea42d4 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 31 Jul 2018 12:16:54 +0200 Subject: .gometalinter.json: enable gofmt The part that we want from gofmt is simplify (-s). Fix all code that needs fixing. Update #538 --- tools/syz-benchcmp/benchcmp.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools') diff --git a/tools/syz-benchcmp/benchcmp.go b/tools/syz-benchcmp/benchcmp.go index b319b51d2..b34acafd7 100644 --- a/tools/syz-benchcmp/benchcmp.go +++ b/tools/syz-benchcmp/benchcmp.go @@ -44,10 +44,10 @@ func main() { } graphs := []*Graph{ - &Graph{Name: "coverage"}, - &Graph{Name: "corpus"}, - &Graph{Name: "exec total"}, - &Graph{Name: "crash types"}, + {Name: "coverage"}, + {Name: "corpus"}, + {Name: "exec total"}, + {Name: "crash types"}, } for i, fname := range flag.Args() { data := readFile(fname) -- cgit mrf-deployment