[warnings] fix unused result warnings

This commit is contained in:
akallabeth
2026-01-26 12:31:30 +01:00
parent 3170a21418
commit 3f163cee9c
4 changed files with 10 additions and 5 deletions

View File

@@ -713,7 +713,8 @@ FREERDP_ENTRY_POINT(UINT VCAPITYPE DeviceServiceEntry(PDEVICE_SERVICE_ENTRY_POIN
if (pEntryPoints->device->Name)
{
smartcard_call_context_add(smartcard->callctx, pEntryPoints->device->Name);
if (!smartcard_call_context_add(smartcard->callctx, pEntryPoints->device->Name))
goto fail;
}
sSmartcard = smartcard;