Commit b4999a1e by Abseil Team Committed by Mark Barolak

Googletest export

Remove unreachable code when GTEST_CUSTOM_TEMPDIR_FUNCTION_ is defined. PiperOrigin-RevId: 341810264
parent 035de8c7
......@@ -6553,9 +6553,7 @@ void InitGoogleTest() {
std::string TempDir() {
#if defined(GTEST_CUSTOM_TEMPDIR_FUNCTION_)
return GTEST_CUSTOM_TEMPDIR_FUNCTION_();
#endif
#if GTEST_OS_WINDOWS_MOBILE
#elif GTEST_OS_WINDOWS_MOBILE
return "\\temp\\";
#elif GTEST_OS_WINDOWS
const char* temp_dir = internal::posix::GetEnv("TEMP");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment