diff --git a/modules/imgproc/src/convhull.cpp b/modules/imgproc/src/convhull.cpp index df50dde4e6..b870ee4217 100644 --- a/modules/imgproc/src/convhull.cpp +++ b/modules/imgproc/src/convhull.cpp @@ -302,7 +302,7 @@ void convexityDefects( InputArray _points, InputArray _hull, OutputArray _defect int defect_deepest_point = -1; double defect_depth = 0; bool is_defect = false; - + j=hcurr; for(;;) { // go through points to achieve next hull point