unittest: Fix compiler warning

pull/1310/head
Kim Kulling 2017-06-15 08:37:44 +02:00
parent a5a5343304
commit 51520cb5f1
1 changed files with 0 additions and 1 deletions

View File

@ -110,7 +110,6 @@ TEST_F( utObjTools, countComponents_TwoLines_Success ) {
::memcpy( &buffer[ 0 ], &data[ 0 ], data.size() ); ::memcpy( &buffer[ 0 ], &data[ 0 ], data.size() );
test_parser.setBuffer( buffer ); test_parser.setBuffer( buffer );
static const size_t Size = 4096UL; static const size_t Size = 4096UL;
char data_buffer[ Size ];
size_t numComps = test_parser.testGetNumComponentsInDataDefinition(); size_t numComps = test_parser.testGetNumComponentsInDataDefinition();
EXPECT_EQ( 3U, numComps ); EXPECT_EQ( 3U, numComps );