Fixed warning with "uninitialized local variable"

pull/3081/head
Alexander Karsakov 11 years ago
parent f937f4d951
commit f3dfdfef8a
  1. 2
      modules/core/perf/opencl/perf_dxt.cpp

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

Loading…
Cancel
Save