diff options
| author | Joel Sing <joel@sing.id.au> | 2023-08-28 00:13:34 +1000 |
|---|---|---|
| committer | Joel Sing <joel@sing.id.au> | 2023-09-08 04:21:30 +0000 |
| commit | 7f574998534548220ae31597a5a942db2ed548c6 (patch) | |
| tree | 0049375bb9e994aa5ce84cb3fd80d5b17bd7fde2 /src/syscall/exec_linux_test.go | |
| parent | 216c512198dfe5d81f1a035c1a27c3eac08db310 (diff) | |
| download | go-7f574998534548220ae31597a5a942db2ed548c6.tar.xz | |
cmd/internal/obj/riscv: clean up error checking for encoding
Replace a "fixme" with a more appropriate error. Also invert the condition
so that the error returns early, which is more Go idiomatic.
Change-Id: I03006572c4010fb47037bed3ee1fd7f92bfc20d3
Reviewed-on: https://go-review.googlesource.com/c/go/+/523457
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Joel Sing <joel@sing.id.au>
Reviewed-by: M Zhuo <mzh@golangcn.org>
Diffstat (limited to 'src/syscall/exec_linux_test.go')
0 files changed, 0 insertions, 0 deletions
