commit 450e114e1e1651c65dfcdbfa3c6f3967163976b3
parent 2da0223d5d1e91a7154996969ce44f48d9838a4f
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date: Sat, 30 Oct 2021 23:23:17 +0000
Don't return void
Error by: Studio 12.6 Sun C 5.15 SunOS_i386 2017/05/30
Reported by schmonz
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/librandom/autosurf.c b/src/librandom/autosurf.c
@@ -14,5 +14,5 @@ void autosurf (char *s, size_t n)
surf_init(&ctx, tmp) ;
need4seed = 0 ;
}
- return surf(&ctx, s, n) ;
+ surf(&ctx, s, n) ;
}