summaryrefslogtreecommitdiff
path: root/chess-ics.el
diff options
context:
space:
mode:
authorMario Lang <mlang@delysid.org>2014-04-02 01:37:37 +0200
committerMario Lang <mlang@delysid.org>2014-04-02 01:37:37 +0200
commitad80cdf9b05c79febe5b1e27362d0612bce1de0b (patch)
tree4bcd6797d44a7118fa4d7da91252e7852de9b6c4 /chess-ics.el
parenta1dfd57a807d30ea2fb33c4a1c0608f29f00bfbd (diff)
Eliminate a few compiler warnings due to missing require or cl runtime use.
Diffstat (limited to 'chess-ics.el')
-rw-r--r--chess-ics.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/chess-ics.el b/chess-ics.el
index 413dd6c..92fa885 100644
--- a/chess-ics.el
+++ b/chess-ics.el
@@ -409,7 +409,7 @@ See `chess-ics-game'.")
(defun chess-ics-game (game-number &rest tags)
"Either create, or retrieve an existing game object with GAME-NUMBER."
(assert (integerp game-number))
- (assert (or (evenp (length tags)) (eq (car tags) t)))
+ (assert (or (zerop (logand (length tags) 1)) (eq (car tags) t)))
(or
;; First try to find a game which matches the constraints in TAGS
(catch 'ics-game