Skip to content

url: make Curl_disconnect return void#8303

Closed
bagder wants to merge 2 commits into
masterfrom
bagder/void-disconnect
Closed

url: make Curl_disconnect return void#8303
bagder wants to merge 2 commits into
masterfrom
bagder/void-disconnect

Conversation

@bagder

@bagder bagder commented Jan 19, 2022

Copy link
Copy Markdown
Member
  1. The function would only ever return CURLE_OK anyway
  2. Only one caller actually used the return code
  3. Most callers did (void)Curl_disconnect()

 1. The function would only ever return CURLE_OK anyway
 2. Only one caller actually used the return code
 3. Most callers did (void)Curl_disconnect()
@bagder bagder added the tidy-up label Jan 19, 2022

@jay jay left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

otherwise ok

Comment thread lib/url.c
@bagder bagder closed this in e74a6b7 Jan 20, 2022
@bagder bagder deleted the bagder/void-disconnect branch January 20, 2022 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants