summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Lang <mlang@delysid.org>2014-04-20 23:36:37 +0200
committerMario Lang <mlang@delysid.org>2014-04-20 23:36:37 +0200
commita4027d3a8e8f471f128164e9896a024eac92f7aa (patch)
treebd8a270d7fb449dc4c92ff214dbae4135a419abd
parent5d5498f2d5cf0318e78329e987d2c476b0df48f7 (diff)
chess-pos.el: Eliminate unused conditional.
-rw-r--r--chess-pos.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/chess-pos.el b/chess-pos.el
index 131245e..9588a70 100644
--- a/chess-pos.el
+++ b/chess-pos.el
@@ -834,7 +834,6 @@ If NO-CASTLING is non-nil, do not consider castling moves."
(let* ((color (if (characterp piece)
(< piece ?a)
piece))
- (bias (if color -1 1))
(test-piece (and (characterp piece)
(upcase piece)))
p pos candidates)