mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
schannel: Fix compilation warning from commit 7a8e861a56
schannel.c:1125:5: warning: missing initializer for field 'dwMinorVersion' of 'OSVERSIONINFOEX' [-Wmissing-field-initializers
This commit is contained in:
parent
c8331f515e
commit
a1b2a6bd93
@ -1122,7 +1122,11 @@ cleanup:
|
||||
!connssl->recv_sspi_close_notify) {
|
||||
BOOL isWin2k;
|
||||
ULONGLONG cm;
|
||||
OSVERSIONINFOEX osver = { sizeof osver, 5, };
|
||||
OSVERSIONINFOEX osver;
|
||||
|
||||
memset(&osver, 0, sizeof(osver));
|
||||
osver.dwOSVersionInfoSize = sizeof(osver);
|
||||
osver.dwMajorVersion = 5;
|
||||
|
||||
cm = VerSetConditionMask(0, VER_MAJORVERSION, VER_EQUAL);
|
||||
cm = VerSetConditionMask(cm, VER_MINORVERSION, VER_EQUAL);
|
||||
|
Loading…
Reference in New Issue
Block a user