Removes unneeded XXXs

pull/210/head
Manni Wood 2016-11-15 22:09:55 -05:00
parent 6ec7e84dbf
commit 1ebcbab8a3
1 changed files with 0 additions and 2 deletions

View File

@ -3024,7 +3024,6 @@ func NeedsEscape(rn rune) bool {
return rn == '\\' || rn == ',' || rn == '"' || rn == '}'
}
// XXX: encodeAclItemSlice; using text encoding, not binary
func encodeAclItemSlice(w *WriteBuf, oid Oid, aclitems []AclItem) error {
// cast aclitems into strings so we can use strings.Join
strs := make([]string, len(aclitems))
@ -3160,7 +3159,6 @@ func ReadPossiblyEscapedRune(r *strings.Reader) (rune, bool, error) {
return rn, false, nil
}
// XXX: decodeAclItemArray; using text encoding, not binary
func decodeAclItemArray(vr *ValueReader) []AclItem {
if vr.Len() == -1 {
vr.Fatal(ProtocolError("Cannot decode null into []AclItem"))