Fix linux build warning

This commit is contained in:
Andrey Kamaev 2012-10-22 18:19:32 +04:00
parent 769f61f8c7
commit d0ec65e80c

View File

@ -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)