mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Make Linux happy
Use correct type Remove unused variable Fix placement of local variable
This commit is contained in:
parent
058573b391
commit
860e6d54a9
@ -80,7 +80,8 @@ RimFormationNames* RicImportFormationNamesFeature::importFormationFiles( const Q
|
||||
|
||||
if ( anyValidColor )
|
||||
{
|
||||
RicImportFormationNamesFeature::addCustomColorLegend( QFileInfo( fileNames[i] ).baseName(), formationNames[i] );
|
||||
QString baseName = QFileInfo( fileNames[i] ).baseName();
|
||||
RicImportFormationNamesFeature::addCustomColorLegend( baseName, formationNames[i] );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -112,7 +112,7 @@ bool RifSurfaceExporter::writePetrellPtlFile( const QString&
|
||||
out << "#History: No history \n";
|
||||
out << "#Z_units: meters \n";
|
||||
|
||||
for ( int i = 0; i < vertices.size(); i++ )
|
||||
for ( size_t i = 0; i < vertices.size(); i++ )
|
||||
{
|
||||
out << vertices[i].x() << " ";
|
||||
out << vertices[i].y() << " ";
|
||||
|
@ -64,7 +64,6 @@ std::vector<RimFormationNames*> RimFormationNamesCollection::importFiles( const
|
||||
{
|
||||
QStringList newFileNames;
|
||||
std::vector<RimFormationNames*> formNamesObjsToReload;
|
||||
size_t formationListBeforeImportCount = m_formationNamesList.size();
|
||||
|
||||
for ( const QString& newFileName : fileNames )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user