diff --git a/src/inference/src/dev/plugin.cpp b/src/inference/src/dev/plugin.cpp index a5d55877970fe9..3c0cbeb381425e 100644 --- a/src/inference/src/dev/plugin.cpp +++ b/src/inference/src/dev/plugin.cpp @@ -16,9 +16,9 @@ OPENVINO_ASSERT(m_ptr != nullptr, "OpenVINO Runtime Plugin was not initialized."); \ try { \ __VA_ARGS__; \ - } catch (const ov::NotImplemented& ex) { \ + } catch (const ov::NotImplemented&) { \ OPENVINO_NOT_IMPLEMENTED; \ - } catch (const InferenceEngine::NotImplemented& ex) { \ + } catch (const InferenceEngine::NotImplemented&) { \ OPENVINO_NOT_IMPLEMENTED; \ } catch (const std::exception& ex) { \ OPENVINO_THROW(ex.what()); \