diff options
author | kcgen <1557255+kcgen@users.noreply.github.com> | 2020-11-12 23:06:15 +0300 |
---|---|---|
committer | Patryk Obara <patryk.obara@gmail.com> | 2020-12-05 02:44:11 +0300 |
commit | 35f19cff5abc5fbc4b3d9d1ca4de9a2be0a5519c (patch) | |
tree | a9f646d9626d0f44103b07378ebe30de0701f447 /.pvs-suppress | |
parent | 05393947fa88df8a0c9e821de7fb20d1580faaf8 (diff) |
Suppress PVS Studio false-positive warning for dr_wav
Basis for why this is being suppressed, per @mackron (12 Nov 2020):
---
This check is specifically for 32-bit builds where that should certainly be
possible. Won't be possible on 64-bit, but I don't want to be doing a
compile-time check on that to avoid the warning.
I made a tiny change to this here which almost certainly won't fix this
message. I've decided that I'm leaving the code as-is because I can't think of
a clean way to silence it.
---
Because this check is valid in some cases, we consider PVS's
assessment incorrect and thus a false-positive.
Signed-off-by: kcgen <1557255+kcgen@users.noreply.github.com>
Diffstat (limited to '.pvs-suppress')
-rw-r--r-- | .pvs-suppress | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.pvs-suppress b/.pvs-suppress index 5ca7a89f9..c98b4c61b 100644 --- a/.pvs-suppress +++ b/.pvs-suppress @@ -130,6 +130,14 @@ "Message": "Expression is always false." }, { + "CodeCurrent": 1596023591, + "CodeNext": 1281436681, + "CodePrev": 4081771348, + "ErrorCode": "V547", + "FileName": "dr_wav.h", + "Message": "Expression 'bytesToRead > (_UL)' is always false." + }, + { "CodeCurrent": 1849716353, "CodeNext": 11359373, "CodePrev": 2663124891, |