Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no error -w3 when use function #345

Open
JoseQuintas opened this issue Nov 22, 2023 · 0 comments
Open

no error -w3 when use function #345

JoseQuintas opened this issue Nov 22, 2023 · 0 comments

Comments

@JoseQuintas
Copy link

JoseQuintas commented Nov 22, 2023

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant