diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2007-08-21 16:39:53 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2007-08-21 16:39:53 +0400 |
commit | f5f0ae3e262d87de3097b79291cb349e65dc234d (patch) | |
tree | 06d7737594a03a5b761ff16d3bbb0073d808060d /winsup/cygwin/syscalls.cc | |
parent | 1b61bf152b3972c6afd3f938d7654c7738b1c2bc (diff) |
* syscalls.cc (unlink_nt): Drop one local FILE_BASIC_INFORMATION struct.
Diffstat (limited to 'winsup/cygwin/syscalls.cc')
-rw-r--r-- | winsup/cygwin/syscalls.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index 905f77425..8afa025b0 100644 --- a/winsup/cygwin/syscalls.cc +++ b/winsup/cygwin/syscalls.cc @@ -479,7 +479,6 @@ unlink_nt (path_conv &pc) /* Get rid of read-only attribute. */ if (access & FILE_WRITE_ATTRIBUTES) { - FILE_BASIC_INFORMATION fbi; fbi.CreationTime.QuadPart = fbi.LastAccessTime.QuadPart = fbi.LastWriteTime.QuadPart = fbi.ChangeTime.QuadPart = 0LL; fbi.FileAttributes = (pc.file_attributes () & ~FILE_ATTRIBUTE_READONLY) |