diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-03-27 21:41:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-03-27 21:41:20 +0300 |
commit | 964ffbb9b6ed5246b14a7d0c0d065f7d38af0912 (patch) | |
tree | edef1b3f31183402e2d0f86ee48c9734c2a03c7e /src/gui/botcheckerwindow.cpp | |
parent | 41ac086fcd38fd472b579a495a8e8e7685ae4722 (diff) | |
download | mv-964ffbb9b6ed5246b14a7d0c0d065f7d38af0912.tar.gz mv-964ffbb9b6ed5246b14a7d0c0d065f7d38af0912.tar.bz2 mv-964ffbb9b6ed5246b14a7d0c0d065f7d38af0912.tar.xz mv-964ffbb9b6ed5246b14a7d0c0d065f7d38af0912.zip |
Fix some warnings and improve code from gcc 4.6 compilation.
Diffstat (limited to 'src/gui/botcheckerwindow.cpp')
-rw-r--r-- | src/gui/botcheckerwindow.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/botcheckerwindow.cpp b/src/gui/botcheckerwindow.cpp index bd721e8aa..c2cfab2f6 100644 --- a/src/gui/botcheckerwindow.cpp +++ b/src/gui/botcheckerwindow.cpp @@ -104,7 +104,6 @@ public: && botCheckerWindow->mEnabled) { std::set<ActorSprite*> beings = actorSpriteManager->getAll(); - ActorSprites::iterator i = beings.begin(); for (ActorSprites::const_iterator i = beings.begin(); i != beings.end(); ++i) { @@ -391,7 +390,6 @@ void BotCheckerWindow::reset() if (actorSpriteManager) { std::set<ActorSprite*> beings = actorSpriteManager->getAll(); - ActorSprites::iterator i = beings.begin(); for (ActorSprites::const_iterator i = beings.begin(); i != beings.end(); ++i) { |