go/src/encoding
tengufromsky eef79b6712 encoding/xml: remove unnecessary if conditions
Fixes gosimple warning "if err != nil { return err };
return nil' can be simplified to 'return err"

Change-Id: Ibbc717fb066ff41ab35c481b6d44980ac809ae09
Reviewed-on: https://go-review.googlesource.com/107018
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-04-15 16:40:39 +00:00
..
ascii85 encoding/ascii85: make bigtest big again 2017-06-23 14:28:30 +00:00
asn1 encoding/asn1: allow '&' in PrintableString fields 2017-12-05 18:22:53 +00:00
base32 Revert "go/printer: forbid empty line before first comment in block" 2017-12-01 01:12:26 +00:00
base64 encoding/base64: optimize DecodeString 2017-10-09 15:39:51 +00:00
binary encoding/binary: use an offset instead of slicing 2018-03-06 18:59:03 +00:00
csv encoding/csv: disallow quote for use as Comma 2018-03-09 00:33:43 +00:00
gob all: remove some unused return parameters 2018-03-24 19:44:47 +00:00
hex encoding/hex: fix potential incorrect Dumper output when Close is called multiple times 2018-02-14 03:25:25 +00:00
json encoding/json: make use of encodeStatePool in Marshal 2018-04-13 17:31:52 +00:00
pem encoding/pem: change Encode, EncodeToMemory not to generate partial PEM blocks 2017-12-06 03:59:41 +00:00
xml encoding/xml: remove unnecessary if conditions 2018-04-15 16:40:39 +00:00
encoding.go