fix: unused function arg
This commit is contained in:
parent
a0ec753e05
commit
9aa8ebdfff
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue