[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiler warnings
In article <email@example.com.OZ.AU> firstname.lastname@example.org.OZ.AU (Chris Wright) writes:
>I have an application (in MCL 2.something - latest patch). It works fine
>but the compiler warnings are driving me KNUTZ.
> ;Compiler warnings :
> ; Unused lexical variable Foo, in an anonymous lambda form.
>I've tried (setq *compiler-warnings nil).
>What's the trick... I KNOW Foo is unused...I"m going to use it later.
Put (declare (ignore foo)) at the beginning of the body of the form that
binds the variable. Later, when you add the reference to foo, take the
Barry Margolin, Thinking Machines Corp.