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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user