1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-16 00:04:40 +00:00

build: remove random.Seed since random generator is seeded automatically in go1.20

Now that the minimum version is go1.20 we can stop seeding the random
number generator.
This commit is contained in:
Nick Craig-Wood
2024-01-13 16:56:11 +00:00
parent 13fb2fb2ec
commit 938b43c26c
6 changed files with 0 additions and 75 deletions

View File

@@ -29,12 +29,6 @@ var (
testNumber atomic.Int32
)
// Seed the random number generator
func init() {
_ = random.Seed()
}
// Test contains stats about the running test which work for files or
// directories
type Test struct {