diff options
| author | chl <> | 2014-10-13 20:54:13 +0000 |
|---|---|---|
| committer | chl <> | 2014-10-13 20:54:13 +0000 |
| commit | e96d19d25ff68a3eb7d494fe74e5f49e99cfd041 (patch) | |
| tree | 87e0afa679b221f989bd3179d0e49d685ae41825 /src/lib/libc/stdlib | |
| parent | 4545fc52b98b4df1e50a1dbfacc381aa2da11c62 (diff) | |
| download | openbsd-e96d19d25ff68a3eb7d494fe74e5f49e99cfd041.tar.gz openbsd-e96d19d25ff68a3eb7d494fe74e5f49e99cfd041.tar.bz2 openbsd-e96d19d25ff68a3eb7d494fe74e5f49e99cfd041.zip | |
remove unused variable
ok tedu@
Diffstat (limited to 'src/lib/libc/stdlib')
| -rw-r--r-- | src/lib/libc/stdlib/random.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libc/stdlib/random.c b/src/lib/libc/stdlib/random.c index a71402ace5..e4ff07ea0c 100644 --- a/src/lib/libc/stdlib/random.c +++ b/src/lib/libc/stdlib/random.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: random.c,v 1.23 2014/07/13 14:21:14 tedu Exp $ */ | 1 | /* $OpenBSD: random.c,v 1.24 2014/10/13 20:54:13 chl Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 1983 Regents of the University of California. | 3 | * Copyright (c) 1983 Regents of the University of California. |
| 4 | * All rights reserved. | 4 | * All rights reserved. |
| @@ -254,8 +254,6 @@ __warn_references(srandom, | |||
| 254 | void | 254 | void |
| 255 | srandomdev(void) | 255 | srandomdev(void) |
| 256 | { | 256 | { |
| 257 | size_t len; | ||
| 258 | |||
| 259 | LOCK(); | 257 | LOCK(); |
| 260 | use_arc4random = 1; | 258 | use_arc4random = 1; |
| 261 | UNLOCK(); | 259 | UNLOCK(); |
