Commit e632d595 authored by Ludovic Rousseau's avatar Ludovic Rousseau

Fix compiler warning missing field 'rv' initializer

winscard_svc.c:428:47: warning: missing field 'rv' initializer
      [-Wmissing-field-initializers]
                                struct wait_reader_state_change waStr = {0};
parent 54224a4c
......@@ -425,7 +425,11 @@ static void ContextThread(LPVOID newContext)
case CMD_STOP_WAITING_READER_STATE_CHANGE:
{
struct wait_reader_state_change waStr = {0};
struct wait_reader_state_change waStr =
{
.timeOut = 0,
.rv = 0
};
/* remove the client fd from the list */
waStr.rv = EHUnregisterClientForEvent(filedes);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment