vpcd: Initialize variables
This caused OpenSC CI failing as described in https://github.com/OpenSC/OpenSC/issues/2390 Authored by Doug Engert <deengert@gmail.com>
This commit is contained in:
@@ -197,6 +197,8 @@ SOCKET waitforclient(SOCKET server, long secs, long usecs)
|
||||
struct pollfd pfd;
|
||||
|
||||
pfd.fd = server;
|
||||
pfd.events = POLLIN;
|
||||
pfd.revents = 0;
|
||||
|
||||
timeout = (secs * 1000000 + usecs / 1000);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user