diff options
author | Sam Lantinga <slouken@libsdl.org> | 2021-01-27 21:30:21 -0800 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2021-01-27 21:30:21 -0800 |
commit | 071d95eac4062eae050507fe9735bf648f4d1b1a (patch) | |
tree | 6531ed5145f0c8332acf77328720e993e95fd945 /src | |
parent | 3315ed436aa27d83eea614376d8a16869adea9eb (diff) | |
download | sdl-071d95eac4062eae050507fe9735bf648f4d1b1a.tar.gz |
Fixed build warning
Diffstat (limited to 'src')
-rw-r--r-- | src/hidapi/windows/hid.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 |