[Scummvm-git-logs] scummvm master -> 5c7186fc88bc89ce6e5d657f917f6cccf685798d
kelmer44
noreply at scummvm.org
Wed Nov 18 20:45:38 UTC 2026
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
5c7186fc88 IGOR: Suppress false positives PVS-Studio V1048, V547
Commit: 5c7186fc88bc89ce6e5d657f917f6cccf685798d
https://github.com/scummvm/scummvm/commit/5c7186fc88bc89ce6e5d657f917f6cccf685798d
Author: kelmer (kelmer at gmail.com)
Date: 2026-11-18T21:45:29+01:00
Commit Message:
IGOR: Suppress false positives PVS-Studio V1048, V547
Changed paths:
engines/igor/part_main.cpp
engines/igor/parts/part_8.cpp
diff --git a/engines/igor/part_main.cpp b/engines/igor/part_main.cpp
index 8c9ca4458e1..7359ab249f1 100644
--- a/engines/igor/part_main.cpp
+++ b/engines/igor/part_main.cpp
@@ -336,7 +336,7 @@ void IgorEngine::partMainLookAtNewspaper() {
startIgorDialogue();
waitForEndOfIgorDialogue(false, false);
wd->x = 240;
- wd->y = 130;
+ wd->y = 130; //-V1048
ADD_DIALOGUE_TEXT(152, 1, 78);
ADD_DIALOGUE_TEXT(153, 3, 79);
SET_DIALOGUE_TEXT(1, 2);
diff --git a/engines/igor/parts/part_8.cpp b/engines/igor/parts/part_8.cpp
index 8bda0ca6cf2..2eef1a5bf5b 100644
--- a/engines/igor/parts/part_8.cpp
+++ b/engines/igor/parts/part_8.cpp
@@ -322,7 +322,7 @@ void IgorEngine::part8ExecuteAction(int action) {
// With the door closed nothing happens: Igor has to open it first
if (_objectsState[kDeanDoorOpenStateIndex] == 0)
break;
- if (_objectsState[kDeanDoorOpenStateIndex] != 0) {
+ if (_objectsState[kDeanDoorOpenStateIndex] != 0) { //-V547
for (int area = 10; area <= 11; ++area)
_roomObjectAreasTable[area].area = 4;
for (int area = 13; area <= 14; ++area)
More information about the Scummvm-git-logs
mailing list