1
0
mirror of https://github.com/golang/go synced 2024-11-20 03:34:40 -07:00

openpgp: Fix improper := shadowing

R=golang-dev, agl1, jnml
CC=golang-dev
https://golang.org/cl/4381058
This commit is contained in:
Gustavo Niemeyer 2011-04-12 11:48:05 -03:00
parent ce89a233a2
commit c34aadf063

View File

@ -18,9 +18,9 @@ var armorEndOfLineOut = []byte("-----\n")
// writeSlices writes its arguments to the given Writer.
func writeSlices(out io.Writer, slices ...[]byte) (err os.Error) {
for _, s := range slices {
_, err := out.Write(s)
_, err = out.Write(s)
if err != nil {
return
return err
}
}
return