Skip to content

Commit

Permalink
Avoid reuse of string variable
Browse files Browse the repository at this point in the history
Run of regression tests in debug mode failed
  • Loading branch information
magnesj committed Oct 25, 2024
1 parent a7d521c commit 47d4d90
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,7 @@ RifEclipseSummaryAddress RifEclipseSummaryAddress::fromEclipseTextAddressParseEr

if ( tokens.size() > 1 )
{
auto firstToken = RiaStdStringTools::trimString( tokens[0] );
firstToken = RiaStdStringTools::toUpper( firstToken );
auto firstToken = RiaStdStringTools::toUpper( RiaStdStringTools::trimString( tokens[0] ) );

if ( ( firstToken == "ER" ) || ( firstToken == "ERR" ) || ( firstToken == "ERROR" ) )
{
Expand Down

0 comments on commit 47d4d90

Please sign in to comment.