Commit d0ec65e8 authored by Andrey Kamaev's avatar Andrey Kamaev

Fix linux build warning

parent 769f61f8
...@@ -3829,8 +3829,9 @@ static int zero = 0; ...@@ -3829,8 +3829,9 @@ static int zero = 0;
coeff_usage = CV_VALUE; \ coeff_usage = CV_VALUE; \
else if ((length == alpha.count) && (alpha.count == beta.count) && (beta.count == gamma.count)) \ else if ((length == alpha.count) && (alpha.count == beta.count) && (beta.count == gamma.count)) \
coeff_usage = CV_ARRAY; \ coeff_usage = CV_ARRAY; \
else \ else { \
return (PyObject*)failmsg("SnakeImage weights invalid"); \ failmsg("SnakeImage weights invalid"); \
return (PyObject*)0; } \
cvSnakeImage(image, points, length, a, b, g, coeff_usage, win, criteria, calc_gradient); \ cvSnakeImage(image, points, length, a, b, g, coeff_usage, win, criteria, calc_gradient); \
} while (0) } while (0)
......
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