Skip to content

Commit

Permalink
Fix dead loop
Browse files Browse the repository at this point in the history
  • Loading branch information
CaveNightingale committed Feb 18, 2024
1 parent 3429dbf commit 254f75b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/anvil.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,11 @@ impl<'a> Iterator for AnvilIter<'a> {
}
}
_ => {
self.index += 1;
return Some(Err(anyhow::anyhow!(
"Unknown compression type in chunk {:?}",
location
)))
)));
}
}
self.index += 1;
Expand Down

0 comments on commit 254f75b

Please sign in to comment.