diff --git a/lib/entry/libimagentrygps/src/entry.rs b/lib/entry/libimagentrygps/src/entry.rs index 3b689fd2..5a7c2df2 100644 --- a/lib/entry/libimagentrygps/src/entry.rs +++ b/lib/entry/libimagentrygps/src/entry.rs @@ -87,7 +87,7 @@ impl GPSEntry for Entry { "gps", ]; - let mut hdr = self.get_header_mut(); + let hdr = self.get_header_mut(); for pattern in patterns.iter() { let _ = hdr.delete(pattern).chain_err(|| GPSEK::HeaderWriteError)?; }