Unused parameter 'num int' in getVal function

Fixed unused parameter 'num int' in getVal function in "Variable scope" section.
This commit is contained in:
JeiHO 2021-06-21 11:16:28 -06:00 committed by GitHub
parent c281014dfa
commit 35f1422e0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -496,7 +496,7 @@ On a side note, if the `// do something else` part is another attempt to mutate
```go
func getVal(num int) (string, error) {
val, err := getStringResult(32)
val, err := getStringResult(num)
if err != nil {
return "", err
}