Browse Source

unittest: fix compiler warning.

Kim Kulling 8 năm trước cách đây
mục cha
commit
5011e382c7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      test/unit/utObjTools.cpp

+ 1 - 1
test/unit/utObjTools.cpp

@@ -109,8 +109,8 @@ TEST_F( utObjTools, countComponents_TwoLines_Success ) {
     buffer.resize( data.size() );
     buffer.resize( data.size() );
     ::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;
 
 
     size_t numComps = test_parser.testGetNumComponentsInDataDefinition();
     size_t numComps = test_parser.testGetNumComponentsInDataDefinition();
     EXPECT_EQ( 3U, numComps );
     EXPECT_EQ( 3U, numComps );
 }
 }
+