Enable more compiler warnings and treat them as errors.
This commit is contained in:
+1
-4
@@ -152,10 +152,7 @@ void ModIconRow::SetFromGameState()
|
||||
{
|
||||
RString sOption = vsOptions[i];
|
||||
int iPerferredCol = OptionToPreferredColumn( sOption );
|
||||
clamp( iPerferredCol, 0, (int)m_vpModIcon.size()-1 );
|
||||
|
||||
if( iPerferredCol == -1 )
|
||||
continue; // skip
|
||||
iPerferredCol = clamp( iPerferredCol, 0, (int)m_vpModIcon.size()-1 );
|
||||
|
||||
// search for a vacant spot
|
||||
for( int j=iPerferredCol; j<NUM_OPTION_ICONS; j++ )
|
||||
|
||||
Reference in New Issue
Block a user