Merge pull request #533 from Ragora/bugfix-linux-release-builds

Bugfix linux release builds for Clang
This commit is contained in:
Brian Roberts 2021-08-20 21:55:16 -05:00 committed by GitHub
commit c04f3ae166
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 27 additions and 25 deletions

View file

@ -975,13 +975,16 @@ ConsoleSetType( TypePID )
else
{
Torque::UUID uuid;
if( !uuid.fromString( argv[ 0 ] ) )
{
if( !uuid.fromString( argv[ 0 ] ) )
{
Con::errorf( "Error parsing UUID in PID: '%s'", argv[ 0 ] );
*pid = NULL;
}
else
*pid = SimPersistID::findOrCreate( uuid );
}
else
{
*pid = SimPersistID::findOrCreate(uuid);
}
}
}
else