From e424c5a2f05aad5e75f8cda7f252daed8e5015f8 Mon Sep 17 00:00:00 2001 From: Ivan Berg Date: Fri, 2 Feb 2024 14:59:25 -0800 Subject: [PATCH] Fix another Linux build issue due to unused param (on Linux) --- onnxruntime/core/session/inference_session.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/onnxruntime/core/session/inference_session.cc b/onnxruntime/core/session/inference_session.cc index 68947845a5543..c1d48c731b988 100644 --- a/onnxruntime/core/session/inference_session.cc +++ b/onnxruntime/core/session/inference_session.cc @@ -507,6 +507,8 @@ void InferenceSession::ConstructorCommon(const SessionOptions& session_options, } void InferenceSession::TraceSessionOptions(const SessionOptions& session_options, bool rundown) { + (void)rundown; // Otherwise Linux build error + LOGS(*session_logger_, INFO) << session_options; #ifdef _WIN32