From 98718bfe7da47d758df848af7e5b2f98b1e1976f Mon Sep 17 00:00:00 2001 From: Nicky Dasmijn Date: Sun, 14 Jun 2020 20:41:23 +0200 Subject: [PATCH] Supress PVS Studio warnings. --- indra/llcommon/llerror.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/indra/llcommon/llerror.h b/indra/llcommon/llerror.h index 447c0fb31f..34a65d6cd5 100644 --- a/indra/llcommon/llerror.h +++ b/indra/llcommon/llerror.h @@ -36,6 +36,12 @@ #include "llpreprocessor.h" #include +// 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 +//-V:lllog_site_args_:557 +// + const int LL_ERR_NOERR = 0; // Define one of these for different error levels in release...