diff options
author | kcgen <1557255+kcgen@users.noreply.github.com> | 2020-11-11 18:32:12 +0300 |
---|---|---|
committer | Patryk Obara <patryk.obara@gmail.com> | 2020-12-05 02:44:11 +0300 |
commit | 05393947fa88df8a0c9e821de7fb20d1580faaf8 (patch) | |
tree | 2b96f5ce5c7516e64c378257a97987efd2dac9a4 /.pvs-suppress | |
parent | 2c80a234836cf3a65987200073a9737a296b194d (diff) |
Suppress PVS Studio code insight false-positive noted in dr_wav
Comment from dr_wav author @mackron:
---
I'm setting this one to Will Not Fix. I just don't understand why on Earth
PVS would be suggesting that sampleCountFromFactChunk may want to be used
inside drwav__seek_forward() - that makes no sense at all. In any case, I'm
happy with the logic flow and I don't think there's anything needing to be
changed.
---
Because the code is correct, we consider the suggestion by PVS Studio as
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 31dcb5d5b..5ca7a89f9 100644 --- a/.pvs-suppress +++ b/.pvs-suppress @@ -130,6 +130,14 @@ "Message": "Expression is always false." }, { + "CodeCurrent": 1849716353, + "CodeNext": 11359373, + "CodePrev": 2663124891, + "ErrorCode": "V1051", + "FileName": "dr_wav.h", + "Message": "Consider checking for misprints. It's possible that the 'sampleCountFromFactChunk' should be used inside 'drwav__seek_forward' function." + }, + { "CodeCurrent": 3210175261, "CodeNext": 11069, "CodePrev": 2952291276, |