Quiet Coverity.

This commit is contained in:
Jeff Young 2021-02-18 10:34:55 +00:00
parent 896188ca5e
commit fd91529d88
1 changed files with 8 additions and 2 deletions

View File

@ -373,7 +373,10 @@ protected:
relPath = filePath;
SetValue( relPath );
m_grid->CommitPendingChanges();
if( !m_grid->CommitPendingChanges() )
; // shouldn't happen, but Coverity doesn't know that
*m_currentDir = lastPath;
}
}
@ -397,7 +400,10 @@ protected:
relPath = filePath;
SetValue( relPath );
m_grid->CommitPendingChanges();
if( !m_grid->CommitPendingChanges() )
; // shouldn't happen, but Coverity doesn't know that
*m_currentDir = relPath;
}
}