diff options
| author | Jes Cok <xigua67damn@gmail.com> | 2025-02-20 15:10:06 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-02-20 08:16:29 -0800 |
| commit | 458ac1b01590506891b2ad2b300ead76aaa4e119 (patch) | |
| tree | 2ba90e217671161cdb1bd6ec73251460310b11aa /src/syscall/exec_linux.go | |
| parent | b9630c56db42dd58fd7ce21ea854815d0ab31878 (diff) | |
| download | go-458ac1b01590506891b2ad2b300ead76aaa4e119.tar.xz | |
context: replace newAfterFuncContext with a global declaration using blank identifier
newAfterFuncContext has never been used, the only reason I can imagine
for its existence is to guarantee that the implementation is correct.
It is a small cleanup and make code more idiomatic.
Change-Id: I61ee213a9284f3c3bda7f91196f3a1604babd0f6
GitHub-Last-Rev: c08bd69ef3f0dbc2f573f54095fea35dad2b1145
GitHub-Pull-Request: golang/go#71856
Reviewed-on: https://go-review.googlesource.com/c/go/+/651015
Auto-Submit: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Diffstat (limited to 'src/syscall/exec_linux.go')
0 files changed, 0 insertions, 0 deletions
