summaryrefslogtreecommitdiff
path: root/src/gtest-filepath.cc
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2009-01-29 01:28:52 +0000
committerzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2009-01-29 01:28:52 +0000
commitd40d06d49055d6286a0a9fead61c0f86d94bc557 (patch)
tree97556ae9a1a32035b8db8b9bfc87b109ad4e39e2 /src/gtest-filepath.cc
parent90592e714eba798bf335ae56a07fcbad8f9703a6 (diff)
downloadgtest-d40d06d49055d6286a0a9fead61c0f86d94bc557.tar.gz
gtest-d40d06d49055d6286a0a9fead61c0f86d94bc557.tar.bz2
gtest-d40d06d49055d6286a0a9fead61c0f86d94bc557.tar.xz
Implements a simple regex matcher (to be used by death tests on Windows).
git-svn-id: http://googletest.googlecode.com/svn/trunk@182 861a406c-534a-0410-8894-cb66d6ee9925
Diffstat (limited to 'src/gtest-filepath.cc')
-rw-r--r--src/gtest-filepath.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gtest-filepath.cc b/src/gtest-filepath.cc
index b21b709..ebf7cf9 100644
--- a/src/gtest-filepath.cc
+++ b/src/gtest-filepath.cc
@@ -215,7 +215,6 @@ bool FilePath::DirectoryExists() const {
// root directory per disk drive.)
bool FilePath::IsRootDirectory() const {
#ifdef GTEST_OS_WINDOWS
- const char* const name = pathname_.c_str();
// TODO(wan@google.com): on Windows a network share like
// \\server\share can be a root directory, although it cannot be the
// current directory. Handle this properly.