diff --git a/winsup/cygwin/dir.cc b/winsup/cygwin/dir.cc index 121b5a4a9..6faddf37b 100644 --- a/winsup/cygwin/dir.cc +++ b/winsup/cygwin/dir.cc @@ -99,9 +99,6 @@ readdir_worker (DIR *dir, dirent *de) } if (!res) -#if 1 - de->d_ino = 0; -#else { /* Compute d_ino by combining filename hash with the directory hash (which was stored in dir->__d_dirhash when opendir was called). */ @@ -139,7 +136,6 @@ readdir_worker (DIR *dir, dirent *de) } de->__ino32 = de->d_ino; // for legacy applications } -#endif return res; }