Fixed unused argument warnings.
This commit is contained in:
parent
05901280fe
commit
27d2a9e040
@ -979,6 +979,9 @@ static UINT video_control_on_new_channel_connection(IWTSListenerCallback* listen
|
||||
VIDEO_CHANNEL_CALLBACK* callback;
|
||||
VIDEO_LISTENER_CALLBACK* listener_callback = (VIDEO_LISTENER_CALLBACK*) listenerCallback;
|
||||
|
||||
WINPR_UNUSED(Data);
|
||||
WINPR_UNUSED(pbAccept);
|
||||
|
||||
callback = (VIDEO_CHANNEL_CALLBACK*) calloc(1, sizeof(VIDEO_CHANNEL_CALLBACK));
|
||||
if (!callback)
|
||||
{
|
||||
@ -1005,6 +1008,9 @@ static UINT video_data_on_new_channel_connection(IWTSListenerCallback* pListener
|
||||
VIDEO_CHANNEL_CALLBACK* callback;
|
||||
VIDEO_LISTENER_CALLBACK* listener_callback = (VIDEO_LISTENER_CALLBACK*) pListenerCallback;
|
||||
|
||||
WINPR_UNUSED(Data);
|
||||
WINPR_UNUSED(pbAccept);
|
||||
|
||||
callback = (VIDEO_CHANNEL_CALLBACK*) calloc(1, sizeof(VIDEO_CHANNEL_CALLBACK));
|
||||
if (!callback)
|
||||
{
|
||||
|
@ -213,6 +213,7 @@ static void shadow_client_context_free(freerdp_peer* peer,
|
||||
rdpShadowClient* client)
|
||||
{
|
||||
rdpShadowServer* server = client->server;
|
||||
WINPR_UNUSED(peer);
|
||||
ArrayList_Remove(server->clients, (void*) client);
|
||||
|
||||
if (client->encoder)
|
||||
|
Loading…
Reference in New Issue
Block a user