remove unused variable in ocl_moments()

pull/2602/head
Maks Naumov 11 years ago
parent eb45cf0c93
commit befbe89bdf
  1. 4
      modules/ocl/src/moments.cpp

@ -266,7 +266,7 @@ namespace cv
int src_step = (int)(src.step/src.elemSize());
int dstm_step = (int)(dst_m.step/dst_m.elemSize());
vector<pair<size_t , const void *> > args,args_sum;
vector<pair<size_t , const void *> > args;
args.push_back( make_pair( sizeof(cl_mem) , (void *)&src.data ));
args.push_back( make_pair( sizeof(cl_int) , (void *)&src.rows ));
args.push_back( make_pair( sizeof(cl_int) , (void *)&src.cols ));
@ -384,4 +384,4 @@ namespace cv
return mom;
}
}
}
}

Loading…
Cancel
Save