diff options
author | Pete Batard <pete@akeo.ie> | 2013-03-12 01:26:08 +0000 |
---|---|---|
committer | Pete Batard <pete@akeo.ie> | 2013-03-12 01:26:08 +0000 |
commit | 894e65649cda90fd0404b816a16585e2efffb1cd (patch) | |
tree | b53898c5ed2269c2cad3a117915bb9cc18247d18 /msvc | |
parent | b74b7f7390690f631274b46ef2bbe7984d825eec (diff) | |
download | libusb-894e65649cda90fd0404b816a16585e2efffb1cd.tar.gz |
Windows: Fix multiple warnings
* Most of these warnings are false positive from VS2012's "Run Code Analysis"
* Also closes #98: "windows_usb.c:376:30: 'dev_info' may be used uninitialized"
Diffstat (limited to 'msvc')
-rw-r--r-- | msvc/config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/msvc/config.h b/msvc/config.h index 1814db5..bb542c5 100644 --- a/msvc/config.h +++ b/msvc/config.h @@ -7,6 +7,8 @@ /* Disable: warning C4200: nonstandard extension used : zero-sized array in struct/union */ #pragma warning(disable:4200) +/* Disable: warning C6258: Using TerminateThread does not allow proper thread clean up */ +#pragma warning(disable: 6258) #if defined(_PREFAST_) /* Disable "Banned API" errors when using the MS's WDK OACR/Prefast */ #pragma warning(disable:28719) |