aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/assets.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2010-01-22 19:05:02 +0000
committerTorbjörn Andersson2010-01-22 19:05:02 +0000
commit48184679086094cc5d6067de8c31a6823fc71732 (patch)
treedd366cf38861efbf803aa194e455577efcea8871 /engines/m4/assets.cpp
parent8f41cc0631914a6a743a1efa5275d8fa399b4f12 (diff)
downloadscummvm-rg350-48184679086094cc5d6067de8c31a6823fc71732.tar.gz
scummvm-rg350-48184679086094cc5d6067de8c31a6823fc71732.tar.bz2
scummvm-rg350-48184679086094cc5d6067de8c31a6823fc71732.zip
Silenced some more cppcheck warnings. Some of these may seem silly, but the way
I figure it the changes are harmless at worst, and making them will make it easier to find real errors in the (still quite long) list of warnings. svn-id: r47443
Diffstat (limited to 'engines/m4/assets.cpp')
-rw-r--r--engines/m4/assets.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/m4/assets.cpp b/engines/m4/assets.cpp
index 746cc7507d..66a3629fe9 100644
--- a/engines/m4/assets.cpp
+++ b/engines/m4/assets.cpp
@@ -221,7 +221,7 @@ void SpriteAsset::loadMadsSpriteAsset(M4Engine *vm, Common::SeekableReadStream*
}
SpriteAsset::~SpriteAsset() {
- for (Common::Array<SpriteAssetFrame>::iterator it = _frames.begin(); it != _frames.end(); it++) {
+ for (Common::Array<SpriteAssetFrame>::iterator it = _frames.begin(); it != _frames.end(); ++it) {
delete (*it).frame;
}
}