mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
Merge pull request #3624 from danlark1/patch-4
Disable unused variable warning in msan configurations
This commit is contained in:
commit
e256e43274
1 changed files with 1 additions and 0 deletions
|
|
@ -192,6 +192,7 @@ MEM_STATIC void ZSTD_cwksp_assert_internal_consistency(ZSTD_cwksp* ws) {
|
|||
{
|
||||
intptr_t const offset = __msan_test_shadow(ws->initOnceStart,
|
||||
(U8*)ZSTD_cwksp_initialAllocStart(ws) - (U8*)ws->initOnceStart);
|
||||
(void)offset;
|
||||
#if defined(ZSTD_MSAN_PRINT)
|
||||
if(offset!=-1) {
|
||||
__msan_print_shadow((U8*)ws->initOnceStart + offset - 8, 32);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue