Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removing unreachable codes in gbackend #23904

Merged
merged 1 commit into from
Sep 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 0 additions & 6 deletions modules/gapi/src/api/gbackend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ cv::gapi::GBackend::Priv::compile(const ade::Graph&,
{
// ...and this method is here for the same reason!
GAPI_Error("InternalError");
return {};
}

std::unique_ptr<cv::gimpl::GIslandExecutable>
Expand Down Expand Up @@ -224,7 +223,6 @@ void bindOutArg(Mag& mag, const RcDesc &rc, const GRunArgP &arg, HandleRMat hand

default:
util::throw_error(std::logic_error("Unsupported GShape type"));
break;
}
}

Expand Down Expand Up @@ -256,7 +254,6 @@ void resetInternalData(Mag& mag, const Data &d)

default:
util::throw_error(std::logic_error("Unsupported GShape type"));
break;
}
}

Expand Down Expand Up @@ -284,7 +281,6 @@ cv::GRunArg getArg(const Mag& mag, const RcDesc &ref)
mag.meta<cv::MediaFrame>().at(ref.id));
default:
util::throw_error(std::logic_error("Unsupported GShape type"));
break;
}
}

Expand Down Expand Up @@ -327,7 +323,6 @@ cv::GRunArgP getObjPtr(Mag& mag, const RcDesc &rc, bool is_umat)

default:
util::throw_error(std::logic_error("Unsupported GShape type"));
break;
}
}

Expand Down Expand Up @@ -359,7 +354,6 @@ void writeBack(const Mag& mag, const RcDesc &rc, GRunArgP &g_arg)

default:
util::throw_error(std::logic_error("Unsupported GShape type"));
break;
}
}

Expand Down