Skip to content

Commit

Permalink
Fixed some unused variables warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
morr0ne committed Nov 21, 2024
1 parent 17483f8 commit 1677865
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wire/socket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ impl Stream for Socket {
let frame = pinned
.codec
.decode_eof(&mut state.buffer, &mut state.fds)
.inspect_err(|err| {
.inspect_err(|_err| {
trace!("Got an error, going to errored state");
state.has_errored = true;
})?;
Expand All @@ -156,7 +156,7 @@ impl Stream for Socket {
if let Some(frame) = pinned
.codec
.decode(&mut state.buffer, &mut state.fds)
.inspect_err(|op| {
.inspect_err(|_op| {
trace!("Got an error, going to errored state");
state.has_errored = true;
})?
Expand Down

0 comments on commit 1677865

Please sign in to comment.