mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-23 11:49:50 +00:00
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:
parent
210f522486
commit
4cdc883934
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user