projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
60bc302
)
Remove a redundant assignment in PawnInfo c'tor
author
Marco Costalba
<mcostalba@gmail.com>
Tue, 6 Oct 2009 08:18:15 +0000 (09:18 +0100)
committer
Marco 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
patch
|
blob
|
history
diff --git
a/src/pawns.h
b/src/pawns.h
index
5d3d85f
..
bfd3089
100644
(file)
--- a/
src/pawns.h
+++ b/
src/pawns.h
@@
-45,7
+45,7
@@
class PawnInfo {
friend class PawnInfoTable;
public:
- PawnInfo() : key(0) { clear(); }
+ PawnInfo() { clear(); }
Value mg_value() const;
Value eg_value() const;