4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-18 12:29:32 +08:00

* fhandler_virtual.cc (fhandler_virtual::opendir): Eliminate duplicate

assignment found by Clang.
This commit is contained in:
Christopher Faylor 2012-07-02 20:01:19 +00:00
parent e82360f659
commit ceec584ad3
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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> 2012-07-02 Christopher Faylor <me.cygwin2012@cgf.cx>
* fhandler_registry.cc (fhandler_registry::open): Handle missing EROFS * fhandler_registry.cc (fhandler_registry::open): Handle missing EROFS

View File

@ -77,7 +77,6 @@ fhandler_virtual::opendir (int fd)
if (fd >= 0) if (fd >= 0)
{ {
dir->__d_fd = fd; dir->__d_fd = fd;
res = dir;
dir->__fh = this; dir->__fh = this;
res = dir; res = dir;
} }