Re: Ersatz warnings in Eclipse

2013-07-18 Thread Jon Kleiser
Hi Alex, It's working fine now. Eclipse is also much happier. ;-) /Jon On 17-07-13 21:05 , Alexander Burger wrote: On Wed, Jul 17, 2013 at 08:24:45PM +0200, Alexander Burger wrote: I'll fix that. Thanks! Done :) I've fixed all other places too where it complained about unused variables

Re: Ersatz warnings in Eclipse

2013-07-17 Thread Alexander Burger
Hi Jon, thanks for the input! obtain the PicoLisp.java source for the ersatz/picolisp.jar, I did cd ersatz/ pil mkJar + I then created an empty Java project in Eclipse and imported the PicoLisp.java source. To avoid a NullPointerException when running my project, I entered -DPID=999

Re: Ersatz warnings in Eclipse

2013-07-17 Thread Jon Kleiser
Hi Alex, Hi Jon, thanks for the input! obtain the PicoLisp.java source for the ersatz/picolisp.jar, I did cd ersatz/ pil mkJar + I then created an empty Java project in Eclipse and imported the PicoLisp.java source. To avoid a NullPointerException when running my project, I entered

Re: Ersatz warnings in Eclipse

2013-07-17 Thread Alexander Burger
Hi Jon, because 'next' is in fact used (and needed!) in all those cases. How come? I cannot see one place where the value of 'next' is used (read/retrieved). Can you tell me which line? Yes, for example the one where Eclipse is complaining about: The value of the local variable

Re: Ersatz warnings in Eclipse

2013-07-17 Thread Jon Kleiser
Hi Alex, Hi Jon, because 'next' is in fact used (and needed!) in all those cases. How come? I cannot see one place where the value of 'next' is used (read/retrieved). Can you tell me which line? Yes, for example the one where Eclipse is complaining about: The value of the local

Re: Ersatz warnings in Eclipse

2013-07-17 Thread Alexander Burger
Hi Jon, next = Env.Next; Env.Next = 0; So here 'next' is used. Not really. A value (from Env.Next) is stored in 'next', but that value is never retrieved from 'next' later. Therefor 'next' is considered useless. Ah! Cool! That's the problem. 'next' is indeed necessary, and

Re: Ersatz warnings in Eclipse

2013-07-17 Thread Alexander Burger
On Wed, Jul 17, 2013 at 08:24:45PM +0200, Alexander Burger wrote: I'll fix that. Thanks! Done :) I've fixed all other places too where it complained about unused variables (these were really unused ones), and have uploaded a new release. Please test again whenever you have time! ♪♫ Alex --