diff --git a/ApplicationLibCode/UnitTests/RimEmReader-Test.cpp b/ApplicationLibCode/UnitTests/RimEmReader-Test.cpp index e7cc4cefbc..5b8724c542 100644 --- a/ApplicationLibCode/UnitTests/RimEmReader-Test.cpp +++ b/ApplicationLibCode/UnitTests/RimEmReader-Test.cpp @@ -54,7 +54,6 @@ TEST( RigReservoirTest, DISABLED_TestImportGrid ) { auto attr = mainFile.openAttribute( "description::OriginNED" ); H5::DataType type = attr.getDataType(); - auto storageSize = attr.getStorageSize(); attr.read( type, originNED.data() ); } @@ -64,26 +63,23 @@ TEST( RigReservoirTest, DISABLED_TestImportGrid ) { auto attr = group.openAttribute( "cell_sizes" ); H5::DataType type = attr.getDataType(); - auto storageSize = attr.getStorageSize(); attr.read( type, cellSizes.data() ); } { auto attr = group.openAttribute( "num_cells" ); H5::DataType type = attr.getDataType(); - auto storageSize = attr.getStorageSize(); attr.read( type, numCells.data() ); } { auto attr = group.openAttribute( "origin" ); H5::DataType type = attr.getDataType(); - auto storageSize = attr.getStorageSize(); attr.read( type, originMesh.data() ); } } H5::Group group = mainFile.openGroup( "Data" ); auto numObj = group.getNumObjs(); - for ( auto i = 0; i < numObj; i++ ) + for ( size_t i = 0; i < numObj; i++ ) { auto objName = group.getObjnameByIdx( i ); auto objType = group.getObjTypeByIdx( i );