From 450e114e1e1651c65dfcdbfa3c6f3967163976b3 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 30 Oct 2021 23:23:17 +0000 Subject: 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 --- src/librandom/autosurf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librandom/autosurf.c b/src/librandom/autosurf.c index 8775bef..04a47c2 100644 --- 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) ; } -- cgit v1.2.3