Fix issues detected by Coverity Scan

Most of Coverity Scan reports are false
positives, but in rare cases we have
confirmed (very small) issues.

No functional change.
This commit is contained in:
Marco Costalba
2014-04-26 09:20:37 +02:00
parent 7ddbcf7e87
commit 55604f156b
4 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -188,7 +188,7 @@ void UCI::loop(int argc, char* argv[]) {
<< "position key: " << setw(16) << pos.key()
<< "\nmaterial key: " << setw(16) << pos.material_key()
<< "\npawn key: " << setw(16) << pos.pawn_key()
<< dec << sync_endl;
<< dec << nouppercase << setfill(' ') << sync_endl;
else if (token == "uci")
sync_cout << "id name " << engine_info(true)