From befbe89bdfa0ccccb7499aee16c265ceff551f65 Mon Sep 17 00:00:00 2001 From: Maks Naumov Date: Wed, 9 Apr 2014 23:01:49 +0300 Subject: [PATCH] remove unused variable in ocl_moments() --- modules/ocl/src/moments.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ocl/src/moments.cpp b/modules/ocl/src/moments.cpp index f11d381..216e9ab 100644 --- a/modules/ocl/src/moments.cpp +++ b/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 > args,args_sum; + vector > 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; } } -} \ No newline at end of file +} -- 2.7.4