1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

build: unreachable code after CV_Error()

This commit is contained in:
Alexander Alekhin
2018-04-23 14:32:40 +03:00
parent 9615f8c994
commit 4cbec82ac1
15 changed files with 9 additions and 105 deletions
-1
View File
@@ -74,7 +74,6 @@ Ptr<Blender> Blender::createDefault(int type, bool try_gpu)
if (type == MULTI_BAND)
return makePtr<MultiBandBlender>(try_gpu);
CV_Error(Error::StsBadArg, "unsupported blending method");
return Ptr<Blender>();
}