]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libgo/go/os/path.go
libgo: update to Go1.14beta1
[thirdparty/gcc.git] / libgo / go / os / path.go
index 9d7ecad79298ad06f57b4876d3b76280fee01f03..ba43ea352547b9e4018df73c55b2b8d9a6f9bc90 100644 (file)
@@ -58,9 +58,6 @@ func MkdirAll(path string, perm FileMode) error {
        return nil
 }
 
-// removeAllTestHook is a hook for testing.
-var removeAllTestHook = func(err error) error { return err }
-
 // RemoveAll removes path and any children it contains.
 // It removes everything it can but returns the first error
 // it encounters. If the path does not exist, RemoveAll