Skip to content

Commit 1e09304

Browse files
hirochachachaianlancetaylor
authored andcommitted
cmd/link: remove dead code
Change-Id: I8a54235c8b7bf1010f19d0d358cd4f76fc911d28 Reviewed-on: https://go-review.googlesource.com/59416 Reviewed-by: Ian Lance Taylor <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]> TryBot-Result: Gobot Gobot <[email protected]>
1 parent bce795f commit 1e09304

File tree

1 file changed

+0
-4
lines changed
  • src/cmd/link/internal/ld

1 file changed

+0
-4
lines changed

src/cmd/link/internal/ld/go.go

-4
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,6 @@ func loadcgo(ctxt *Link, file string, pkg string, p string) {
188188
remote, q = remote[:i], remote[i+1:]
189189
}
190190
s = ctxt.Syms.Lookup(local, 0)
191-
if local != f[1] {
192-
}
193191
if s.Type == 0 || s.Type == SXREF || s.Type == SHOSTOBJ {
194192
s.Dynimplib = lib
195193
s.Extname = remote
@@ -257,8 +255,6 @@ func loadcgo(ctxt *Link, file string, pkg string, p string) {
257255
} else {
258256
s.Attr |= AttrCgoExportDynamic
259257
}
260-
if local != f[1] {
261-
}
262258
continue
263259
}
264260

0 commit comments

Comments
 (0)