From 3ffed0bf6e0822b6a69b2af39d6c8ba787cb61ee Mon Sep 17 00:00:00 2001 From: Anton Potapov Date: Thu, 2 Apr 2020 12:05:34 +0300 Subject: [PATCH] GAPI - KW fixes - remove unreachable code in GIsland::producer() --- modules/gapi/src/compiler/gislandmodel.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/gapi/src/compiler/gislandmodel.cpp b/modules/gapi/src/compiler/gislandmodel.cpp index 75644fa25b..21dd02bee2 100644 --- a/modules/gapi/src/compiler/gislandmodel.cpp +++ b/modules/gapi/src/compiler/gislandmodel.cpp @@ -117,8 +117,7 @@ ade::NodeHandle GIsland::producer(const ade::Graph &g, } // Consistency: A GIsland requested for producer() of slot_nh should // always had the appropriate GModel node handle in its m_out_ops vector. - GAPI_Assert(false); - return ade::NodeHandle(); + GAPI_Assert(false && "Broken GIslandModel ?."); } std::string GIsland::name() const