diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-10-30 23:23:17 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2021-10-30 23:23:17 +0000 |
commit | 450e114e1e1651c65dfcdbfa3c6f3967163976b3 (patch) | |
tree | be78736694ab8cb3f82edd3a60a05b9346408075 | |
parent | 2da0223d5d1e91a7154996969ce44f48d9838a4f (diff) | |
download | skalibs-450e114e1e1651c65dfcdbfa3c6f3967163976b3.tar.xz |
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>
-rw-r--r-- | src/librandom/autosurf.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) ; } |