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

build: unreachable code after CV_Error() (part 2)

This commit is contained in:
Alexander Alekhin
2018-04-24 13:48:21 +03:00
parent 576d2dbac0
commit 6b581c4e51
25 changed files with 23 additions and 89 deletions
@@ -3980,7 +3980,6 @@ namespace cv{
}
CV_Error(CV_StsUnsupportedFormat, "unsupported label/image type");
return -1;
}
}
@@ -4003,7 +4002,6 @@ int cv::connectedComponents(InputArray img_, OutputArray _labels, int connectivi
}
else{
CV_Error(CV_StsUnsupportedFormat, "the type of labels must be 16u or 32s");
return 0;
}
}