1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-24 03:03:35 +08:00

build: unreachable code after CV_Error()

This commit is contained in:
Alexander Alekhin
2018-04-24 14:16:39 +03:00
parent 7c9cff72fc
commit df483cfdc9
15 changed files with 8 additions and 31 deletions

View File

@@ -143,7 +143,6 @@ Ptr<Object> OR_pascalImp::parseAnnotation(const string &path, const string &id)
case XML_ERROR_FILE_NOT_FOUND:
error_message = "XML file not found! " + error_message;
CV_Error(Error::StsParseError, error_message);
return annotation;
default:
CV_Error(Error::StsParseError, error_message);
break;