Fixes various compiler diagnostics

Found with LLVM 3.9.1 and then fixed the most severe categories.
This commit is contained in:
Daniel J. Hofmann
2017-01-06 13:21:54 +01:00
committed by Daniel J. H
parent b5d5f309a3
commit 1153b78c06
12 changed files with 19 additions and 24 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ Storage::ReturnCode Storage::Run(int max_wait)
}
}
// hard unlock in case of any exception.
catch (boost::interprocess::lock_exception &ex)
catch (boost::interprocess::lock_exception &)
{
barriers.current_region_mutex.unlock_upgradable();
// make sure we exit here because this is bad