summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-06-24 01:59:01 +0300
committerAndrei Karas <akaras@inbox.ru>2019-06-24 01:59:01 +0300
commita6445adf61a87f73a3cd7781c36e36e228ac526e (patch)
tree6e291125a2fb15ae36e5c65af9b8bb1360b1eaea /src/gui/popups
parentbdc467e9f8d7c72d912eb7fdc434b3a14b52d901 (diff)
downloadmv-a6445adf61a87f73a3cd7781c36e36e228ac526e.tar.gz
mv-a6445adf61a87f73a3cd7781c36e36e228ac526e.tar.bz2
mv-a6445adf61a87f73a3cd7781c36e36e228ac526e.tar.xz
mv-a6445adf61a87f73a3cd7781c36e36e228ac526e.zip
Fix code style
Diffstat (limited to 'src/gui/popups')
-rw-r--r--src/gui/popups/itempopup.cpp3
-rw-r--r--src/gui/popups/popupmenu.cpp1
2 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/popups/itempopup.cpp b/src/gui/popups/itempopup.cpp
index e96d2845b..0e9dd031f 100644
--- a/src/gui/popups/itempopup.cpp
+++ b/src/gui/popups/itempopup.cpp
@@ -350,9 +350,6 @@ std::string ItemPopup::getCardsString(const int *const cards)
return label;
}
case CARD0_FORGE: // forged item
- {
- return label;
- }
case CARD0_PET:
{
return label;
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 435d35111..dcba43e1f 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -2082,7 +2082,6 @@ void PopupMenu::showAttackMonsterPopup(const int x, const int y,
break;
}
case MapItemType::IGNORE_:
- break;
default:
break;
}