Skip to content

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

Closed
humbleAcolyte wants to merge 1 commit intocurl:masterfrom
humbleAcolyte:master
Closed

Fixe unused variable ctx in cf-socker.c#11352
humbleAcolyte wants to merge 1 commit intocurl:masterfrom
humbleAcolyte:master

Conversation

@humbleAcolyte
Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants