From 08772f640273a2c8b205d029e918a96c8deb8ab3 Mon Sep 17 00:00:00 2001 From: Bernhard Miklautz Date: Thu, 28 Feb 2013 12:18:21 +0100 Subject: [PATCH] primitives: removed build warnings on arm --- libfreerdp/primitives/test/test_alphaComp.c | 3 +-- libfreerdp/primitives/test/test_set.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/libfreerdp/primitives/test/test_alphaComp.c b/libfreerdp/primitives/test/test_alphaComp.c index 7d721cd39..66d765ec6 100644 --- a/libfreerdp/primitives/test/test_alphaComp.c +++ b/libfreerdp/primitives/test/test_alphaComp.c @@ -203,7 +203,7 @@ int test_alphaComp_func(void) /* ------------------------------------------------------------------------- */ -STD_SPEED_TEST(alphaComp_speed, BYTE, BYTE, int bytes = size*4, +STD_SPEED_TEST(alphaComp_speed, BYTE, BYTE, int bytes __attribute__((unused)) = size*4, TRUE, general_alphaComp_argb(src1, bytes, src2, bytes, dst, bytes, size, size), #ifdef WITH_SSE2 @@ -212,7 +212,6 @@ STD_SPEED_TEST(alphaComp_speed, BYTE, BYTE, int bytes = size*4, #else FALSE, PRIM_NOP, 0, FALSE, #endif - TRUE, ipp_alphaComp_argb(src1, bytes, src2, bytes, dst, bytes, size, size)); diff --git a/libfreerdp/primitives/test/test_set.c b/libfreerdp/primitives/test/test_set.c index 33a41e216..3edf746d7 100644 --- a/libfreerdp/primitives/test/test_set.c +++ b/libfreerdp/primitives/test/test_set.c @@ -287,7 +287,7 @@ STD_SPEED_TEST(set32s_speed_test, INT32, INT32, dst=dst, #ifdef WITH_SSE2 TRUE, sse2_set_32s(constant, dst, size), PF_XMMI64_INSTRUCTIONS_AVAILABLE, FALSE, #else - FALSE, NULL, 0, FALSE, + FALSE, PRIM_NOP, 0, FALSE, #endif TRUE, ippsSet_32s(constant, dst, size));