fixed warning

This commit is contained in:
Ilya Lavrenov
2014-04-14 14:39:46 +04:00
parent ad7f2311c0
commit 884b706b3a
6 changed files with 11 additions and 7 deletions

View File

@@ -696,7 +696,7 @@ int cv::countNonZero( InputArray _src )
if (src.dims <= 2 || src.isContinuous())
{
IppiSize roiSize = { src.cols, src.rows };
Ipp32s count, srcstep = (Ipp32s)src.step;
Ipp32s count = 0, srcstep = (Ipp32s)src.step;
IppStatus status = (IppStatus)-1;
if (src.isContinuous())