Re: Variable never used...
Gary Warren King <[email protected]> Fri, 28 Jan 2005 10:58:02 -0500
| Newsgroups | gmane.lisp.allegro |
|---|---|
| Message-ID | <[email protected]> |
This looks to me like the compiler is being smart... It can just turn this into (Defun test () 10). Try adding (declaim (optimize (safety 3) (debug 3))) to the top of the file and see if you still get the warning... On Jan 28, 2005, at 10:14 AM, Paulo Dias wrote: > I'm geting this warning... > > Variable never X used.... > > > (defun test ( ) > (let ( (X 0) ) > (setq X 10) > ) > ) > > Can someone help me... > > Thanks in advance > > Paulo Dias > -- Gary Warren King, Lab Manager EKSL East, University of Massachusetts * 413 577 0176 On Macintosh computers: "Life is hard enough. It's nice to sit down to a piece of technology that actually makes you feel good to use it," -- Rick Stevens, University of Chicago