rename to avoid compiler warning

for now until we later fully implement this function and use these
arguments
This commit is contained in:
Gered 2023-03-20 22:19:14 -04:00
parent 11625f58a5
commit 3d9d97db08

View file

@ -250,7 +250,7 @@ impl ScanlineBuffer {
}
}
fn encode_byte(&mut self, filter: Filter, byte: u8, x: usize, y: usize) -> u8 {
fn encode_byte(&mut self, filter: Filter, byte: u8, _x: usize, _y: usize) -> u8 {
match filter {
Filter::None => byte,
_ => 0, // leaving out the rest for now. we hardcode usage of Filter::None when saving PNGs currently