From b13fe8f01ff8945f00c990c1ea940efe20a3b65c Mon Sep 17 00:00:00 2001 From: Eric Kunze Date: Thu, 17 Feb 2022 17:14:25 -0800 Subject: Cleanup code warnings Change-Id: Ia2a68d8fa9de12f85353d4828a93b05367d86353 --- src/numpy_utils.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/numpy_utils.cpp') diff --git a/src/numpy_utils.cpp b/src/numpy_utils.cpp index 3c85ae1..80c680f 100644 --- a/src/numpy_utils.cpp +++ b/src/numpy_utils.cpp @@ -319,7 +319,6 @@ NumpyUtilities::NPError NumpyUtilities::writeToNpyFileCommon(const char* filenam uint32_t totalElems = 1; assert(filename); - assert(shape.size() >= 0); assert(databuf); outfile = fopen(filename, "wb"); @@ -377,7 +376,6 @@ NumpyUtilities::NPError int headerPos = 0; assert(outfile); - assert(shape.size() >= 0); // Space-fill the header and end with a newline to start per numpy spec memset(header, 0x20, NUMPY_HEADER_SZ); -- cgit v1.2.1