mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 08:13:04 +04:00
build: unreachable code after CV_Error() (part 2)
This commit is contained in:
@@ -54,7 +54,6 @@ Ptr<ExposureCompensator> ExposureCompensator::createDefault(int type)
|
||||
if (type == GAIN_BLOCKS)
|
||||
return makePtr<BlocksGainCompensator>();
|
||||
CV_Error(Error::StsBadArg, "unsupported exposure compensation method");
|
||||
return Ptr<ExposureCompensator>();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user