Commit f3dfdfef authored by Alexander Karsakov's avatar Alexander Karsakov

Fixed warning with "uninitialized local variable"

parent f937f4d9
...@@ -75,7 +75,7 @@ OCL_PERF_TEST_P(DftFixture, Dft, ::testing::Combine(Values(C2C, R2R, C2R, R2C), ...@@ -75,7 +75,7 @@ OCL_PERF_TEST_P(DftFixture, Dft, ::testing::Combine(Values(C2C, R2R, C2R, R2C),
const Size srcSize = get<1>(params); const Size srcSize = get<1>(params);
int flags = get<2>(params); int flags = get<2>(params);
int in_cn, out_cn; int in_cn = 0, out_cn = 0;
switch (dft_type) switch (dft_type)
{ {
case R2R: flags |= cv::DFT_REAL_OUTPUT; in_cn = 1; out_cn = 1; break; case R2R: flags |= cv::DFT_REAL_OUTPUT; in_cn = 1; out_cn = 1; break;
......
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