From: Jérémie Astor Date: Tue, 7 Sep 2021 10:25:13 +0000 (+0200) Subject: :art: Fix fread warning X-Git-Tag: nightly~462 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=b2f7269927195ca6429f7a8e4ed74e291c40f4ea;p=gwion.git :art: Fix fread warning --- 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); }