adding -Werror=unused-result compilation flag

Change-Id: I2869d0a150918ad56cefed07d278cbcc6ef5a4b4


[ROCm/rocprofiler commit: 2f83829f4f]
This commit is contained in:
Evgeny
2018-07-13 16:15:28 -05:00
förälder d397625ae5
incheckning 379e305ebd
2 ändrade filer med 2 tillägg och 1 borttagningar
+1 -1
Visa fil
@@ -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;
}
}
}