Skip to content

tee: remove unused returned usize#11830

Merged
cakebaker merged 1 commit into
uutils:mainfrom
oech3:tee-unused-usize
Apr 15, 2026
Merged

tee: remove unused returned usize#11830
cakebaker merged 1 commit into
uutils:mainfrom
oech3:tee-unused-usize

Conversation

@oech3
Copy link
Copy Markdown
Contributor

@oech3 oech3 commented Apr 15, 2026

No description provided.

@oech3 oech3 marked this pull request as ready for review April 15, 2026 09:59
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 15, 2026

GNU testsuite comparison:

Skip an intermittent issue tests/cut/bounded-memory (fails in this run but passes in the 'main' branch)
Note: The gnu test tests/cp/link-heap is now being skipped but was previously passing.
Congrats! The gnu test tests/basenc/bounded-memory is now passing!

@sylvestre
Copy link
Copy Markdown
Contributor

i am surprised that the compiler or clippy didn't find it

@oech3
Copy link
Copy Markdown
Contributor Author

oech3 commented Apr 15, 2026

Maybe, rustc and clippy considers usize is used at _ of _ => Ok(()),.

Comment thread src/uu/tee/src/tee.rs Outdated
@oech3 oech3 force-pushed the tee-unused-usize branch from ae71ab8 to 6496f6f Compare April 15, 2026 13:24
@cakebaker cakebaker merged commit 02104f3 into uutils:main Apr 15, 2026
168 of 169 checks passed
@cakebaker
Copy link
Copy Markdown
Contributor

Thanks!

@oech3 oech3 deleted the tee-unused-usize branch April 15, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants