Commit c34aadf0 authored by Gustavo Niemeyer's avatar Gustavo Niemeyer

openpgp: Fix improper := shadowing

R=golang-dev, agl1, jnml
CC=golang-dev
https://golang.org/cl/4381058
parent ce89a233
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment