vpcd: Initialize variable also on Windows

This should fix the appveyor build failure:

C:\projects\vsmartcard\virtualsmartcard\src\vpcd\vpcd.c(183): error C4700: uninitialized local variable 'rfds' used [C:\projects\vsmartcard\virtualsmartcard\win32\BixVReader\BixVReader.vcxproj]
This commit is contained in:
Jakub Jelen
2021-08-26 10:15:37 +02:00
parent 8d34ee42c7
commit e8be94964b

View File

@@ -179,6 +179,7 @@ SOCKET waitforclient(SOCKET server, long secs, long usecs)
fd_set rfds;
struct timeval tv;
FD_ZERO(&rfds);
#pragma warning(disable:4127)
FD_SET(server, &rfds);
#pragma warning(default:4127)