summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2021-01-19 19:41:50 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-20 19:19:34 +0100
commite849c62f553d38010850c39d726e7c400b8c9a64 (patch)
tree8345600c468032161a439e54755da3fb6466c346 /Userland/Libraries/LibC
parentc8465b4c1a5ec64fda51d2a7f4fa33b6126f91d1 (diff)
downloadserenity-e849c62f553d38010850c39d726e7c400b8c9a64.zip
Conway: Don't run misleading srand()
The randomness is taken from arc4random() which is independent from srand/rand/rand_r, so there's no need to call srand(). At best, it confuses the reader to think that there would eventually be a call to rand().
Diffstat (limited to 'Userland/Libraries/LibC')
0 files changed, 0 insertions, 0 deletions