Skip to content

connect: reshuffle Curl_timeleft_ms to avoid 'redundant condition'#19523

Closed
bagder wants to merge 1 commit into
masterfrom
bagder/connect-redundant
Closed

connect: reshuffle Curl_timeleft_ms to avoid 'redundant condition'#19523
bagder wants to merge 1 commit into
masterfrom
bagder/connect-redundant

Conversation

@bagder

@bagder bagder commented Nov 14, 2025

Copy link
Copy Markdown
Member

Line 143: "if(duringconnect)" would always equal true. While this is harmless, I believe this minor tweak makes the flow slightly more obvious to the reader and avoids the redundant condition.

Pointed out by CodeSonar

Line 143: "if(duringconnect)" would always equal true. While this is
harmless, I believe this minor tweak makes the flow slightly more
obvious to the reader and avoids the redundant condition.

Pointed out by CodeSonar
@bagder bagder marked this pull request as ready for review November 14, 2025 09:55

@icing icing left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I was thinking along the same lines when changing the name. I think this is good.

@bagder bagder closed this in 9a633ec Nov 14, 2025
@bagder bagder deleted the bagder/connect-redundant branch November 14, 2025 14:13
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