mirror of
https://github.com/sockspls/badfish
synced 2025-05-05 19:09:35 +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));
|
memset(this, 0, sizeof(WDLEntry));
|
||||||
|
|
||||||
|
ready = false;
|
||||||
|
|
||||||
key = keys[WHITE];
|
key = keys[WHITE];
|
||||||
key2 = keys[BLACK];
|
key2 = keys[BLACK];
|
||||||
pieceCount = popcount(pos.pieces());
|
pieceCount = popcount(pos.pieces());
|
||||||
|
|
Loading…
Add table
Reference in a new issue