mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
Merge pull request #21937 from Kumataro:4.x-fix-21911
* Fix warnings for clang15 * Fix warnings: Remove unnecessary code * Fix warnings: Remove unnecessary code
This commit is contained in:
@@ -220,6 +220,7 @@ int CV_ApproxPolyTest::check_slice( CvPoint StartPt, CvPoint EndPt,
|
||||
|
||||
*_j = j;
|
||||
|
||||
(void) TotalErrors; // To avoid -Wunused-but-set-variable warning
|
||||
//return TotalErrors;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user