Sfoglia il codice sorgente

unittest: Fix compiler warning

Kim Kulling 8 anni fa
parent
commit
51520cb5f1
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      test/unit/utObjTools.cpp

+ 0 - 1
test/unit/utObjTools.cpp

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