From bb647ab68cf28addaf3015e4731c1e8b9e0a294d Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 24 Aug 2004 22:49:16 +0000 Subject: [PATCH] * syscalls.cc (link): Avoid compiler warning. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/syscalls.cc | 1 + 2 files changed, 5 insertions(+) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 6ef1efe3f..a92166b22 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2004-08-24 Corinna Vinschen + + * syscalls.cc (link): Avoid compiler warning. + 2004-08-21 Corinna Vinschen * environ.cc (set_ntea): New function. diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index 49a039d6b..1b3e3c512 100644 --- a/winsup/cygwin/syscalls.cc +++ b/winsup/cygwin/syscalls.cc @@ -760,6 +760,7 @@ link (const char *a, const char *b) StreamId.dwStreamNameSize; lpContext = NULL; + write_err = 0; /* Write the WIN32_STREAM_ID */ bSuccess = BackupWrite ( hFileSource,