diff --git a/v2/benchmark/Entropy_test.go b/v2/benchmark/Entropy_test.go index ace5d0ed..475f0caa 100644 --- a/v2/benchmark/Entropy_test.go +++ b/v2/benchmark/Entropy_test.go @@ -141,7 +141,7 @@ func testEntropySpeed(b *testing.B, name string) error { ec.Dispose() - if _, err := obs.Close(); err != nil { + if err := obs.Close(); err != nil { msg := fmt.Sprintf("Error during close: %v\n", err) b.Fatalf(msg) } @@ -157,7 +157,7 @@ func testEntropySpeed(b *testing.B, name string) error { ed.Dispose() - if _, err := ibs.Close(); err != nil { + if err := ibs.Close(); err != nil { msg := fmt.Sprintf("Error during close: %v\n", err) b.Fatalf(msg) }