From 8db1f7ad0c69777d9a0ab7beb6d23508f4377124 Mon Sep 17 00:00:00 2001 From: Christian Duvivier Date: Fri, 30 May 2014 10:03:46 -0700 Subject: [PATCH] Fix unused variable warning. Change-Id: I52f73943194039697da6880d2da54821b2498336 --- third_party/googletest/README.libvpx | 2 +- third_party/googletest/src/src/gtest-all.cc | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/third_party/googletest/README.libvpx b/third_party/googletest/README.libvpx index 6fdeb8731..7201a67d3 100644 --- a/third_party/googletest/README.libvpx +++ b/third_party/googletest/README.libvpx @@ -12,4 +12,4 @@ failures, various options for running the tests, and XML test report generation. Local Modifications: -None. \ No newline at end of file +Removed unused declarations of kPathSeparatorString to have warning free build. \ No newline at end of file diff --git a/third_party/googletest/src/src/gtest-all.cc b/third_party/googletest/src/src/gtest-all.cc index a9a03b2e3..8d906279a 100644 --- a/third_party/googletest/src/src/gtest-all.cc +++ b/third_party/googletest/src/src/gtest-all.cc @@ -7904,7 +7904,6 @@ namespace internal { // of them. const char kPathSeparator = '\\'; const char kAlternatePathSeparator = '/'; -const char kPathSeparatorString[] = "\\"; const char kAlternatePathSeparatorString[] = "/"; # if GTEST_OS_WINDOWS_MOBILE // Windows CE doesn't have a current directory. You should not use @@ -7918,7 +7917,6 @@ const char kCurrentDirectoryString[] = ".\\"; # endif // GTEST_OS_WINDOWS_MOBILE #else const char kPathSeparator = '/'; -const char kPathSeparatorString[] = "/"; const char kCurrentDirectoryString[] = "./"; #endif // GTEST_OS_WINDOWS