formats: drop the unused mut on the capped zip entry

This commit is contained in:
Dylan M. Taylor committed 2026-11-14 14:25:18 -05:00
1 parent 3ddc258d33
commit 08fee8f3dd
1 file changed
+1 -1
+1 -1
View File
@@ -90,7 +90,7 @@ pub fn read(bytes: &[u8], identity: &str) -> Result<sbs::SbsRead> {
let mut seen = BTreeSet::new();
let mut total = 0u64;
for index in 0..zip.len() {
let mut entry = zip.by_index(index).map_err(|error| bad(error.to_string()))?;
let entry = zip.by_index(index).map_err(|error| bad(error.to_string()))?;
let name = entry.name().to_string();
let path = name.trim_end_matches('/');
if path.is_empty()