Skip to content

url: make Curl_init_userdefined return void - #18855

Closed
bagder wants to merge 4 commits into
masterfrom
bagder/url-init
Closed

url: make Curl_init_userdefined return void#18855
bagder wants to merge 4 commits into
masterfrom
bagder/url-init

Conversation

@bagder

@bagder bagder commented Oct 5, 2025

Copy link
Copy Markdown
Member

It cannot actually return an error, so the parent function does not need to check for error and have an exit path that cannot be reached.

Pointed out by CodeSonar

@github-actions github-actions Bot added the tests label Oct 5, 2025
@bagder
bagder marked this pull request as ready for review October 5, 2025 12:20
bagder added 4 commits October 5, 2025 22:41
It cannot actually return an error, so the parent function does not need
to check for error and have an exit path that cannot be reached.

Pointed out by CodeSonar
@bagder bagder closed this in b54b469 Oct 5, 2025
@bagder
bagder deleted the bagder/url-init branch October 5, 2025 20:58
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.

1 participant