diff options
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/fhandler_virtual.cc | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 1e9eb5e..7ae793f 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,10 @@ 2012-07-02 Christopher Faylor <me.cygwin2012@cgf.cx> + * fhandler_virtual.cc (fhandler_virtual::opendir): Eliminate duplicate + assignment found by Clang. + +2012-07-02 Christopher Faylor <me.cygwin2012@cgf.cx> + * fhandler_registry.cc (fhandler_registry::open): Handle missing EROFS error condition pointed to by Clang. diff --git a/winsup/cygwin/fhandler_virtual.cc b/winsup/cygwin/fhandler_virtual.cc index 59bb676..af73dde 100644 --- a/winsup/cygwin/fhandler_virtual.cc +++ b/winsup/cygwin/fhandler_virtual.cc @@ -77,7 +77,6 @@ fhandler_virtual::opendir (int fd) if (fd >= 0) { dir->__d_fd = fd; - res = dir; dir->__fh = this; res = dir; } |