From d59a926837d1161c1961d36d2babfbfc08a94c3c Mon Sep 17 00:00:00 2001
From: Sam Lantinga <slouken@libsdl.org>
Date: Wed, 27 Jan 2021 21:30:21 -0800
Subject: [PATCH] Fixed build warning

---
 src/hidapi/windows/hid.c | 3 +++
 1 file changed, 3 insertions(+)

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