shithub: openh264

Download patch

ref: c69d628a8237d9c180c1195326170b3687bf8501
parent: 4df6f9420f3f7b98c74b396643915c50bb91cd6a
author: Martin Storsjö <martin@martin.st>
date: Fri Jan 16 08:59:53 EST 2015

Avoid warnings about an unused variable in debug mode

--- a/test/encoder/EncUT_MemoryZero.cpp
+++ b/test/encoder/EncUT_MemoryZero.cpp
@@ -30,6 +30,8 @@
   if (uiCpuFlag & WELS_CPU_SSE2) {
     sFuncPtrList.pfSetMemZeroSize64Aligned16	= WelsSetMemZeroAligned64_sse2;	// confirmed_safe_unsafe_usage
   }
+#else
+  (void) uiCpuFlag; // Avoid warnings if no assembly is enabled
 #endif//X86_ASM
 
 #if defined(HAVE_NEON)