From 271ba517345e4ee92fc9512cbc4e0ec270aaad99 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Tue, 17 Jan 2023 18:54:20 +0100 Subject: [PATCH] Disable C6011 code analyses warning for now popping up everywhere because of the LL_ENDL / LLERROR_CRASH macro --- indra/llcommon/llerror.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/indra/llcommon/llerror.h b/indra/llcommon/llerror.h index 45b3837730..1ae337979b 100644 --- a/indra/llcommon/llerror.h +++ b/indra/llcommon/llerror.h @@ -40,6 +40,12 @@ #include +// Disable C6011 code analyses warning for now popping up everywhere because of the LL_ENDL / LLERROR_CRASH macro +#if LL_WINDOWS +#pragma warning (disable : 6011) +#endif +// + // Supress some false positives of PVS Studio. // They are misleading as there is opossibly a pointr taken behid the array and that pointer is passed down. But it's never dereferenced. //-V:llassert_always:557