diff options
| author | Tamir Duberstein <tamird@google.com> | 2020-02-07 20:27:55 +0000 |
|---|---|---|
| committer | Than McIntosh <thanm@google.com> | 2020-02-24 13:25:13 +0000 |
| commit | 531b6d3126bb810dcdfcce14983cea32236c322d (patch) | |
| tree | d3d5749952f3d81736b2ed0f49e215043a8b2e6f /src/encoding/json/decode_test.go | |
| parent | 218f4572f5d5832c81e13d71690791aea67dacd2 (diff) | |
| download | go-531b6d3126bb810dcdfcce14983cea32236c322d.tar.xz | |
cmd/link: code cleanup in macho_combine_dwarf.go
- remove global variables
- add missing error checks
- add missing (*os.File).Close calls
- null-check text section correctly
- reduce some variable scopes
- use bytes.Buffer instead of appended slice
- reduce integer casting
Change-Id: Ib9ad41adefed4d61047f53e27046389182eef786
Reviewed-on: https://go-review.googlesource.com/c/go/+/218501
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Diffstat (limited to 'src/encoding/json/decode_test.go')
0 files changed, 0 insertions, 0 deletions
