aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/kernels/CLWeightsReshapeKernel.cpp
diff options
context:
space:
mode:
authorMichalis Spyrou <michalis.spyrou@arm.com>2019-07-08 11:52:46 +0100
committerMichalis Spyrou <michalis.spyrou@arm.com>2019-07-08 14:45:47 +0000
commitebdde65530c8819a16d558fc5ebb3cc519fbc344 (patch)
tree1b1d9e4838ac008c1c787dee3f441f38f21d77ff /src/core/CL/kernels/CLWeightsReshapeKernel.cpp
parent74cd112addebc7678cb763cc1cb173feb0e61bb2 (diff)
downloadComputeLibrary-ebdde65530c8819a16d558fc5ebb3cc519fbc344.tar.gz
COMPMID-2432: Fix defects reported by Coverity
Change-Id: I3db7bfffb8da95ca0b6fb0c13fef810756270b49 Signed-off-by: Michalis Spyrou <michalis.spyrou@arm.com> Reviewed-on: https://review.mlplatform.org/c/1490 Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/CL/kernels/CLWeightsReshapeKernel.cpp')
-rw-r--r--src/core/CL/kernels/CLWeightsReshapeKernel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/CL/kernels/CLWeightsReshapeKernel.cpp b/src/core/CL/kernels/CLWeightsReshapeKernel.cpp
index 7639a48a5f..590af4d184 100644
--- a/src/core/CL/kernels/CLWeightsReshapeKernel.cpp
+++ b/src/core/CL/kernels/CLWeightsReshapeKernel.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017-2018 ARM Limited.
+ * Copyright (c) 2017-2019 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -152,7 +152,7 @@ void CLWeightsReshapeKernel::run(const Window &window, cl::CommandQueue &queue)
if(_biases != nullptr)
{
add_1D_tensor_argument(idx, _biases, biases_slice);
- biases_window.slide_window_slice_1D(biases_slice);
+ ARM_COMPUTE_UNUSED(biases_window.slide_window_slice_1D(biases_slice));
}
// Run kernel