forked from Mirrorlandia_minetest/minetest
test_map_settings_manager: Fix Wunused-result warning
This commit is contained in:
parent
9edc984b09
commit
4ec6671909
@ -81,7 +81,7 @@ std::string read_file_to_string(const std::string &filepath)
|
|||||||
|
|
||||||
buf.resize(filesize);
|
buf.resize(filesize);
|
||||||
|
|
||||||
fread(&buf[0], 1, filesize, f);
|
UASSERTEQ(size_t, fread(&buf[0], 1, filesize, f), 1);
|
||||||
|
|
||||||
fclose(f);
|
fclose(f);
|
||||||
return buf;
|
return buf;
|
||||||
|
Loading…
Reference in New Issue
Block a user