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

False positive variable used in loop reported as unused #211

Closed
mpaluchowski opened this issue Nov 14, 2016 · 1 comment
Closed

False positive variable used in loop reported as unused #211

mpaluchowski opened this issue Nov 14, 2016 · 1 comment

Comments

@mpaluchowski
Copy link
Contributor

The following code triggers a UNUSED_LOCAL_VARIABLE Local variable key is not used in function , consider removing it.:

for (var key in values) {
    foo[key] = values[key];
}
ryaneberly added a commit that referenced this issue Nov 17, 2016
@ryaneberly
Copy link
Contributor

@mpaluchowski , thanks for the example.

fixed in the dev branch

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

2 participants