aboutsummaryrefslogtreecommitdiff
path: root/src/net/http
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2016-03-25 18:07:19 -0700
committerMatthew Dempsky <mdempsky@google.com>2016-03-26 05:15:50 +0000
commitd53287d0c37de1e624648dc9a1b1be356a2acf13 (patch)
treececc0cfb8535f68f342edc4990a1b61ba90ab4b5 /src/net/http
parentc61a55d831d8042e4af48442e3a0db7d80539e5d (diff)
downloadgo-d53287d0c37de1e624648dc9a1b1be356a2acf13.tar.xz
cmd/compile: simplify keydup
Use a type switch instead of calling Val.Ctype (which in turn just uses a type switch anyway). Use continue statements to simplify the control flow. Change-Id: I65c139d706d4d78e5b4ce09d1b1505a3e424496b Reviewed-on: https://go-review.googlesource.com/21173 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/net/http')
0 files changed, 0 insertions, 0 deletions