How do I avoid byte-compiler warnings
Unused lexical variable in functions defined using macros expanding to
target variable which is not used by several invocations.
In Common Lisp I can use the
(declare (ignorable target)).
Add something like
(setq target target)to all the users of
defun-rcirc-commandwhich do not use
target: that requires modifying many macro invocations.
Prefixing the ignorable variable with an underscore -
_target- does not help because
ignorable, i.e., when it is used, I get
variable '_target' not left unused.
(ignore VAR)for every defun argument before the ,@body expansion which will probably silence the errors.