backwards incompatible: Drop redundant variables

dustin/master
Dustin Oprea 2020-07-11 10:45:14 -04:00
parent 7d4721b065
commit ee26db1fc4
1 changed files with 0 additions and 11 deletions

View File

@ -66,8 +66,6 @@ func NewIfdMappingWithStandard() (ifdMapping *IfdMapping, err error) {
}
}()
// RELEASE(dustin): Add error return on next release
im := NewIfdMapping()
err = LoadStandardIfds(im)
@ -651,12 +649,3 @@ var (
// Ifd1StandardIfdIdentity represents the IFD path for IFD1.
Ifd1StandardIfdIdentity = NewIfdIdentity(rootStandardIfd, IfdIdentityPart{"IFD", 1})
)
var (
// RELEASE(dustin): These are for backwards-compatibility. These used to be strings but are now IfdIdentity structs and the newer "StandardIfdIdentity" symbols above should be used instead. These will be removed in the next release.
IfdPathStandard = IfdStandardIfdIdentity
IfdPathStandardExif = IfdExifStandardIfdIdentity
IfdPathStandardExifIop = IfdExifIopStandardIfdIdentity
IfdPathStandardGps = IfdGpsInfoStandardIfdIdentity
)