From ba25aeecc1c9728eeb6246d686be3cce2df3a0e0 Mon Sep 17 00:00:00 2001 From: Derek Lamberti Date: Tue, 10 Dec 2019 22:20:54 +0000 Subject: IVGCVSW-4246 Enable -Wextra by default !referencetests:218340 Change-Id: If24a604310d0363b1f09b406e4d53ebfeb106aad Signed-off-by: Derek Lamberti --- src/armnnUtils/TensorUtils.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/armnnUtils/TensorUtils.cpp') diff --git a/src/armnnUtils/TensorUtils.cpp b/src/armnnUtils/TensorUtils.cpp index 84fc8db053..535d68adbe 100644 --- a/src/armnnUtils/TensorUtils.cpp +++ b/src/armnnUtils/TensorUtils.cpp @@ -114,7 +114,6 @@ unsigned int GetNumElementsBetween(const TensorShape& shape, const unsigned int firstAxisInclusive, const unsigned int lastAxisExclusive) { - BOOST_ASSERT(0 <= firstAxisInclusive); BOOST_ASSERT(firstAxisInclusive <= lastAxisExclusive); BOOST_ASSERT(lastAxisExclusive <= shape.GetNumDimensions()); unsigned int count = 1; @@ -141,7 +140,6 @@ unsigned int GetUnsignedAxis(const unsigned int inputDimension, const int axis) unsigned int GetNumElementsAfter(const armnn::TensorShape& shape, unsigned int axis) { unsigned int numDim = shape.GetNumDimensions(); - BOOST_ASSERT(0 >= axis); BOOST_ASSERT(axis <= numDim - 1); unsigned int count = 1; for (unsigned int i = axis; i < numDim; i++) -- cgit v1.2.1