mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 16:13:46 +01:00
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);
|
||||
|
||||
fread(&buf[0], 1, filesize, f);
|
||||
UASSERTEQ(size_t, fread(&buf[0], 1, filesize, f), 1);
|
||||
|
||||
fclose(f);
|
||||
return buf;
|
||||
|
Loading…
Reference in New Issue
Block a user