]> git.sesse.net Git - stockfish/blobdiff - src/material.cpp
Small codestyle touches
[stockfish] / src / material.cpp
index 71e057a7116d10d7bdb36602eb4f507de0dcd13a..5e8f75d9cc4b6c2561fdd5b1a5bb784078be323c 100644 (file)
@@ -146,6 +146,7 @@ MaterialInfoTable::MaterialInfoTable() {
            << " bytes for material hash table." << endl;
       Application::exit_with_failure();
   }
+  memset(entries, 0, MaterialTableSize * sizeof(MaterialInfo));
 }
 
 MaterialInfoTable::~MaterialInfoTable() {