We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec9b08e commit 815d1c6Copy full SHA for 815d1c6
src/platform/PlatformError.cpp
@@ -53,9 +53,6 @@ const char * DescribePlatformError(CHIP_ERROR aError)
53
#else
54
static char errBuf[128];
55
#endif // CHIP_SYSTEM_CONFIG_THREAD_LOCAL_STORAGE
56
- // Use strerror() and copy into a thread-local buffer. We intentionally do
57
- // not attempt to use strerror_r here to avoid cross-toolchain incompatibilities
58
- // between the POSIX (int) and GNU (char*) variants.
59
60
const char * s = strerror(lError);
61
if (s != nullptr)
0 commit comments