updating-output & Variable is never used.
Quote:
> I have some methods all with this structure:
> (defmethod display-object :around ((object displayable-object)
> &key (stream (display)))
> (with-slots (tick) object
> (updating-output (stream :unique-id object :cache-value tick)
> (call-next-method))))
> when compiled, lisp informs me that
> >>Warning: Variable STREAM is never used.<<
Side note: According to the CLHS this should just be a style-warning,
and not a warning.
Quote:
> well, this is conform the description of CLIM2
> >>updating-output [Macro] ... The stream argument is not evaluated<<
Hmmm, the easy answer would be to declare the variable ignorable (or
ignore). But one wonders why stream has to be passed to
updating-output at all, if it is neither used to evaluate it, nor to
bind it, which seems to be the case, according to CLIM2 and the
implementation behaviour. Maybe the expansion of updating-output
should itself declare the variable ignorable in that case.
Regs, Pierre.
--
The most likely way for the world to be destroyed, most experts agree,
is by accident. That's where we come in; we're computer professionals.
We cause accidents. -- Nathaniel Borenstein