aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/internal/syscall/unix/at.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/internal/syscall/unix/at.go b/src/internal/syscall/unix/at.go
index 876ca9ff57..90fcda0c75 100644
--- a/src/internal/syscall/unix/at.go
+++ b/src/internal/syscall/unix/at.go
@@ -12,7 +12,6 @@ import (
)
func Unlinkat(dirfd int, path string, flags int) error {
- var p *byte
p, err := syscall.BytePtrFromString(path)
if err != nil {
return err
@@ -27,7 +26,6 @@ func Unlinkat(dirfd int, path string, flags int) error {
}
func Openat(dirfd int, path string, flags int, perm uint32) (int, error) {
- var p *byte
p, err := syscall.BytePtrFromString(path)
if err != nil {
return 0, err