Browse Source

remove unused variable

ok tedu@
OPENBSD_5_7
chl 10 years ago
parent
commit
d541887190
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      src/lib/libc/stdlib/random.c

+ 1
- 3
src/lib/libc/stdlib/random.c View File

@ -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. * Copyright (c) 1983 Regents of the University of California.
* All rights reserved. * All rights reserved.
@ -254,8 +254,6 @@ __warn_references(srandom,
void void
srandomdev(void) srandomdev(void)
{ {
size_t len;
LOCK(); LOCK();
use_arc4random = 1; use_arc4random = 1;
UNLOCK(); UNLOCK();


Loading…
Cancel
Save