Skip to content

Commit

Permalink
Fix another Linux build issue due to unused param (on Linux)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivberg committed Feb 2, 2024
1 parent 0a2f8fd commit e424c5a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions onnxruntime/core/session/inference_session.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e424c5a

Please sign in to comment.