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

Remove unused variable assignment from Fiddle::Pointer.to_ptr #8245

Merged
merged 1 commit into from
May 21, 2024

Conversation

ikaronen-relex
Copy link
Contributor

It seems that the size variable defined in Fiddle::Pointer.to_ptr is never used:

size = value.bytesize

This triggers an "assigned but unused variable" warning if this code is loaded in verbose mode.

@enebo enebo added this to the JRuby 9.4.8.0 milestone May 21, 2024
@enebo enebo merged commit fdaa9c1 into jruby:master May 21, 2024
73 of 74 checks passed
@ikaronen-relex ikaronen-relex deleted the fiddle-unused-variable branch May 21, 2024 21:35
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

Successfully merging this pull request may close these issues.

None yet

2 participants