-----Messaggio Originale----- 
Da: "Ron Pinkas" <[EMAIL PROTECTED]>
A: "Enrico Maria Giordano" <[EMAIL PROTECTED]>
Cc: "xHarbour-Developers List" <[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
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to