]> Cypherpunks repositories - gostls13.git/commit
archive/tar: remove loop label from reader
authorAgniva De Sarker <agnivade@yahoo.co.in>
Sat, 24 Feb 2018 05:22:04 +0000 (10:52 +0530)
committerGiovanni Bajo <rasky@develer.com>
Sun, 25 Feb 2018 21:50:17 +0000 (21:50 +0000)
commit39852bf4cce6927e01d0136c7843f65a801738cb
tree3a85144bf3d6e84884d30d25c5606c5f7d74ae28
parent7a218942be57765f842786abff85d3a813592d70
archive/tar: remove loop label from reader

CL 14624 introduced this label. At that time,
the switch-case had a break to label statement which made this necessary.
But now, the code no longer has a break statement and it directly returns.

Hence, it is no longer necessary to have a label.

Change-Id: Idde0fcc4d2db2d76424679f5acfe33ab8573bce4
Reviewed-on: https://go-review.googlesource.com/96935
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
src/archive/tar/reader.go