(main) [_WIN32]: remove getpid() from the random seed as

it did not improve the randomness of the seed.
This commit is contained in:
Ron Koenderink 2004-12-29 23:20:24 +00:00
parent f6666518c7
commit 331aac2afa

View file

@ -195,9 +195,6 @@ main(int argc, char *argv[])
int i = 0; int i = 0;
rnd_seed = time(NULL); rnd_seed = time(NULL);
#if !defined(_WIN32)
rnd_seed += getpid();
#endif
while ((opt = getopt(argc, argv, "ae:ioqs:R:")) != EOF) { while ((opt = getopt(argc, argv, "ae:ioqs:R:")) != EOF) {
switch (opt) { switch (opt) {