remove unused variable in ocl_moments()
This commit is contained in:
parent
eb45cf0c93
commit
befbe89bdf
@ -266,7 +266,7 @@ namespace cv
|
|||||||
int src_step = (int)(src.step/src.elemSize());
|
int src_step = (int)(src.step/src.elemSize());
|
||||||
int dstm_step = (int)(dst_m.step/dst_m.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_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.rows ));
|
||||||
args.push_back( make_pair( sizeof(cl_int) , (void *)&src.cols ));
|
args.push_back( make_pair( sizeof(cl_int) , (void *)&src.cols ));
|
||||||
@ -384,4 +384,4 @@ namespace cv
|
|||||||
return mom;
|
return mom;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user