Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2414)

Unified Diff: runtime/bin/directory_fuchsia.cc

Issue 2547013003: Fuchsia: Build an OS image that includes Dart's test suite. (Closed)
Patch Set: Fix copyright year. Fix comment. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « BUILD.gn ('k') | tools/gen_fuchsia_test_manifest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/directory_fuchsia.cc
diff --git a/runtime/bin/directory_fuchsia.cc b/runtime/bin/directory_fuchsia.cc
index c9311712ced530c4dc2fb36186b764dbd91a13e2..f47f81d49d4805dcc549ba9308b597db9a3f85a1 100644
--- a/runtime/bin/directory_fuchsia.cc
+++ b/runtime/bin/directory_fuchsia.cc
@@ -118,9 +118,6 @@ ListType DirectoryListingEntry::Next(DirectoryListing* listing) {
// ports.
errno = 0;
dirent* entry = readdir(reinterpret_cast<DIR*>(lister_));
- if (entry == NULL) {
- perror("readdir failed: ");
- }
if (entry != NULL) {
if (!listing->path_buffer().Add(entry->d_name)) {
done_ = true;
« no previous file with comments | « BUILD.gn ('k') | tools/gen_fuchsia_test_manifest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698