Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 3d02a6e

Browse files
committed
Issue 18332 - rt.util.random.Rand48 remove unnecessary assert
1 parent 544946d commit 3d02a6e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/rt/util/random.d

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ pure:
2222

2323
void seed(uint seedval)
2424
{
25-
assert(seedval);
2625
rng_state = cast(ulong)seedval << 16 | 0x330e;
2726
popFront();
2827
}

0 commit comments

Comments
 (0)