two linter about redundant return statement
Open
component/test
severity/moderate
type/bug
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Bug Report
Please answer these questions before submitting your issue. Thanks!
### 1. Minimal reproduce step (Required)
### 2. What did you expect to see? (Required)
### 3. What did you see instead (Required)
```
statistics/handle/cache/internal/lfu/lfu_cache.go:131:2: redundant return statement (S1023)
statistics/handle/cache/internal/lfu/lfu_cache.go:131:2: unnecessary-stmt: omit unnecessary return statement (revive)
```
### 4. What is your TiDB version? (Required)
Contributor guide
Assessment
This issue has not been assessed yet.