From b2f7269927195ca6429f7a8e4ed74e291c40f4ea Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Tue, 7 Sep 2021 12:25:13 +0200 Subject: [PATCH] :art: Fix fread warning --- src/lib/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/string.c b/src/lib/string.c index dcb54074..e11e3efa 100644 --- a/src/lib/string.c +++ b/src/lib/string.c @@ -388,7 +388,7 @@ static SFUN(string_load) { const size_t sz = ftell(f); char c[sz + 1]; rewind(f); - fread(c, 1, sz, f); + (void)fread(c, 1, sz, f); fclose(f); *(M_Object*)RETURN = new_string2(shred->info->vm->gwion, shred, c); } -- 2.43.0