summaryrefslogtreecommitdiff
path: root/grand.c
diff options
context:
space:
mode:
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>2000-04-07 11:44:43 +0000
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>2000-04-07 11:44:43 +0000
commit028a71701c2098f33b1390b023a3d82b90bcf58a (patch)
tree9e4feb275a6f299b36d8c866e5e63c68bce21b3c /grand.c
parent7bc57ad22ad2563f904c28188331b07d828f6d90 (diff)
Fixed bug. Thanks to Marko Kreen <marko@l-t.ee> for reporting that.
2000-04-07 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * grand.c (g_rand_new): Fixed bug. Thanks to Marko Kreen <marko@l-t.ee> for reporting that.
Diffstat (limited to 'grand.c')
-rw-r--r--grand.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/grand.c b/grand.c
index 47b9700b3..3f51f0a89 100644
--- a/grand.c
+++ b/grand.c
@@ -85,8 +85,6 @@ g_rand_new (void)
if (dev_urandom)
{
if (fread (&seed, sizeof (seed), 1, dev_urandom) != 1)
- seed = 0;
- else
dev_urandom_exists = FALSE;
fclose (dev_urandom);
}