From cd018a446774a6be6e9c28aed37c177236764481 Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Sun, 17 Jun 2018 17:18:12 +0000 Subject: [PATCH] [ORC] Suppress an unused variable warning for a debug-mode only use. llvm-svn: 334911 --- llvm/lib/ExecutionEngine/Orc/Core.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/ExecutionEngine/Orc/Core.cpp b/llvm/lib/ExecutionEngine/Orc/Core.cpp index c5730378fa60..2dd491e85c02 100644 --- a/llvm/lib/ExecutionEngine/Orc/Core.cpp +++ b/llvm/lib/ExecutionEngine/Orc/Core.cpp @@ -282,6 +282,7 @@ Error MaterializationResponsibility::defineMaterializing( // symbol error. for (auto &KV : NewSymbolFlags) { auto I = SymbolFlags.insert(KV).first; + (void)I; #ifndef NDEBUG I->second |= JITSymbolFlags::Materializing; #endif