diff --git a/visa/iga/IGALibrary/system.cpp b/visa/iga/IGALibrary/system.cpp index 805c97a866cc..48bfce374dc2 100644 --- a/visa/iga/IGALibrary/system.cpp +++ b/visa/iga/IGALibrary/system.cpp @@ -215,6 +215,10 @@ unsigned iga::LastError() { #endif // _WIN32 } +[[maybe_unused]] +static void add_strerror_r_to_error(char *errMsg, int strerror_r_return_value) { +} + static void add_strerror_r_to_error(char *errMsg, char *strerror_r_return_value) { errMsg = strerror_r_return_value;