delete waste code fpr cppcheck
This commit is contained in:
@@ -1142,11 +1142,9 @@ std::string CardsValue::determineHandName(int myCardsValueInt, PlayerList active
|
|||||||
// 4.there are still same hands
|
// 4.there are still same hands
|
||||||
if(equal) {
|
if(equal) {
|
||||||
different = false;
|
different = false;
|
||||||
equal = false;
|
|
||||||
// third kicker?
|
// third kicker?
|
||||||
for(it = sameHandCardsValueInt.begin(); it != sameHandCardsValueInt.end(); ) {
|
for(it = sameHandCardsValueInt.begin(); it != sameHandCardsValueInt.end(); ) {
|
||||||
if((*it) == myCardsValueInt) {
|
if((*it) == myCardsValueInt) {
|
||||||
equal = true;
|
|
||||||
++it;
|
++it;
|
||||||
} else {
|
} else {
|
||||||
different = true;
|
different = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user