Skip to content

Commit

Permalink
removed unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
magnesj committed Dec 18, 2023
1 parent e85e33f commit 8426206
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ApplicationLibCode/UnitTests/RimEmReader-Test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() );
}

Expand All @@ -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 );
Expand Down

0 comments on commit 8426206

Please sign in to comment.