diff --git a/src/hidapi/windows/hid.c b/src/hidapi/windows/hid.c index 424cbe9f0..4fa706502 100644 --- a/src/hidapi/windows/hid.c +++ b/src/hidapi/windows/hid.c @@ -109,6 +109,9 @@ extern "C" { #ifdef _MSC_VER /* Thanks Microsoft, but I know how to use strncpy(). */ #pragma warning(disable:4996) + + /* Yes, we have some unreferenced formal parameters */ + #pragma warning(disable:4100) #endif #ifdef __cplusplus