History

Avoid warnings about an unused variable in debug mode

Martin Storsjö committed 11 years ago

Commit c69d6281 parent 4df6f941 file · +2 −0Browse files

Showing the changes to test/encoder/EncUT_MemoryZero.cpp (1 of 1 file). Show all

Unified · Split

test/encoder/EncUT_MemoryZero.cpp+2−0
@@ -30,6 +30,8 @@ TEST (SetMemZeroFunTest, WelsSetMemZero) { · 29 unmodified lines
3030 if (uiCpuFlag & WELS_CPU_SSE2) {
3131 sFuncPtrList.pfSetMemZeroSize64Aligned16 = WelsSetMemZeroAligned64_sse2; // confirmed_safe_unsafe_usage
3232 }
33+#else
34+ (void) uiCpuFlag; // Avoid warnings if no assembly is enabled
3335 #endif//X86_ASM
3436
3537 #if defined(HAVE_NEON)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t