1
0
mirror of https://github.com/golang/go synced 2024-11-12 09:30:25 -07:00

cmd/compile/internal/gc: remove dead code found by vet

See report in commit 3c9fa388df.

Change-Id: I74a5995a1c1ca62b8d01857e89b084502e7da928
Reviewed-on: https://go-review.googlesource.com/14170
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Håvard Haugen 2015-09-01 21:41:58 +02:00 committed by Brad Fitzpatrick
parent 25b00177af
commit e8da46f6db

View File

@ -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) &&