spatialGradient: Suppress uninitialised j warnings

pull/4139/head
Seon-Wook Park 10 years ago
parent 62cad09c64
commit f958f29c55
  1. 3
      modules/imgproc/src/spatialgradient.cpp

@ -70,7 +70,8 @@ void spatialGradient( InputArray _src, OutputArray _dx, OutputArray _dy,
W = src.cols;
// Row, column indices
int i, j;
int i = 0,
j = 0;
// Store pointers to rows of input/output data
// Padded by two rows for border handling

Loading…
Cancel
Save