Commit b0232ed
Robert Welin
Remove nil == nil if-statement
Found using the nilness analysis:
```
$ go install golang.org/x/tools/go/analysis/passes/nilness/cmd/nilness
$ go vet -vettool=$(which nilness)
\# github.com/json-iterator/go
./iter_object.go:241:10: tautological condition: nil == nil
```1 parent 44a7e73 commit b0232ed
1 file changed
+0
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | 241 | | |
246 | 242 | | |
247 | 243 | | |
| |||
0 commit comments