no error -w3 when use function
Opened this issue · 0 comments
JoseQuintas commented
PROCEDURE Main
LOCAL A
A := 'X'
A += 'X' + hb_Eol()
RETURN
PROCEDURE Main
LOCAL A
A := 'X'
A += 'X'
RETURN
On first sample, no error compiling with -w3
On second sample ok,
test.prg:9: warning W0032 Variable 'A' is assigned but not used in function '6:MAIN'