diff --git a/lib/entry/libimagentrygps/src/entry.rs b/lib/entry/libimagentrygps/src/entry.rs index 1e54157e..3383e25d 100644 --- a/lib/entry/libimagentrygps/src/entry.rs +++ b/lib/entry/libimagentrygps/src/entry.rs @@ -89,7 +89,7 @@ impl GPSEntry for Entry { let mut hdr = self.get_header_mut(); for pattern in patterns.iter() { - let _ = try!(hdr.delete(pattern).chain_err(|| GPSEK::HeaderWriteError)); + let _ = hdr.delete(pattern).chain_err(|| GPSEK::HeaderWriteError)?; } match coordinates {