From ee26db1fc49e0fa296063ab845acdf2fa671adb3 Mon Sep 17 00:00:00 2001 From: Dustin Oprea Date: Sat, 11 Jul 2020 10:45:14 -0400 Subject: [PATCH] backwards incompatible: Drop redundant variables --- v3/common/ifd.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/v3/common/ifd.go b/v3/common/ifd.go index 848c2f5..01886e9 100644 --- a/v3/common/ifd.go +++ b/v3/common/ifd.go @@ -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 -)