Skip to content

Commit

Permalink
cmd/compile/internal/gc: remove dead code found by vet
Browse files Browse the repository at this point in the history
See report in commit 3c9fa38.

Change-Id: I74a5995a1c1ca62b8d01857e89b084502e7da928
Reviewed-on: https://go-review.googlesource.com/14170
Reviewed-by: Brad Fitzpatrick <[email protected]>
Run-TryBot: Brad Fitzpatrick <[email protected]>
TryBot-Result: Gobot Gobot <[email protected]>
  • Loading branch information
osocurioso authored and bradfitz committed Sep 1, 2015
1 parent 25b0017 commit e8da46f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cmd/compile/internal/gc/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -1220,7 +1220,6 @@ func visitComponents(t *Type, startOffset int64, f func(elem *Type, elemOffset i
case TINTER:
return f(itable, startOffset) &&
f(Ptrto(Types[TUINT8]), startOffset+int64(Widthptr))
return true

case TSTRING:
return f(Ptrto(Types[TUINT8]), startOffset) &&
Expand Down

0 comments on commit e8da46f

Please sign in to comment.