Skip to content
Snippets Groups Projects
Commit 4ec66719 authored by est31's avatar est31
Browse files

test_map_settings_manager: Fix Wunused-result warning

parent 9edc984b
No related branches found
No related tags found
No related merge requests found
...@@ -81,7 +81,7 @@ std::string read_file_to_string(const std::string &filepath) ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment