From 05f6adbbd90f58346a0bca85793069c387c54b67 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 3 May 2006 20:49:33 +0000 Subject: Removed FilesystemNode::isValid (leaving it up to the porters to decide whether to remove their isValid code or not) svn-id: r22317 --- common/file.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') diff --git a/common/file.cpp b/common/file.cpp index b662ab9c44..cb9836294b 100644 --- a/common/file.cpp +++ b/common/file.cpp @@ -309,7 +309,7 @@ bool File::exists(const String &filename) { // First try to find the file it via a FilesystemNode (in case an absolute // path was passed). But we only use this to filter out directories. FilesystemNode file(filename); - if (file.isValid() && file.isDirectory()) + if (file.isDirectory()) return false; // Next, try to locate the file by *opening* it in read mode. This has -- cgit v1.2.3