1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Merge pull request #4220 from alalek:fix_gcc_warnings_2_4

This commit is contained in:
Maksim Shabunin
2015-07-24 13:09:44 +00:00
2 changed files with 5 additions and 3 deletions
@@ -166,10 +166,10 @@ cvTsDistTransform( const CvMat* _src, CvMat* _dst, int dist_type,
int i, j, k;
int width = _src->cols, height = _src->rows;
const float init_val = 1e6;
float mask[3];
float mask[3] = { 0 };
CvMat* temp;
int ofs[16];
float delta[16];
int ofs[16] = { 0 };
float delta[16] = { 0 };
int tstep, count;
assert( mask_size == 3 || mask_size == 5 );