Skip to content

Commit af1df0a

Browse files
committed
minor fix for linux
1 parent bbcc100 commit af1df0a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

onnxruntime/core/providers/openvino/ov_factory.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class OpenVINOEpPluginFactory : public OrtEpFactory, public ApiPtrs {
126126
return factory->GetVendor();
127127
}
128128

129-
static uint32_t ORT_API_CALL GetVendorIdImpl(const OrtEpFactory* this_ptr) noexcept {
129+
static uint32_t ORT_API_CALL GetVendorIdImpl([[maybe_unused]] const OrtEpFactory* this_ptr) noexcept {
130130
return OpenVINOEpPluginFactory::vendor_id_;
131131
}
132132

onnxruntime/core/providers/openvino/ov_interface.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ class OVInferRequest {
159159
ov::InferRequest& GetNewObj() {
160160
return ovInfReq;
161161
}
162-
virtual void RewindKVCache(size_t index) {}
162+
virtual void RewindKVCache([[maybe_unused]] size_t index) {}
163163
};
164164

165165
class StatefulOVInferRequest : public OVInferRequest {

0 commit comments

Comments
 (0)