fix some issues found with staticcheck.io

This commit is contained in:
Shivaram Lingamneni 2019-05-10 01:44:14 -04:00
parent ce6a3e42df
commit c193def606
9 changed files with 12 additions and 63 deletions

View file

@ -170,7 +170,7 @@ func SplitChannelMembershipPrefixes(target string) (prefixes string, name string
prefixes = target[:i+1]
name = target[i+1:]
default:
break
return
}
}