-----Messaggio Originale----- 
Da: "Saulius Zrelskis" <labi...@gmail.com>
A: <xharbour-developers@lists.sourceforge.net>
Data invio: giovedì 21 marzo 2013 8.46
Oggetto: [xHarbour-developers] ChangeLog: 2013-03-21 09:40 UTC+0200 
SauliusZrelskis


> 2013-03-21 09:xx UTC+0200 Saulius Zrelskis <labitas...>
>  * source/compiler/harbour.c
>  * source/compiler/hbgenerr.c
>    + new -w3 warning messages for assigned but not used and never
>      assigned variables:
>        Variable '...' is assigned but not used in function '...'
>        Variable '...' is never assigned in function '...'
>      Idea and code skeleton from Harbour
>      Many thanks to Mindaugas Kavaliauskas
>    ; NOTE: if you are using -w3 in makefiles, you'll need to fix
>            your redundant code to compile the project
>
>  * include/hberrors.h
>    + add new warning messages identifiers
>
>  * winmake/common3.mak
>  * winmake/makefile.gc
>    ; temporary change harbour warning flag from -w3 to -w2 for
>      .prg files succesfully compilation

Thank you Saulius! I just found some unused variables in my code. :-)

There are a couple of problems though:

FUNCTION MAIN()

    LOCAL n := 1

    n += 1

    RETURN NIL

and

FUNCTION MAIN()

    LOCAL n := 1

    n ++

    RETURN NIL

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 


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to