mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#6491 Improve code to remove clang warning
This commit is contained in:
parent
cbadfd456a
commit
ef7517f1cb
@ -144,13 +144,11 @@ void RigReservoirBuilderMock::appendCells( size_t nodeStartIndex,
|
||||
RigGridBase* hostGrid,
|
||||
std::vector<RigCell>& cells )
|
||||
{
|
||||
long long i;
|
||||
|
||||
size_t cellIndexStart = cells.size();
|
||||
cells.resize( cells.size() + cellCount );
|
||||
|
||||
#pragma omp parallel for
|
||||
for ( i = 0; i < static_cast<long long>( cellCount ); i++ )
|
||||
for ( long long i = 0; i < static_cast<long long>( cellCount ); i++ )
|
||||
{
|
||||
RigCell& riCell = cells[cellIndexStart + i];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user