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