mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
syscall: Fix one issue detected by vet.
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/14038044
This commit is contained in:
parent
48da6754e2
commit
9bd1f49e37
1 changed files with 0 additions and 5 deletions
|
|
@ -242,11 +242,6 @@ childerror:
|
||||||
for {
|
for {
|
||||||
RawSyscall(SYS_EXIT, 253, 0, 0)
|
RawSyscall(SYS_EXIT, 253, 0, 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Calling panic is not actually safe,
|
|
||||||
// but the for loop above won't break
|
|
||||||
// and this shuts up the compiler.
|
|
||||||
panic("unreached")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Try to open a pipe with O_CLOEXEC set on both file descriptors.
|
// Try to open a pipe with O_CLOEXEC set on both file descriptors.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue