Enrico, IMO there's no distinction and we are talking about a generic aspect of code quality, but it can be done. :-)
IMO, it's the same as wanting the warning with STATIC vars but in with LOCAL vars, etc., it still can be done because technically there's a distinction, but in terms of code quality it's difficult to understand. :-) Ron On Jun 3, 2008, at 2:45 PM, Enrico Maria Giordano wrote: > > -----Messaggio Originale----- > Da: "Ron Pinkas" <[EMAIL PROTECTED]> > A: "Enrico Maria Giordano" <[EMAIL PROTECTED]> > Cc: "xHarbour-Developers List" <xharbour- > [EMAIL PROTECTED]> > Data invio: martedì 3 giugno 2008 19.39 > Oggetto: Re: [xHarbour-developers] 2008-06-03 06:12 UTC-0430 Ron > Pinkas<ron/at/xharbour.com> > > >> Enrico, >> >> Sorry, corrected to be reported for -W2 or greater. > > It was already so, if I'm not wrong. > >> [I assume you understand the warning itself is perfectly >> correct. :-)] > > Formally yes. But please look at the following sample: > > FUNCTION MAIN() > > LOCAL bTest := { | Param | MyFunc() } > > LOCAL n > > RETURN NIL > > > STATIC FUNCTION MYFUNC() > > RETURN NIL > > I would only want to have a way to get > > Warning W0003 Variable: 'N' declared but not used in function: > 'MAIN(5)' > > but not > > Warning W0004 Codeblock parameter: 'PARAM' declared but not used in > function: 'MAIN' > > :-) > > EMG > > -- > EMAG Software Homepage: http://www.emagsoftware.it > The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum > The Best of Spectrum Games: http://www.emagsoftware.it/tbosg > The EMG Music page: http://www.emagsoftware.it/emgmusic > > > ---------------------------------------------------------------------- > --- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > xHarbour-developers mailing list > xHarbour-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xharbour-developers > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ xHarbour-developers mailing list xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers