diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-10-08 13:46:47 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-10-08 13:46:47 -0700 |
commit | 1abedcdad2eef3d262c115ac13f069900338727c (patch) | |
tree | 9eda81cc98bd5b8399298714c89fd0633b986315 /stdlib | |
parent | 1219ddfe549429272b327c020a6b3d91120a8e16 (diff) | |
download | glibc-1abedcdad2eef3d262c115ac13f069900338727c.tar.gz glibc-1abedcdad2eef3d262c115ac13f069900338727c.tar.xz glibc-1abedcdad2eef3d262c115ac13f069900338727c.zip |
Remove duplicate __set_errno call in random_r.c.
Diffstat (limited to 'stdlib')
-rw-r--r-- | stdlib/random_r.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/stdlib/random_r.c b/stdlib/random_r.c index a30055f598..90a157f9c1 100644 --- a/stdlib/random_r.c +++ b/stdlib/random_r.c @@ -255,10 +255,8 @@ __initstate_r (seed, arg_state, n, buf) else if (n < BREAK_1) { if (n < BREAK_0) - { - __set_errno (EINVAL); - goto fail; - } + goto fail; + type = TYPE_0; } else |