Removed a redundant comparison

This commit is contained in:
Maciej Suminski 2017-10-29 00:54:08 +02:00
parent 3ed106fb70
commit 4bf8bb79ce
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ void DIALOG_ENV_VAR_CONFIG::PopulatePathList()
bool DIALOG_ENV_VAR_CONFIG::GetPathAtIndex( unsigned int aIndex, wxString& aEnvVar, wxString& aEnvPath )
{
if( aIndex < 0 || aIndex > m_envVarMap.size() )
if( aIndex > m_envVarMap.size() )
{
return false;
}