Remove a redundant assignment in PawnInfo c'tor
authorMarco Costalba <mcostalba@gmail.com>
Tue, 6 Oct 2009 08:18:15 +0000 (09:18 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Tue, 6 Oct 2009 08:18:15 +0000 (09:18 +0100)
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>
src/pawns.h

index 5d3d85f..bfd3089 100644 (file)
@@ -45,7 +45,7 @@ class PawnInfo {
   friend class PawnInfoTable;
 
 public:
-  PawnInfo() : key(0) { clear(); }
+  PawnInfo() { clear(); }
 
   Value mg_value() const;
   Value eg_value() const;