Merge pull request #4180 from sergio-nsk:patch-3
PiperOrigin-RevId: 517200256 Change-Id: I2ad5d4644f9e2095909ef646a7207c42a38082cf
This commit is contained in:
commit
e49c6b946a
@ -2169,8 +2169,8 @@ inline const char* StrError(int errnum) { return strerror(errnum); }
|
||||
|
||||
inline const char* GetEnv(const char* name) {
|
||||
#if defined(GTEST_OS_WINDOWS_MOBILE) || defined(GTEST_OS_WINDOWS_PHONE) || \
|
||||
defined(GTEST_OS_WINDOWS_RT) || defined(GTEST_OS_ESP8266) || \
|
||||
defined(GTEST_OS_XTENSA) || defined(GTEST_OS_QURT)
|
||||
defined(GTEST_OS_ESP8266) || defined(GTEST_OS_XTENSA) || \
|
||||
defined(GTEST_OS_QURT)
|
||||
// We are on an embedded platform, which has no environment variables.
|
||||
static_cast<void>(name); // To prevent 'unused argument' warning.
|
||||
return nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user