Commit f958f29c authored by Seon-Wook Park's avatar Seon-Wook Park

spatialGradient: Suppress uninitialised j warnings

parent 62cad09c
......@@ -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
......
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