From 82c6275cb49602d7903b2bff7d60b7c772a5d91a Mon Sep 17 00:00:00 2001 From: Jes Cok Date: Wed, 15 Nov 2023 21:04:25 +0800 Subject: [PATCH] re3 --- src/syscall/syscall_windows.go | 1 - 1 file changed, 1 deletion(-) diff --git a/src/syscall/syscall_windows.go b/src/syscall/syscall_windows.go index a364f9589c3..d13acc5c441 100644 --- a/src/syscall/syscall_windows.go +++ b/src/syscall/syscall_windows.go @@ -381,7 +381,6 @@ func Open(path string, mode int, perm uint32) (fd Handle, err error) { default: createmode = OPEN_EXISTING } - var attrs uint32 = FILE_ATTRIBUTE_NORMAL if perm&S_IWRITE == 0 { attrs = FILE_ATTRIBUTE_READONLY