From 84b517f5a0cffea09c549c77027ea27540850029 Mon Sep 17 00:00:00 2001 From: sivanov-work Date: Mon, 4 Apr 2022 08:25:03 +0300 Subject: [PATCH] Fix warning --- modules/gapi/src/backends/ie/giebackend.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/gapi/src/backends/ie/giebackend.cpp b/modules/gapi/src/backends/ie/giebackend.cpp index 4969b79860..6d851d3547 100644 --- a/modules/gapi/src/backends/ie/giebackend.cpp +++ b/modules/gapi/src/backends/ie/giebackend.cpp @@ -618,6 +618,7 @@ size_t IECallContext::releaseKeepAliveFrame(req_key_t key) { } elapsed_count = keep_alive_pp_frames.size(); } + cv::util::suppress_unused_warning(prev_slot); GAPI_LOG_DEBUG(nullptr, "Release keep alive frame, slot: " << prev_slot << ", reserved frames count: " << elapsed_count); return elapsed_count;