blob: 68619946d8011c452bbb388059ca002f8807caa6 [file] [log] [blame]
package main
import (
"crypto/sha256"
"hash/maphash"
)
func ignoreHashReturns() {
sha256.New().Write([]byte{}) // EXCLUDED
}
func ignoreHashMapReturns() {
var hasher maphash.Hash
hasher.Write(nil) // EXCLUDED
hasher.WriteByte(0) // EXCLUDED
hasher.WriteString("") // EXCLUDED
}