[proxy,modules] eliminate unused variables

This commit is contained in:
akallabeth
2024-09-24 17:58:26 +02:00
parent fcdbc05979
commit b1cc0a3191
2 changed files with 8 additions and 6 deletions

View File

@@ -440,6 +440,8 @@ static BOOL rdstls_cmp_str(wLog* log, const char* field, const char* serverStr,
return FALSE;
}
WINPR_ASSERT(serverStr);
WINPR_ASSERT(clientStr);
if (strcmp(serverStr, clientStr) != 0)
{
WLog_Print(log, WLOG_ERROR, "%s verification failed", field);

View File

@@ -247,7 +247,7 @@ static BOOL demo_mouse_event(proxyPlugin* plugin, proxyData* pdata, void* param)
WINPR_ASSERT(pdata);
WINPR_ASSERT(event_data);
WLog_INFO(TAG, "called");
WLog_INFO(TAG, "called %p", event_data);
return TRUE;
}
@@ -259,7 +259,7 @@ static BOOL demo_mouse_ex_event(proxyPlugin* plugin, proxyData* pdata, void* par
WINPR_ASSERT(pdata);
WINPR_ASSERT(event_data);
WLog_INFO(TAG, "called");
WLog_INFO(TAG, "called %p", event_data);
return TRUE;
}
@@ -309,7 +309,7 @@ static BOOL demo_server_fetch_target_addr(proxyPlugin* plugin, proxyData* pdata,
WINPR_ASSERT(pdata);
WINPR_ASSERT(event_data);
WLog_INFO(TAG, "called");
WLog_INFO(TAG, "called %p", event_data);
return TRUE;
}
@@ -333,7 +333,7 @@ static BOOL demo_dyn_channel_intercept_list(proxyPlugin* plugin, proxyData* pdat
WINPR_ASSERT(pdata);
WINPR_ASSERT(data);
WLog_INFO(TAG, "%s", __func__);
WLog_INFO(TAG, "%s: %p", __func__, data);
return TRUE;
}
@@ -345,7 +345,7 @@ static BOOL demo_static_channel_intercept_list(proxyPlugin* plugin, proxyData* p
WINPR_ASSERT(pdata);
WINPR_ASSERT(data);
WLog_INFO(TAG, "%s", __func__);
WLog_INFO(TAG, "%s: %p", __func__, data);
return TRUE;
}
@@ -357,7 +357,7 @@ static BOOL demo_dyn_channel_intercept(proxyPlugin* plugin, proxyData* pdata, vo
WINPR_ASSERT(pdata);
WINPR_ASSERT(data);
WLog_INFO(TAG, "%s", __func__);
WLog_INFO(TAG, "%s: %p", __func__, data);
return TRUE;
}