Am I wrong?

On Thu, May 22, 2014 at 04:30:03PM +0200, Fritjof Bornebusch wrote:
> Hi tech,
> 
> does this return makes any sense, because it's a void function and the return 
> is at the end of the function.
> 
> fritjof
> 
> Index: arc4random.c
> ===================================================================
> RCS file: /cvs/src/lib/libc/crypt/arc4random.c,v
> retrieving revision 1.30
> diff -u -p -r1.30 arc4random.c
> --- arc4random.c        6 May 2014 16:06:33 -0000       1.30
> +++ arc4random.c        22 May 2014 14:21:35 -0000
> @@ -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
> 

Reply via email to