diff options
author | Erik Geiser <erik.geiser@redteam-pentesting.de> | 2022-09-15 08:50:29 +0200 |
---|---|---|
committer | Erik Geiser <erik.geiser@redteam-pentesting.de> | 2022-09-15 08:50:29 +0200 |
commit | fd832634ab6cc4520842ded0b3f88d492e50595c (patch) | |
tree | 6648c271608383d440a3e95ff6c95501b0b6e40a /rfc1035label | |
parent | 662dd554284fba5ca82569386c953788aabb6572 (diff) |
Remove superfluous return statement
Signed-off-by: Erik Geiser <erik.geiser@redteam-pentesting.de>
Diffstat (limited to 'rfc1035label')
-rw-r--r-- | rfc1035label/label.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/rfc1035label/label.go b/rfc1035label/label.go index 561008e..042c17b 100644 --- a/rfc1035label/label.go +++ b/rfc1035label/label.go @@ -104,8 +104,6 @@ func labelsFromBytes(buf []byte) ([]string, error) { // domain name field as per RFC 4704 Section 4.2 if label != "" { labels = append(labels, label) - - return labels, nil } break |