fix: unused function arg

This commit is contained in:
Gianluca Zuccarelli 2021-06-25 10:05:02 +01:00 committed by Ondřej Budai
parent a0ec753e05
commit 9aa8ebdfff

View file

@ -48,7 +48,7 @@ func unmarshalStateHelper(data []byte, mapping []string) (int, error) {
if err != nil {
return 0, err
}
for n, str := range getStateMapping() {
for n, str := range mapping {
if str == stringInput {
return n, nil
}