diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-01-20 17:14:52 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-01-20 17:14:52 +0000 |
commit | 657105413a1c7293de7ad5090c38f1069ddc6546 (patch) | |
tree | 38cc197d4739100371c086cfe8219c7982fce332 /cpukit/libmisc/shell/fts.c | |
parent | 2010-01-20 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-657105413a1c7293de7ad5090c38f1069ddc6546.tar.bz2 |
2010-01-20 Joel Sherrill <joel.sherrill@oarcorp.com>
Coverity Id 1
* libmisc/shell/fts.c:
Diffstat (limited to 'cpukit/libmisc/shell/fts.c')
-rw-r--r-- | cpukit/libmisc/shell/fts.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/libmisc/shell/fts.c b/cpukit/libmisc/shell/fts.c index 652258c63a..f7a805fc34 100644 --- a/cpukit/libmisc/shell/fts.c +++ b/cpukit/libmisc/shell/fts.c @@ -772,8 +772,10 @@ mem1: saved_errno = errno; if (nlinks) { p->fts_info = FTS_NS; p->fts_errno = cderrno; - } else + } /* else p->fts_info = FTS_NSOK; + */ + /* Coverity Scan Id 1 says above is dead code */ p->fts_accpath = cur->fts_accpath; } else if (nlinks == 0 #ifdef DT_DIR |