Fix build error by unused variable on CLLogicalNotKernel.cpp (#4233)
author이춘석/On-Device Lab(SR)/Staff Engineer/삼성전자 <chunseok.lee@samsung.com>
Mon, 14 Jan 2019 10:53:33 +0000 (19:53 +0900)
committer오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Mon, 14 Jan 2019 10:53:33 +0000 (19:53 +0900)
- Fix build error by unused variable on CLLogicalNotKernel.cpp

Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
libs/ARMComputeEx/src/core/CL/kernels/CLLogicalNotKernel.cpp

index 98bf07d..73d96ed 100644 (file)
@@ -82,7 +82,6 @@ void CLLogicalNotKernel::run(const Window &window, cl::CommandQueue &queue)
   ARM_COMPUTE_ERROR_ON_INVALID_SUBWINDOW(ICLKernel::window(), window);
 
   const TensorShape &in_shape1 = _input->info()->tensor_shape();
-  const TensorShape &out_shape = _output->info()->tensor_shape();
 
   bool can_collapse = true;
   if (in_shape1.total_size() > 1)
@@ -95,9 +94,6 @@ void CLLogicalNotKernel::run(const Window &window, cl::CommandQueue &queue)
       can_collapse ? window.collapse_if_possible(ICLKernel::window(), Window::DimZ, &has_collapsed)
                    : window;
 
-  const TensorShape &in_shape1_collapsed =
-      has_collapsed ? in_shape1.collapsed_from(Window::DimZ) : in_shape1;
-
   Window slice = collapsed.first_slice_window_3D();
 
   do