diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-06-29 18:18:50 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-06-29 18:18:50 +0200 |
| commit | 0c4b1960d01985c2d8d6da62e8c82395b70838c8 (patch) | |
| tree | 2ec2f87ee6c9465338468e1b423447fb51e9dd3f /pkg | |
| parent | 0a971ab1d087800b55cd2bf7daed44ab323ff900 (diff) | |
pkg/ipc: suppress gometalinter warnings
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/ipc/ipc.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/ipc/ipc.go b/pkg/ipc/ipc.go index 2f7f4e928..5ab5e26a7 100644 --- a/pkg/ipc/ipc.go +++ b/pkg/ipc/ipc.go @@ -529,6 +529,8 @@ type executeReply struct { } // TODO(dvyukov): we currently parse this manually, should cast output to this struct instead. +// gometalinter complains about unused fields +// nolint type callReply struct { callIndex uint32 callNum uint32 @@ -540,7 +542,8 @@ type callReply struct { // signal/cover/comps follow } -func makeCommand(pid int, bin []string, config *Config, inFile *os.File, outFile *os.File, outmem []byte) (*command, error) { +func makeCommand(pid int, bin []string, config *Config, inFile *os.File, outFile *os.File, + outmem []byte) (*command, error) { dir, err := ioutil.TempDir("./", "syzkaller-testdir") if err != nil { return nil, fmt.Errorf("failed to create temp dir: %v", err) |
