Commit d59a926837d1161c1961d36d2babfbfc08a94c3c

Sam Lantinga 2021-01-27T21:30:21

Fixed build warning

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/hidapi/windows/hid.c b/src/hidapi/windows/hid.c
index 424cbe9..4fa7065 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