mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-25 11:36:51 +08:00
Remove a redundant assignment in PawnInfo c'tor
We don't need to set key to 0 because clear() already takes care of that. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -45,7 +45,7 @@ class PawnInfo {
|
||||
friend class PawnInfoTable;
|
||||
|
||||
public:
|
||||
PawnInfo() : key(0) { clear(); }
|
||||
PawnInfo() { clear(); }
|
||||
|
||||
Value mg_value() const;
|
||||
Value eg_value() const;
|
||||
|
||||
Reference in New Issue
Block a user