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

hide 'unused variable' compiler warning #176

Merged
merged 1 commit into from
Aug 3, 2023
Merged

Conversation

MichaelChirico
Copy link
Contributor

Copied the approach here:

(void)cbytes; // squelch compiler warning

OTOH, if write() fails, presumably that'll be captured in this value & we should cascade that? I don't know write() well enough but I'd guess if (!ret) ... would be better.

Copy link
Member

@wch wch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@wch
Copy link
Member

wch commented Aug 3, 2023

I'm not sure why the Github Action workflow isn't running, but I'll merge and let it run on main.

@wch wch merged commit 02af2d2 into r-lib:main Aug 3, 2023
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.

2 participants