summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-11 21:53:38 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-11 21:53:38 +0300
commit9c2b288a3fecc2b3d13d98ee4d9bc5bb62589d3d (patch)
tree13d395545e2fe3ead138865b628421384f1bc5d5
parentc6997f8ee41d5f85dd8a1269e82982e1ab0b5c74 (diff)
downloadmanaverse-9c2b288a3fecc2b3d13d98ee4d9bc5bb62589d3d.tar.gz
manaverse-9c2b288a3fecc2b3d13d98ee4d9bc5bb62589d3d.tar.bz2
manaverse-9c2b288a3fecc2b3d13d98ee4d9bc5bb62589d3d.tar.xz
manaverse-9c2b288a3fecc2b3d13d98ee4d9bc5bb62589d3d.zip
Fix compilation warning.
-rw-r--r--src/gui/windows/shopwindow.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/windows/shopwindow.cpp b/src/gui/windows/shopwindow.cpp
index 67e361715..3eff4682b 100644
--- a/src/gui/windows/shopwindow.cpp
+++ b/src/gui/windows/shopwindow.cpp
@@ -849,8 +849,6 @@ void ShopWindow::showList(const std::string &nick, std::string data)
{
// +++ need support for colors
const Item *const item = inv->findItem(id, ItemColor_zero);
- bool enabled(true);
-
if (item)
{
if (item->getQuantity() < amount)