From 5011e382c7c405d220c05355da900b4e35f6647e Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Wed, 21 Jun 2017 23:02:26 +0200 Subject: [PATCH] unittest: fix compiler warning. --- test/unit/utObjTools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/utObjTools.cpp b/test/unit/utObjTools.cpp index e888d2ce5..b359cfa3a 100644 --- a/test/unit/utObjTools.cpp +++ b/test/unit/utObjTools.cpp @@ -109,8 +109,8 @@ TEST_F( utObjTools, countComponents_TwoLines_Success ) { buffer.resize( data.size() ); ::memcpy( &buffer[ 0 ], &data[ 0 ], data.size() ); test_parser.setBuffer( buffer ); - static const size_t Size = 4096UL; size_t numComps = test_parser.testGetNumComponentsInDataDefinition(); EXPECT_EQ( 3U, numComps ); } +