Fix unused variable warnings

Differential Revision: https://reviews.llvm.org/D35280



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307740 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Konstantin Zhuravlyov 2017-07-12 00:15:53 +00:00
parent 210f522486
commit 4cdc883934

View File

@ -86,11 +86,13 @@ LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) {
pImpl->getOrInsertSyncScopeID("singlethread");
assert(SingleThreadSSID == SyncScope::SingleThread &&
"singlethread synchronization scope ID drifted!");
(void)SingleThreadSSID;
SyncScope::ID SystemSSID =
pImpl->getOrInsertSyncScopeID("");
assert(SystemSSID == SyncScope::System &&
"system synchronization scope ID drifted!");
(void)SystemSSID;
}
LLVMContext::~LLVMContext() { delete pImpl; }