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

Fixe unused variable ctx in cf-socker.c #11352

Closed
wants to merge 1 commit into from

Conversation

humbleAcolyte
Copy link
Contributor

This PR fixes compiler warning (gcc 8.3 with flag -Wunused-variable) "unused variable ‘ctx’".
The variable is used only if HAVE_GETPEERNAME is defined, but variable defined before directive.

@humbleAcolyte humbleAcolyte marked this pull request as ready for review June 20, 2023 13:28
@bagder bagder closed this in 51f6a0d Jun 21, 2023
@bagder
Copy link
Member

bagder commented Jun 21, 2023

Thanks!

bch pushed a commit to bch/curl that referenced this pull request Jul 19, 2023
ptitSeb pushed a commit to wasix-org/curl that referenced this pull request Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants