summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorchl <>2014-10-13 20:54:13 +0000
committerchl <>2014-10-13 20:54:13 +0000
commite21bfb15154856759fce9f936be5419a51a08538 (patch)
tree87e0afa679b221f989bd3179d0e49d685ae41825 /src/lib
parenta6310036ab6f54381e75674caa16a40e24654a2d (diff)
downloadopenbsd-e21bfb15154856759fce9f936be5419a51a08538.tar.gz
openbsd-e21bfb15154856759fce9f936be5419a51a08538.tar.bz2
openbsd-e21bfb15154856759fce9f936be5419a51a08538.zip
remove unused variable
ok tedu@
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libc/stdlib/random.c4
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,
254void 254void
255srandomdev(void) 255srandomdev(void)
256{ 256{
257 size_t len;
258
259 LOCK(); 257 LOCK();
260 use_arc4random = 1; 258 use_arc4random = 1;
261 UNLOCK(); 259 UNLOCK();