diff --git a/src/firmware/xbuilder.rs b/src/firmware/xbuilder.rs index b2b9161..2b22860 100644 --- a/src/firmware/xbuilder.rs +++ b/src/firmware/xbuilder.rs @@ -31,7 +31,7 @@ impl Peekable for LastBuildFirmware { let mut ar = Archive::new(file); for file2 in ar.entries().unwrap() { - let f = file2.unwrap(); + let f = unsafe { file2.unwrap_unchecked() }; peeked.push( f.path() .unwrap()