Skip to content

Commit

Permalink
Merged revision(s) 21558 from trunk/OpenMPT:
Browse files Browse the repository at this point in the history
[Ref] New cppcheck version, new cppcheck braindamage. Same procedure as with every new version. Silence false-positive.
........


git-svn-id: https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.30@21560 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
manxorist committed Aug 31, 2024
1 parent f8ebcc8 commit 584c8a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions soundlib/Load_dsym.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ static std::vector<std::byte> DecompressDSymLZW(FileReader &file, uint32 size)

// Align length to 4 bytes
file.Seek(startPos + ((bitFile.GetPosition() - startPos + 3u) & ~FileReader::off_t(3)));
// cppcheck false-positive
// cppcheck-suppress returnDanglingLifetime
return output;
}

Expand Down

0 comments on commit 584c8a7

Please sign in to comment.