aboutsummaryrefslogtreecommitdiff
path: root/profiling
diff options
context:
space:
mode:
authorRob Hughes <robert.hughes@arm.com>2020-05-20 15:27:37 +0100
committerRob Hughes <robert.hughes@arm.com>2020-06-02 13:55:30 +0000
commitbb46dde88befe14583eaac83f65775a7543d4586 (patch)
tree61baff7d93acd0a24184bc0dfa8af540168e1e4c /profiling
parent8acafd13ad2169b6edc86f5e42602ec604d39648 (diff)
downloadarmnn-bb46dde88befe14583eaac83f65775a7543d4586.tar.gz
Fix a few build warnings:
* Remove redundant asserts for unsigned ints being positive * Remove unneeded include of lightweight_test.hpp header * Remove unused exception variable names * Replace hardcoded 0.0f with T() for some template functions * Add a few static_casts Change-Id: I290b0433cf995f6d0199422eaa10f816e5fd8eb9 Signed-off-by: Robert Hughes <robert.hughes@arm.com>
Diffstat (limited to 'profiling')
-rw-r--r--profiling/server/src/basePipeServer/tests/BasePipeServerTests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/profiling/server/src/basePipeServer/tests/BasePipeServerTests.cpp b/profiling/server/src/basePipeServer/tests/BasePipeServerTests.cpp
index c97fecd94d..57fc9e9da6 100644
--- a/profiling/server/src/basePipeServer/tests/BasePipeServerTests.cpp
+++ b/profiling/server/src/basePipeServer/tests/BasePipeServerTests.cpp
@@ -51,7 +51,7 @@ BOOST_AUTO_TEST_CASE(BasePipeServerTest)
unsigned int readBufferSize = packetBuffer->GetSize();
BOOST_TEST(readBuffer);
- BOOST_TEST(readBufferSize > 0);
+ BOOST_TEST(readBufferSize > 0u);
socketProfilingConnection.WritePacket(readBuffer,readBufferSize);
bufferManager.MarkRead(packetBuffer);
@@ -68,7 +68,7 @@ BOOST_AUTO_TEST_CASE(BasePipeServerTest)
readBufferSize = packetBuffer->GetSize();
BOOST_TEST(readBuffer);
- BOOST_TEST(readBufferSize > 0);
+ BOOST_TEST(readBufferSize > 0u);
socketProfilingConnection.WritePacket(readBuffer,readBufferSize);
bufferManager.MarkRead(packetBuffer);