Merge pull request #606 from SRSaunders/game-return-fix

Update gameReturn_t() to explicitly initialize sessionCommand
This commit is contained in:
Robert Beckebans 2021-09-11 12:55:00 +02:00 committed by GitHub
commit 6510531ad8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,6 +48,7 @@ struct gameReturn_t
{
gameReturn_t() :
sessionCommand( "" ), // SRS - Explicitly init sessionCommand otherwise can be optimized out and skipped with gcc or Apple clang
syncNextGameFrame( false ),
vibrationLow( 0 ),
vibrationHigh( 0 )