From cfbb335f67a350cf23adb62ee536330312185f58 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 28 Jun 2015 23:29:59 +0300 Subject: Remove some ueseless checks. --- src/gui/windows/inventorywindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/windows/inventorywindow.cpp') diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp index a57565d7f..d4f27fd74 100644 --- a/src/gui/windows/inventorywindow.cpp +++ b/src/gui/windows/inventorywindow.cpp @@ -327,7 +327,7 @@ InventoryWindow::InventoryWindow(Inventory *const inventory) : invInstances.push_back(this); - if (inventory && inventory->isMainInventory()) + if (inventory->isMainInventory()) { updateDropButton(); } -- cgit v1.2.3-60-g2f50