Commit 505456c0 authored by Anders Jensen Løvig's avatar Anders Jensen Løvig
Browse files

Ignore return values

parent 0ca68019
Pipeline #21468 passed with stages
in 1 minute and 2 seconds
......@@ -152,12 +152,12 @@ func benchmarkCombine(votecount, serverCount, reqServer int, b *testing.B) {
for i, ballotbox := range ballotBoxes {
ID := UniqueID(strconv.Itoa(i + 1))
for _, ballot := range ballots {
ballotbox.Put(ballot[ID])
_ = ballotbox.Put(ballot[ID])
}
tally := ballotbox.Tally()
for i := 0; i < reqServer; i++ {
tallyBoxes[0].Put(tally)
_ = tallyBoxes[0].Put(tally)
}
}
......@@ -362,5 +362,4 @@ func TestHandleTally(t *testing.T) {
e.HandleTally("3", tally2)
fmt.Println("Phase:", e.Status.Phase)
})
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment