From 9bd1f49e377d86c935d13d0bd0a8e8c3d986c18c Mon Sep 17 00:00:00 2001 From: Robin Eklind Date: Sat, 28 Sep 2013 11:06:50 +1000 Subject: [PATCH] syscall: Fix one issue detected by vet. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/14038044 --- src/pkg/syscall/exec_linux.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/pkg/syscall/exec_linux.go b/src/pkg/syscall/exec_linux.go index 81dc80800b..a1656e8dce 100644 --- a/src/pkg/syscall/exec_linux.go +++ b/src/pkg/syscall/exec_linux.go @@ -242,11 +242,6 @@ childerror: for { 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. -- 2.50.0