Forráskód Böngészése

Fixed build warning

Sam Lantinga 4 éve
szülő
commit
d59a926837
1 módosított fájl, 3 hozzáadás és 0 törlés
  1. 3 0
      src/hidapi/windows/hid.c

+ 3 - 0
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