Skip to content

Commit 1ece14b

Browse files
committed
[ORC] Silence a buggy GCC unused argument warning.
1 parent 02fe58d commit 1ece14b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/include/llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ class WrapperFunctionAsyncHandlerHelper<RetT(SendResultT, ArgTs...),
315315
static void callAsync(HandlerT &&H,
316316
SerializeAndSendResultT &&SerializeAndSendResult,
317317
ArgTupleT Args, std::index_sequence<I...>) {
318+
(void)Args; // Silence a buggy GCC warning.
318319
return std::forward<HandlerT>(H)(std::move(SerializeAndSendResult),
319320
std::move(std::get<I>(Args))...);
320321
}

0 commit comments

Comments
 (0)