GAPI - KW fixes

- remove unreachable code in GIsland::producer()
pull/16952/head
Anton Potapov 5 years ago
parent 557ac3dbaf
commit 3ffed0bf6e
  1. 3
      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

Loading…
Cancel
Save