Skip to content

Commit

Permalink
use discard
Browse files Browse the repository at this point in the history
  • Loading branch information
Wraith2 committed Apr 1, 2022
1 parent c81b41e commit 8b35520
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 8b35520

Please sign in to comment.