unittest: fix compiler warning.
authorKim Kulling <kim.kulling@googlemail.com>
Wed, 21 Jun 2017 21:02:26 +0000 (23:02 +0200)
committerKim Kulling <kim.kulling@googlemail.com>
Wed, 21 Jun 2017 21:02:26 +0000 (23:02 +0200)
test/unit/utObjTools.cpp

index e888d2c..b359cfa 100644 (file)
@@ -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 );
 }
+