fix: drop zero-init of fresh name generator
This commit is contained in:
@@ -7,7 +7,9 @@ import (
|
||||
)
|
||||
|
||||
func GenerateFreshName(used set.Set[string]) string {
|
||||
var i uint64 = 0
|
||||
// Starts as '0', that is the base value of a 'uint64'.
|
||||
var i uint64
|
||||
|
||||
for {
|
||||
attempt := "_" + string(strconv.AppendUint(nil, i, 10))
|
||||
i++
|
||||
|
||||
Reference in New Issue
Block a user