test_map_settings_manager: Fix Wunused-result warning

This commit is contained in:
est31 2016-08-04 00:29:06 +02:00
parent 9edc984b09
commit 4ec6671909
1 changed files with 1 additions and 1 deletions

View File

@ -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;