Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2016-10-22 23:57:03 +0300
committerCorinna Vinschen <corinna@vinschen.de>2016-10-22 23:57:03 +0300
commit015f6894a06a66ed5aa5b65840fa580155dd5459 (patch)
tree90f9b7d041aa1d4db368aa68f5d55b547a06728f /winsup/utils/cygcheck.cc
parentbbeef8ef3fc017dc7a1e042c3b0e2456dcc8b51f (diff)
cygcheck: Eliminate dead code
Fixes Coverity CID 66907 Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/utils/cygcheck.cc')
-rw-r--r--winsup/utils/cygcheck.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/winsup/utils/cygcheck.cc b/winsup/utils/cygcheck.cc
index c9eb8a6b8..16b47e81f 100644
--- a/winsup/utils/cygcheck.cc
+++ b/winsup/utils/cygcheck.cc
@@ -795,12 +795,6 @@ track_down (const char *file, const char *suffix, int lvl)
if (lvl)
printf ("%*c", lvl, ' ');
- if (!path)
- {
- display_error ("file not found - '%s'\n", file);
- return false;
- }
-
printf ("%s", path);
wide_path wpath (path);