mirror of
https://github.com/opencv/opencv.git
synced 2024-12-02 07:39:57 +08:00
calib3d: fix build warnings
This commit is contained in:
parent
e628fd7bce
commit
38de2a8754
@ -2557,6 +2557,7 @@ std::vector<cv::Point2f> Chessboard::Board::getContour()const
|
||||
last = 1;
|
||||
break;
|
||||
}
|
||||
/* fallthrough */
|
||||
case 2: // right
|
||||
if(iter.right(true))
|
||||
{
|
||||
@ -2566,6 +2567,7 @@ std::vector<cv::Point2f> Chessboard::Board::getContour()const
|
||||
last = 2;
|
||||
break;
|
||||
}
|
||||
/* fallthrough */
|
||||
case 3: // bottom
|
||||
if(iter.bottom(true))
|
||||
{
|
||||
@ -2575,6 +2577,7 @@ std::vector<cv::Point2f> Chessboard::Board::getContour()const
|
||||
last = 3;
|
||||
break;
|
||||
}
|
||||
/* fallthrough */
|
||||
case 4: // left
|
||||
if(iter.left(true))
|
||||
{
|
||||
|
@ -148,6 +148,7 @@ void CV_ChessboardDetectorTest::run( int /*start_from */)
|
||||
{
|
||||
case CHESSBOARD_SB:
|
||||
checkByGeneratorHighAccuracy(); // not supported by CHESSBOARD
|
||||
/* fallthrough */
|
||||
case CHESSBOARD:
|
||||
checkByGenerator();
|
||||
if (ts->get_err_code() != cvtest::TS::OK)
|
||||
|
Loading…
Reference in New Issue
Block a user