mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-21 23:00:24 -08:00
Fixed Valgrind warnings
Running cockatrice in valgrind i didn't found any bad memory leak (good!), but only a few jumps depending on uninitialized variables. Even if the possibility of crashes are remote, it's nice to sort them out.
This commit is contained in:
@@ -15,7 +15,7 @@ GameEventStorageItem::~GameEventStorageItem()
|
||||
}
|
||||
|
||||
GameEventStorage::GameEventStorage()
|
||||
: gameEventContext(0)
|
||||
: gameEventContext(0), privatePlayerId(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user