From 0c20db8d108c4123fcc3ecb343759e68567a4d4e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 26 Nov 2018 00:51:57 +0300 Subject: Remove extra ; from different code. --- src/gui/windows/shopwindow.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/gui/windows/shopwindow.cpp') diff --git a/src/gui/windows/shopwindow.cpp b/src/gui/windows/shopwindow.cpp index 91c7063de..e0306503d 100644 --- a/src/gui/windows/shopwindow.cpp +++ b/src/gui/windows/shopwindow.cpp @@ -248,11 +248,11 @@ ShopWindow::~ShopWindow() { saveList(); - delete2(mBuyShopItemList); - delete2(mSellShopItemList); - delete2(mBuyShopItems); - delete2(mSellShopItems); - delete2(mTradeItem); + delete2(mBuyShopItemList) + delete2(mSellShopItemList) + delete2(mBuyShopItems) + delete2(mSellShopItems) + delete2(mTradeItem) instances.remove(this); } @@ -560,7 +560,7 @@ void ShopWindow::loadList() if (!shopFile.is_open()) { reportAlways("Error opening file for reading: %s", - shopListName.c_str()); + shopListName.c_str()) shopFile.close(); return; } @@ -616,7 +616,7 @@ void ShopWindow::saveList() const if (!shopFile.is_open()) { reportAlways("Error opening file writing: %s", - shopListName.c_str()); + shopListName.c_str()) return; } -- cgit v1.2.3-70-g09d2