More cppcheck fixes.

This commit is contained in:
lotodore
2011-02-09 16:25:05 +00:00
parent 024258e41c
commit 49f6c4e757
4 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -362,7 +362,7 @@ bool MyAvatarLabel::playerIsOnIgnoreList(QString playerName) {
list<std::string> playerIgnoreList = myW->getMyConfig()->readConfigStringList("PlayerIgnoreList");
list<std::string>::iterator it1;
for(it1= playerIgnoreList.begin(); it1 != playerIgnoreList.end(); it1++) {
for(it1= playerIgnoreList.begin(); it1 != playerIgnoreList.end(); ++it1) {
if(playerName == QString::fromUtf8(it1->c_str())) {
return true;
+1 -1
View File
@@ -24,7 +24,7 @@
#include <assert.h>
#include "ui_startwindow.h"
#include "game_defs.h"
#include "QMessageBox"
#include <QMessageBox>
class GuiInterface;
class GuiWrapper;