perf: Remove redundant validate_extra_data()
call
This commit is contained in:
parent
c218405bdd
commit
7afe34b521
1 changed files with 0 additions and 1 deletions
|
@ -943,7 +943,6 @@ impl<W: Write + Seek> ZipWriter<W> {
|
|||
extensions.add_extra_data(0xa11e, pad_body.into_boxed_slice(), false)?;
|
||||
}
|
||||
}
|
||||
extensions.validate_extra_data()?;
|
||||
if extensions.central_extra_data.len() > 0 {
|
||||
file.central_extra_field = Some(extensions.central_extra_data);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue