From 196c4b2e0a5e67bb2367ced25b85a19bbc4265ed Mon Sep 17 00:00:00 2001 From: floty Date: Sun, 15 Sep 2013 16:10:43 +0200 Subject: [PATCH] delete waste code fpr cppcheck --- src/engine/local_engine/cardsvalue.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/engine/local_engine/cardsvalue.cpp b/src/engine/local_engine/cardsvalue.cpp index edb72451..e309d95f 100755 --- a/src/engine/local_engine/cardsvalue.cpp +++ b/src/engine/local_engine/cardsvalue.cpp @@ -1142,11 +1142,9 @@ std::string CardsValue::determineHandName(int myCardsValueInt, PlayerList active // 4.there are still same hands if(equal) { different = false; - equal = false; // third kicker? for(it = sameHandCardsValueInt.begin(); it != sameHandCardsValueInt.end(); ) { if((*it) == myCardsValueInt) { - equal = true; ++it; } else { different = true;