| Index: runtime/bin/directory_fuchsia.cc
|
| diff --git a/runtime/bin/directory_fuchsia.cc b/runtime/bin/directory_fuchsia.cc
|
| index c9a7c4e9438373df98ab338bf51bb7530411b036..658409e20d35ae36a18c86bf4e9cd2d443247c78 100644
|
| --- a/runtime/bin/directory_fuchsia.cc
|
| +++ b/runtime/bin/directory_fuchsia.cc
|
| @@ -413,7 +413,6 @@ static bool DeleteRecursively(int dirfd, PathBuffer* path) {
|
| }
|
| // End of directory.
|
| int status = NO_RETRY_EXPECTED(closedir(dir_pointer));
|
| - FDUtils::SaveErrorAndClose(fd);
|
| if (status != 0) {
|
| return false;
|
| }
|
| @@ -474,7 +473,6 @@ static bool DeleteRecursively(int dirfd, PathBuffer* path) {
|
| ASSERT(errno != 0);
|
| int err = errno;
|
| VOID_NO_RETRY_EXPECTED(closedir(dir_pointer));
|
| - FDUtils::SaveErrorAndClose(fd);
|
| errno = err;
|
| return false;
|
| }
|
|
|