Fix STRERROR_R_CHAR_P cxx check (remove unused variable warning->error)
Client: cpp
Patch: Anton Filippov
This closes #2081
diff --git a/build/cmake/ConfigureChecks.cmake b/build/cmake/ConfigureChecks.cmake
index 457bfe0..276d8ef 100644
--- a/build/cmake/ConfigureChecks.cmake
+++ b/build/cmake/ConfigureChecks.cmake
@@ -64,7 +64,7 @@
check_cxx_source_compiles(
"
#include <string.h>
- int main(){char b;char *a = strerror_r(0, &b, 0); return(0);}
+ int main(){char b;char *a = strerror_r(0, &b, 0); static_cast<void>(a); return(0);}
"
STRERROR_R_CHAR_P)