diff options
author | Christopher Faylor <me@cgf.cx> | 2008-05-22 01:25:37 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2008-05-22 01:25:37 +0000 |
commit | 9ea50a60e17a1c52ff92ce8b24578442e6c30ec2 (patch) | |
tree | 7b35e299fdec9feee09c9c7ba4bc87305401d4fa /winsup/cygwin/syscalls.cc | |
parent | 4962a9453ac3a9c23cba3c7e952242a6831f0cb3 (diff) | |
download | cygnal-9ea50a60e17a1c52ff92ce8b24578442e6c30ec2.tar.gz cygnal-9ea50a60e17a1c52ff92ce8b24578442e6c30ec2.tar.bz2 cygnal-9ea50a60e17a1c52ff92ce8b24578442e6c30ec2.zip |
* string.h (strchr): Eliminate.
* syscalls.cc (rename): Work around inexplicable C++ warning.
Diffstat (limited to 'winsup/cygwin/syscalls.cc')
-rw-r--r-- | winsup/cygwin/syscalls.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index 01e744570..a7471d958 100644 --- a/winsup/cygwin/syscalls.cc +++ b/winsup/cygwin/syscalls.cc @@ -1505,7 +1505,7 @@ rename (const char *oldpath, const char *newpath) bool old_explicit_suffix = false, new_explicit_suffix = false; size_t olen, nlen; bool equal_path; - NTSTATUS status; + NTSTATUS status = 0; HANDLE fh = NULL, nfh; HANDLE old_trans = NULL, trans = NULL; OBJECT_ATTRIBUTES attr; |