Commit 38de2a87 authored by Alexander Alekhin's avatar Alexander Alekhin

calib3d: fix build warnings

parent e628fd7b
...@@ -2557,6 +2557,7 @@ std::vector<cv::Point2f> Chessboard::Board::getContour()const ...@@ -2557,6 +2557,7 @@ std::vector<cv::Point2f> Chessboard::Board::getContour()const
last = 1; last = 1;
break; break;
} }
/* fallthrough */
case 2: // right case 2: // right
if(iter.right(true)) if(iter.right(true))
{ {
...@@ -2566,6 +2567,7 @@ std::vector<cv::Point2f> Chessboard::Board::getContour()const ...@@ -2566,6 +2567,7 @@ std::vector<cv::Point2f> Chessboard::Board::getContour()const
last = 2; last = 2;
break; break;
} }
/* fallthrough */
case 3: // bottom case 3: // bottom
if(iter.bottom(true)) if(iter.bottom(true))
{ {
...@@ -2575,6 +2577,7 @@ std::vector<cv::Point2f> Chessboard::Board::getContour()const ...@@ -2575,6 +2577,7 @@ std::vector<cv::Point2f> Chessboard::Board::getContour()const
last = 3; last = 3;
break; break;
} }
/* fallthrough */
case 4: // left case 4: // left
if(iter.left(true)) if(iter.left(true))
{ {
......
...@@ -148,6 +148,7 @@ void CV_ChessboardDetectorTest::run( int /*start_from */) ...@@ -148,6 +148,7 @@ void CV_ChessboardDetectorTest::run( int /*start_from */)
{ {
case CHESSBOARD_SB: case CHESSBOARD_SB:
checkByGeneratorHighAccuracy(); // not supported by CHESSBOARD checkByGeneratorHighAccuracy(); // not supported by CHESSBOARD
/* fallthrough */
case CHESSBOARD: case CHESSBOARD:
checkByGenerator(); checkByGenerator();
if (ts->get_err_code() != cvtest::TS::OK) if (ts->get_err_code() != cvtest::TS::OK)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment