Skip to content

Commit fb8a2c2

Browse files
committed
jsonrpc2: add nolint:varchechk pragma
1 parent d8e9b4a commit fb8a2c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jsonrpc2.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,11 @@ func WithOverloaded(rejectIfOverloaded bool) Options {
110110
type requestState int
111111

112112
const (
113-
requestWaiting = requestState(iota)
113+
requestWaiting = requestState(iota) //nolint:varcheck,deadcode
114114
requestSerial
115115
requestParallel
116116
requestReplied
117-
requestDone
117+
requestDone //nolint:varcheck,deadcode
118118
)
119119

120120
// Request is sent to a server to represent a Call or Notify operaton.

0 commit comments

Comments
 (0)