mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
WINPR_UNUSED argc, argv for unit tests
This commit is contained in:
@@ -108,6 +108,10 @@ static int test_lzcnt16(void)
|
||||
|
||||
int TestIntrinsics(int argc, char* argv[])
|
||||
{
|
||||
|
||||
WINPR_UNUSED(argc);
|
||||
WINPR_UNUSED(argv);
|
||||
|
||||
g_LZCNT = IsProcessorFeaturePresentEx(PF_EX_LZCNT);
|
||||
|
||||
printf("LZCNT available: %" PRId32 "\n", g_LZCNT);
|
||||
|
||||
@@ -53,6 +53,9 @@ int TestTypes(int argc, char* argv[])
|
||||
BOOL ok = TRUE;
|
||||
HRESULT hr;
|
||||
|
||||
WINPR_UNUSED(argc);
|
||||
WINPR_UNUSED(argv);
|
||||
|
||||
if (S_OK != (HRESULT)0L)
|
||||
{
|
||||
printf("Error: S_OK should be 0\n");
|
||||
|
||||
Reference in New Issue
Block a user