Skip to content

sendf: Remove unnecessary null buffer check#9801

Closed
JDepooter wants to merge 1 commit intocurl:masterfrom
JDepooter:pre_receive_plain_unnecessary_condition
Closed

sendf: Remove unnecessary null buffer check#9801
JDepooter wants to merge 1 commit intocurl:masterfrom
JDepooter:pre_receive_plain_unnecessary_condition

Conversation

@JDepooter
Copy link
Contributor

At this point, the psnd->buffer will always exist. We have already allocated a new buffer if one did not previously exist, and returned from the function if the allocation failed.

At this point, the psnd->buffer will always exist. We have already allocated a new buffer if one did not previously exist, and returned from the function if the allocation failed.
@jay jay added the tidy-up label Oct 26, 2022
@bagder bagder closed this in df77eff Oct 26, 2022
@bagder
Copy link
Member

bagder commented Oct 26, 2022

Thanks!

@JDepooter JDepooter deleted the pre_receive_plain_unnecessary_condition branch October 26, 2022 18:14
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.

3 participants