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:
parent
ce89a233a2
commit
c34aadf063
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user