WINPR_UNUSED argc, argv for unit tests

This commit is contained in:
Armin Novak
2021-07-29 10:18:52 +02:00
committed by akallabeth
parent f515bd4560
commit 5eea7fc12d
85 changed files with 266 additions and 34 deletions

View File

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

View File

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