From 43205a26de6b5df7ba921ada7cbf1c3fb6e268de Mon Sep 17 00:00:00 2001 From: jca <> Date: Sat, 31 May 2014 10:32:12 +0000 Subject: [PATCH] Delete the extraneous "return" statement at the end of a void function. From Fritjof Bornebusch. --- src/lib/libc/crypt/arc4random.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/libc/crypt/arc4random.c b/src/lib/libc/crypt/arc4random.c index 7ff1495f..e08b729a 100644 --- a/src/lib/libc/crypt/arc4random.c +++ b/src/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 @@ -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