mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
build: unreachable code after CV_Error()
This commit is contained in:
@@ -53,7 +53,6 @@ Ptr<Timelapser> Timelapser::createDefault(int type)
|
||||
if (type == CROP)
|
||||
return makePtr<TimelapserCrop>();
|
||||
CV_Error(Error::StsBadArg, "unsupported timelapsing method");
|
||||
return Ptr<Timelapser>();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user