adding -Werror=unused-result compilation flag

Change-Id: I2869d0a150918ad56cefed07d278cbcc6ef5a4b4
This commit is contained in:
Evgeny committed 2018-07-13 16:15:48 -05:00
1 parent 98bae77eea
commit 2f83829f4f
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -169,7 +169,7 @@ class Logger {
if (error_ == false) {
error_ = true;
if (session_dir_.empty() == false) {
//fopen(std::string(session_dir_ + "error").c_str(), "w");
auto x = fopen(std::string(session_dir_ + "error").c_str(), "w"); (void)x;
}
}
}