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

unused variables not detected in "include (struct .. end)", with fix #5308

Closed
vicuna opened this Issue Jul 3, 2011 · 1 comment

Comments

Projects
None yet
2 participants
@vicuna
Copy link
Collaborator

vicuna commented Jul 3, 2011

Original bug ID: 5308
Reporter: @lefessan
Assigned to: @damiendoligez
Status: closed (set by @damiendoligez on 2011-07-04T18:31:27Z)
Resolution: fixed
Priority: high
Severity: minor
Platform: all
OS: all
OS Version: all
Version: 3.12.0
Fixed in version: 3.12.1+dev
Category: ~DO NOT USE (was: OCaml general)
Monitored by: @hcarty

Bug description

Unused variables are not detected for expressions defined inside "include (struct ... end)". Such expressions can often appear as the result of preprocessing.

The provided patch trivially fix the problem for 3.12.0.

File attachments

@vicuna

This comment has been minimized.

Copy link
Collaborator Author

vicuna commented Jul 4, 2011

Comment author: @damiendoligez

Thanks for the patch, it will go in 3.12.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.