GAPI - KW fixes

- remove unreachable code in GIsland::producer()
This commit is contained in:
Anton Potapov 2020-04-02 12:05:34 +03:00
parent 557ac3dbaf
commit 3ffed0bf6e

View File

@ -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