Remove an unnecessary return.

This commit is contained in:
KAMADA Ken'ichi 2021-01-07 22:24:24 +09:00
parent 1b05eab57e
commit a5d8a3e618
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ fn get_exif_attr_sub<R>(reader: &mut R)
}
reader.discard_exact(size as usize)?;
}
return Err(Error::NotFound("WebP"));
Err(Error::NotFound("WebP"))
}
pub fn is_webp(buf: &[u8]) -> bool {