Fix unused return value (#7060)
author오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Fri, 30 Aug 2019 07:17:14 +0000 (16:17 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Fri, 30 Aug 2019 07:17:14 +0000 (16:17 +0900)
Fix unused return value of call for dimension valid check

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
runtimes/libs/cker/include/cker/operation/Concatenation.h

index 09b7811..69a179c 100644 (file)
@@ -55,7 +55,8 @@ inline void Concatenation(const ConcatenationParams &params, const Shape *const
     {
       if (j != axis)
       {
-        MatchingDim(*input_shapes[i], j, output_shape, j);
+        auto dim_checked = MatchingDim(*input_shapes[i], j, output_shape, j);
+        UNUSED_RELEASE(dim_checked);
       }
     }
     concat_size += input_shapes[i]->Dims(axis);