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

cookie: avoid assigning the same value again #10954

Closed
wants to merge 3 commits into from

Conversation

bagder
Copy link
Member

@bagder bagder commented Apr 13, 2023

By simplifying the expression. Pointed out by PVS.

Ref: #10929

By simplifying the expression. Pointed out by PVS.

Ref: #10929
@bagder bagder closed this in c79356d Apr 14, 2023
@bagder bagder deleted the bagder/cookie-same-value branch April 14, 2023 07:23
bch pushed a commit to bch/curl that referenced this pull request Jul 19, 2023
- avoid assigning the same value again
- remove superfluous check of co->domain
- reduce variable scope for namep/valuep

Ref: curl#10929
Closes curl#10954
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

1 participant