Fixed code smells
Some checks failed
Run tests / test (1.25) (push) Failing after 15s
Run tests / test (stable) (push) Failing after 17s

This commit is contained in:
2026-02-22 21:14:58 +01:00
parent 3bcbaf2135
commit 32f6c38c13
17 changed files with 1593 additions and 22 deletions

View File

@@ -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, "")
}
*/

View File

@@ -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: