Fix -Wunused-result

Fixes #281
This commit is contained in:
Dennis Klein 2020-06-17 15:05:34 +02:00
parent 9724f184f4
commit a90dbf64de

View File

@ -65,7 +65,10 @@ struct DDSEnvironment::Impl
" mkdir -p \"$HOME/.DDS\"\n"
" dds-user-defaults --ignore-default-sid -d -c \"$HOME/.DDS/DDS.cfg\"\n"
"fi\n";
std::system(cmd.str().c_str());
auto rc(std::system(cmd.str().c_str()));
if (rc != 0) {
LOG(warn) << "DDSEnvironment::SetupConfigHome failed";
}
}
auto SetupPath() -> void