diff options
| author | Gusted <williamzijl7@hotmail.com> | 2021-10-26 01:45:44 +0200 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2021-10-26 00:30:24 +0000 |
| commit | b36b001ff13768fd1f9664b34c6d2b7948f66d4d (patch) | |
| tree | 75735a126ef3ae0a0fb64e3c4c75c3fbdf7f0f06 /src/encoding/json/encode.go | |
| parent | e9eb66da307ec2da922a05b890b13363ea4e830e (diff) | |
| download | go-b36b001ff13768fd1f9664b34c6d2b7948f66d4d.tar.xz | |
container/list: remove unnecessary code
Remove a unnecessary statement in the test function, the variables
aren't checked afterwards. Also remove return statements in helper
functions and remove the declaration that a the helper function return a
value. The return value isn't used in the current state of code
Change-Id: I5bc384104c1002c4138e0894938778ae9710ce4d
Reviewed-on: https://go-review.googlesource.com/c/go/+/358714
Run-TryBot: Robert Griesemer <gri@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
Trust: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/encoding/json/encode.go')
0 files changed, 0 insertions, 0 deletions
