Index: llvm/trunk/lib/IR/LLVMContext.cpp =================================================================== --- llvm/trunk/lib/IR/LLVMContext.cpp +++ llvm/trunk/lib/IR/LLVMContext.cpp @@ -86,11 +86,13 @@ 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; }