Skip to content

Commit

Permalink
use discard
Browse files Browse the repository at this point in the history
  • Loading branch information
Wraith2 committed Feb 23, 2022
1 parent 5cfd6dd commit 3b46c82
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1391,8 +1391,7 @@ internal bool TryPeekByte(out byte value)
// bytes from the in buffer.
public bool TryReadByteArray(Span<byte> buff, int len)
{
int ignored;
return TryReadByteArray(buff, len, out ignored);
return TryReadByteArray(buff, len, out int _);
}

// NOTE: This method must be retriable WITHOUT replaying a snapshot
Expand Down

0 comments on commit 3b46c82

Please sign in to comment.