[llvm] r257431 - OrcRemoteTargetServer.h: Suppress a warning. [-Wunused-variable]
NAKAMURA Takumi via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 11 17:23:44 PST 2016
Author: chapuni
Date: Mon Jan 11 19:23:43 2016
New Revision: 257431
URL: http://llvm.org/viewvc/llvm-project?rev=257431&view=rev
Log:
OrcRemoteTargetServer.h: Suppress a warning. [-Wunused-variable]
FIXME: It may return ErrorOr.
Modified:
llvm/trunk/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h
Modified: llvm/trunk/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h?rev=257431&r1=257430&r2=257431&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h (original)
+++ llvm/trunk/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h Mon Jan 11 19:23:43 2016
@@ -156,6 +156,7 @@ private:
CompiledFnAddr, static_cast<TargetAddress>(
reinterpret_cast<uintptr_t>(TrampolineAddr)));
assert(!EC && "Compile request failed");
+ (void)&EC;
return CompiledFnAddr;
}
More information about the llvm-commits
mailing list