run ineffassign in gometalinter

This commit is contained in:
Marten Seemann 2018-02-21 15:15:21 +08:00
parent 548916e902
commit 37aa577560
5 changed files with 6 additions and 1 deletions

View file

@ -92,6 +92,7 @@ var _ = Describe("Packing and unpacking Initial packets", func() {
Expect(err).ToNot(HaveOccurred())
payloadStartIndex := buf.Len()
aeadCl, err := crypto.NewNullAEAD(protocol.PerspectiveClient, connID, ver)
Expect(err).ToNot(HaveOccurred())
for _, f := range frames {
err := f.Write(buf, ver)
Expect(err).ToNot(HaveOccurred())