From 48184679086094cc5d6067de8c31a6823fc71732 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Fri, 22 Jan 2010 19:05:02 +0000 Subject: 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 --- backends/vkeybd/image-map.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backends/vkeybd/image-map.cpp') diff --git a/backends/vkeybd/image-map.cpp b/backends/vkeybd/image-map.cpp index b0aa42ba22..36d060e1d4 100644 --- a/backends/vkeybd/image-map.cpp +++ b/backends/vkeybd/image-map.cpp @@ -53,7 +53,7 @@ void ImageMap::removeArea(const String& id) { void ImageMap::removeAllAreas() { HashMap::iterator it; - for (it = _areas.begin(); it != _areas.end(); it++) { + for (it = _areas.begin(); it != _areas.end(); ++it) { delete it->_value; } _areas.clear(); @@ -61,7 +61,7 @@ void ImageMap::removeAllAreas() { String ImageMap::findMapArea(int16 x, int16 y) { HashMap::iterator it; - for (it = _areas.begin(); it != _areas.end(); it++) { + for (it = _areas.begin(); it != _areas.end(); ++it) { if (it->_value->contains(x, y)) return it->_key; } -- cgit v1.2.3