mirror of https://github.com/dsoprea/go-exif.git
backwards incompatible: Drop redundant variables
parent
7d4721b065
commit
ee26db1fc4
|
@ -66,8 +66,6 @@ func NewIfdMappingWithStandard() (ifdMapping *IfdMapping, err error) {
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
// RELEASE(dustin): Add error return on next release
|
|
||||||
|
|
||||||
im := NewIfdMapping()
|
im := NewIfdMapping()
|
||||||
|
|
||||||
err = LoadStandardIfds(im)
|
err = LoadStandardIfds(im)
|
||||||
|
@ -651,12 +649,3 @@ var (
|
||||||
// Ifd1StandardIfdIdentity represents the IFD path for IFD1.
|
// Ifd1StandardIfdIdentity represents the IFD path for IFD1.
|
||||||
Ifd1StandardIfdIdentity = NewIfdIdentity(rootStandardIfd, IfdIdentityPart{"IFD", 1})
|
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
|
|
||||||
)
|
|
||||||
|
|
Loading…
Reference in New Issue