mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
[clang,warnings] fix Wjump-misses-init
This commit is contained in:
@@ -196,9 +196,12 @@ static void* smartcard_context_new(void* smartcard, SCARDCONTEXT hContext)
|
||||
WLog_ERR(TAG, "MessageQueue_New failed!");
|
||||
goto fail;
|
||||
}
|
||||
wObject* obj = MessageQueue_Object(pContext->IrpQueue);
|
||||
WINPR_ASSERT(obj);
|
||||
obj->fnObjectFree = smartcard_operation_queue_free;
|
||||
|
||||
{
|
||||
wObject* obj = MessageQueue_Object(pContext->IrpQueue);
|
||||
WINPR_ASSERT(obj);
|
||||
obj->fnObjectFree = smartcard_operation_queue_free;
|
||||
}
|
||||
|
||||
pContext->thread = CreateThread(NULL, 0, smartcard_context_thread, pContext, 0, NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user