projects
/
stockfish
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(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 5d3d85fecca9f23f4bd50cd4b377f0cd83933f86..bfd30898ea705c9400fe2ac0ea54ad5f72a87dfc 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;