aboutsummaryrefslogtreecommitdiffstats
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
commitc946ae60194727ede9d3ef44754839f48541a981 (patch)
tree97556ae9a1a32035b8db8b9bfc87b109ad4e39e2 /src/gtest-filepath.cc
parenta32fc79c9af648cd500f9850975d04ae49ebda3f (diff)
downloadgoogletest-c946ae60194727ede9d3ef44754839f48541a981.tar.gz
googletest-c946ae60194727ede9d3ef44754839f48541a981.tar.bz2
googletest-c946ae60194727ede9d3ef44754839f48541a981.zip
Implements a simple regex matcher (to be used by death tests on Windows).
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 b21b7091..ebf7cf93 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.