[freerdp,api] mark function pointers [[nodiscard]]

This commit is contained in:
Armin Novak
2026-02-15 22:45:20 +01:00
parent 399d92f26e
commit 6a1cc0f031
59 changed files with 847 additions and 813 deletions

View File

@@ -169,9 +169,7 @@ static UINT ecam_ihal_device_added_callback(CameraPlugin* ecam, GENERIC_CHANNEL_
*/
static UINT ecam_enumerate_devices(CameraPlugin* ecam, GENERIC_CHANNEL_CALLBACK* hchannel)
{
ecam->ihal->Enumerate(ecam->ihal, ecam_ihal_device_added_callback, ecam, hchannel);
return CHANNEL_RC_OK;
return ecam->ihal->Enumerate(ecam->ihal, ecam_ihal_device_added_callback, ecam, hchannel);
}
/**