Skip to content

Commit 6eaeabc

Browse files
committed
Update image.go
1 parent f23ff60 commit 6eaeabc

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pkg/dyld/image.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,6 @@ type CacheImage struct {
266266
LocalSymbols []*CacheLocalSymbol64
267267
PublicSymbols []*Symbol
268268
ObjC objcInfo
269-
Swift switInfo
270269

271270
Analysis analysis
272271

@@ -851,10 +850,6 @@ func (i *CacheImage) ParseHelpers() error {
851850

852851
func (i *CacheImage) ParseSwiftStrings() error {
853852

854-
if i.Swift.Strings == nil {
855-
i.Swift.Strings = make(map[uint64]string)
856-
}
857-
858853
m, err := i.GetPartialMacho()
859854
if err != nil {
860855
return fmt.Errorf("failed to get MachO for image %s; %v", i.Name, err)

0 commit comments

Comments
 (0)