mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
Explicitly initialize 'ready' flag
This commit is contained in:
parent
0610a13789
commit
eb16759a48
1 changed files with 2 additions and 0 deletions
|
@ -383,6 +383,8 @@ WDLEntry::WDLEntry(const Position& pos, Key keys[])
|
|||
{
|
||||
memset(this, 0, sizeof(WDLEntry));
|
||||
|
||||
ready = false;
|
||||
|
||||
key = keys[WHITE];
|
||||
key2 = keys[BLACK];
|
||||
pieceCount = popcount(pos.pieces());
|
||||
|
|
Loading…
Add table
Reference in a new issue