* src/chmod.c (process_file): Remove an unreachable return in the
FTS_SL case.  Commit v9.11-157-g30866b30e added this check, but its
ignore_missing_fts_entry helper already excluded FTS_SL entries.
Commit v9.12-320-ga96478e19 made that exclusion explicit in
process_file, which was flagged by coverity.
---
 src/chmod.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/chmod.c b/src/chmod.c
index 98acb017d..fb17979da 100644
--- a/src/chmod.c
+++ b/src/chmod.c
@@ -373,9 +373,6 @@ process_file (FTS *fts, FTSENT *ent)
         {
           if (fstatat (fts->fts_cwd_fd, file, &stat_buf, 0) != 0)
             {
-              if (ignore_missing
-                  && ignorable_traversal_errno (errno))
-                return true;
               if (! force_silent)
                 error (0, errno, _("cannot dereference %s"),
                        quoteaf (file_full_name));
-- 
2.56.0


Reply via email to