]> git.sesse.net Git - stockfish/commit
Remove unneeded condition. (#2057)
authorJoost VandeVondele <Joost.VandeVondele@gmail.com>
Sun, 24 Mar 2019 16:40:29 +0000 (17:40 +0100)
committerMarco Costalba <mcostalba@users.noreply.github.com>
Sun, 24 Mar 2019 16:40:29 +0000 (17:40 +0100)
commit2f11c03bbf61d8da2e2b201e4607c4aa9b5a5dc4
treeec7d487d74678a054d684d6eaf459929b9b57077
parentea5505821dabb70eb01cc25f7b4489b0fdc17d2b
Remove unneeded condition. (#2057)

This is covered by the line just before. If we would like to protect
against the piece value of e.g. a N == B, this could be done by an
assert, no need to do this at runtime.

No functional change.
src/material.cpp