From 1b46d132a3330692fcf9a603b21363a28f46ef03 Mon Sep 17 00:00:00 2001 From: Mike Kelly Date: Wed, 3 Nov 2021 11:12:45 +0000 Subject: IVGCVSW-6430 Clear up coverity issues * Removed unreachable code * break after if else where both branches return * Removed unused operations * Result of dstPtr++ is unused * Fixed possible overflow * Axis dimensionSequence assignment can result in overflow where rank is not 4 * Removed use of old-style casts * Fixed spelling mistakes in error messages Signed-off-by: Mike Kelly Change-Id: If2a7ab63fc1d200cb18b494d99a67bbddb42f0f8 --- ConversionUtils_1_2.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ConversionUtils_1_2.hpp') diff --git a/ConversionUtils_1_2.hpp b/ConversionUtils_1_2.hpp index acf787f3..155fdf40 100644 --- a/ConversionUtils_1_2.hpp +++ b/ConversionUtils_1_2.hpp @@ -2396,7 +2396,7 @@ bool ConvertSpaceToDepth(const HalOperation& operation, const HalModel& model, C IConnectableLayer* const layer = data.m_Network->AddSpaceToDepthLayer(desc); if (!layer) { - return Fail("%s: Could not add the SpaceToDephLayer", __func__); + return Fail("%s: Could not add the SpaceToDepthLayer", __func__); } input.Connect(layer->GetInputSlot(0)); -- cgit v1.2.1