Skip to content

Commit

Permalink
trailing-zeros: ignore unused VALUE for CCL
Browse files Browse the repository at this point in the history
CCL warns about it otherwise.

* code/trailing-zeros/implementation.lisp (quaviver:float-integer):
Ignore unused VALUE in fallback :AROUND method specialized to base 10.
  • Loading branch information
paulapatience committed Jun 20, 2024
1 parent 759eb1a commit d5f77b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/trailing-zeros/implementation.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@

(defmethod quaviver:float-integer :around
((client client) (base (eql 10)) value)
(declare (ignore value))
(multiple-value-bind (significand exponent sign)
(call-next-method)
(unless (or (not (numberp exponent))
Expand Down

0 comments on commit d5f77b0

Please sign in to comment.