mirror of
https://github.com/jackc/pgx.git
synced 2025-04-27 21:25:53 +00:00
Removes unneeded XXXs
This commit is contained in:
parent
6ec7e84dbf
commit
1ebcbab8a3
@ -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"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user