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

the unreferenced-variable warning should not be raised when the variable holds an object #4607

Closed
davidnich opened this issue Oct 20, 2022 · 0 comments

Comments

@davidnich
Copy link
Contributor

ex:

UNREFERENCED-VARIABLE: local variable 'wlh' was declared in this block but not referenced; to disable this warning, use '%disable-warning unreferenced-variable' in your code

in this case the variable holds an object that releases resources when it goes out of scope

@davidnich davidnich added this to the 1.12.1 milestone Oct 20, 2022
@davidnich davidnich self-assigned this Oct 20, 2022
@davidnich davidnich added this to To do in Qore Development via automation Oct 20, 2022
Qore Development automation moved this from To do to Done Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant