Fixed code smells
This commit is contained in:
@@ -2,7 +2,6 @@ package aprs
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strings"
|
||||
)
|
||||
|
||||
func base91Decode(s string) (n int, err error) {
|
||||
@@ -18,6 +17,7 @@ func base91Decode(s string) (n int, err error) {
|
||||
return
|
||||
}
|
||||
|
||||
/*
|
||||
func base91Encode(n int) string {
|
||||
var s []string
|
||||
for n > 0 {
|
||||
@@ -27,3 +27,4 @@ func base91Encode(n int) string {
|
||||
}
|
||||
return strings.Join(s, "")
|
||||
}
|
||||
*/
|
||||
|
||||
@@ -310,7 +310,7 @@ func (p *Packet) parse() error {
|
||||
return err
|
||||
}
|
||||
p.Position = &pos
|
||||
p.parseMicEData()
|
||||
_ = p.parseMicEData()
|
||||
|
||||
return nil // there is no additional data to parse
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user