Fixed unused argument warnings.

This commit is contained in:
Armin Novak 2019-02-07 17:53:32 +01:00
parent 05901280fe
commit 27d2a9e040
2 changed files with 7 additions and 0 deletions

View File

@ -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)
{

View File

@ -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)