Silence a warning.

This commit is contained in:
David Reid
2018-07-05 21:53:58 +10:00
parent c25318d8cf
commit 78e4de8b2c
+1 -1
View File
@@ -23243,7 +23243,7 @@ mal_uint64 mal_src_read_deinterleaved__sinc(mal_src* pSRC, mal_uint64 frameCount
} }
#endif #endif
mal_int32 windowWidthSIMD2 = windowWidthSIMD*2; mal_int32 windowWidthSIMD2 = windowWidthSIMD*2;
(void)windowWidthSIMD2; // <-- Silence a warning when SIMD is disabled.
float* ppNextSamplesOut[MAL_MAX_CHANNELS]; float* ppNextSamplesOut[MAL_MAX_CHANNELS];
mal_copy_memory(ppNextSamplesOut, ppSamplesOut, sizeof(void*) * pSRC->config.channels); mal_copy_memory(ppNextSamplesOut, ppSamplesOut, sizeof(void*) * pSRC->config.channels);