diff options
author | 2014-10-13 20:54:13 +0000 | |
---|---|---|
committer | 2014-10-13 20:54:13 +0000 | |
commit | 57b09d856fabb7b9ff063d5b8d2faa96fe56ceae (patch) | |
tree | d2add9918c5a37224e591986be26c38ff648cc16 /lib/libc/stdlib/random.c | |
parent | Carefully quote the flags argument such that leading blank characters (diff) | |
download | wireguard-openbsd-57b09d856fabb7b9ff063d5b8d2faa96fe56ceae.tar.xz wireguard-openbsd-57b09d856fabb7b9ff063d5b8d2faa96fe56ceae.zip |
remove unused variable
ok tedu@
Diffstat (limited to 'lib/libc/stdlib/random.c')
-rw-r--r-- | lib/libc/stdlib/random.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/stdlib/random.c b/lib/libc/stdlib/random.c index a71402ace56..e4ff07ea0c3 100644 --- a/lib/libc/stdlib/random.c +++ b/lib/libc/stdlib/random.c @@ -1,4 +1,4 @@ -/* $OpenBSD: random.c,v 1.23 2014/07/13 14:21:14 tedu Exp $ */ +/* $OpenBSD: random.c,v 1.24 2014/10/13 20:54:13 chl Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. * All rights reserved. @@ -254,8 +254,6 @@ __warn_references(srandom, void srandomdev(void) { - size_t len; - LOCK(); use_arc4random = 1; UNLOCK(); |