mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Increase warning level
* Set warning level to /W3 for MSVC to catch more warnings * remove several excluded checks for clang * removed several unused variables * Hide warnings qwt * add missing parentheses in logical expressions * Remove double check on same logical expression
This commit is contained in:
@@ -47,7 +47,7 @@ void RigTexturedSection::setWhatToUpdate( WhatToUpdateEnum updateInfo, int index
|
||||
if ( index < 0 )
|
||||
{
|
||||
start = 0;
|
||||
stop = m_sectionParts.size();
|
||||
stop = static_cast<int>( m_sectionParts.size() );
|
||||
}
|
||||
|
||||
for ( int i = start; i < stop; i++ )
|
||||
@@ -94,7 +94,7 @@ bool RigTexturedSection::isValid() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
int RigTexturedSection::partsCount() const
|
||||
{
|
||||
return m_sectionParts.size();
|
||||
return static_cast<int>( m_sectionParts.size() );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user