summaryrefslogtreecommitdiffstats
path: root/lib/libc/crypt/arc4random.c
diff options
context:
space:
mode:
authorjca <jca@openbsd.org>2014-05-31 10:32:12 +0000
committerjca <jca@openbsd.org>2014-05-31 10:32:12 +0000
commit928d7176f4f6fffda5c626c7b4ff80d0b68ef42d (patch)
tree27d665e170b6eb845e780b630d0203e0a39240f1 /lib/libc/crypt/arc4random.c
parentKNF and other cleanup. (diff)
downloadwireguard-openbsd-928d7176f4f6fffda5c626c7b4ff80d0b68ef42d.tar.xz
wireguard-openbsd-928d7176f4f6fffda5c626c7b4ff80d0b68ef42d.zip
Delete the extraneous "return" statement at the end of a void function.
From Fritjof Bornebusch.
Diffstat (limited to 'lib/libc/crypt/arc4random.c')
-rw-r--r--lib/libc/crypt/arc4random.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/crypt/arc4random.c b/lib/libc/crypt/arc4random.c
index 7ff1495fc46..e08b729a04d 100644
--- a/lib/libc/crypt/arc4random.c
+++ b/lib/libc/crypt/arc4random.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: arc4random.c,v 1.30 2014/05/06 16:06:33 tedu Exp $ */
+/* $OpenBSD: arc4random.c,v 1.31 2014/05/31 10:32:12 jca Exp $ */
/*
* Copyright (c) 1996, David Mazieres <dm@uun.org>
@@ -165,7 +165,6 @@ _rs_random_u32(u_int32_t *val)
memcpy(val, rs_buf + RSBUFSZ - rs_have, sizeof(*val));
memset(rs_buf + RSBUFSZ - rs_have, 0, sizeof(*val));
rs_have -= sizeof(*val);
- return;
}
u_int32_t