misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
evilsocket 2018-04-26 12:43:13 +02:00
commit b8d8c459c8
No known key found for this signature in database
GPG key ID: 1564D7F30393A456

View file

@ -30,7 +30,7 @@ func UniqueInts(a []int, sorted bool) []int {
tmp[n] = true
}
for n, _ := range tmp {
for n := range tmp {
uniq = append(uniq, n)
}