aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction
diff options
context:
space:
mode:
authorTorbjörn Andersson2010-01-03 19:37:43 +0000
committerTorbjörn Andersson2010-01-03 19:37:43 +0000
commit72eb9ec9eab5efcb3aa99a962a80423e8c0a3232 (patch)
tree032c9107838aefca6a166465a46fa7318bb82566 /engines/parallaction
parent910ffb53a0b6c74a965df9a1270cdfc3885252ec (diff)
downloadscummvm-rg350-72eb9ec9eab5efcb3aa99a962a80423e8c0a3232.tar.gz
scummvm-rg350-72eb9ec9eab5efcb3aa99a962a80423e8c0a3232.tar.bz2
scummvm-rg350-72eb9ec9eab5efcb3aa99a962a80423e8c0a3232.zip
Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is null
before freeing it, which isn't necessary. svn-id: r46941
Diffstat (limited to 'engines/parallaction')
-rw-r--r--engines/parallaction/gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/gui.cpp b/engines/parallaction/gui.cpp
index ee8d040f44..c4a36e5362 100644
--- a/engines/parallaction/gui.cpp
+++ b/engines/parallaction/gui.cpp
@@ -47,7 +47,7 @@ bool MenuInputHelper::run() {
MenuInputHelper::~MenuInputHelper() {
StateMap::iterator b = _map.begin();
- for ( ; b != _map.end(); b++) {
+ for ( ; b != _map.end(); ++b) {
delete b->_value;
}
_map.clear();