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/resources/inventory/inventory.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/resources/inventory') diff --git a/src/resources/inventory/inventory.cpp b/src/resources/inventory/inventory.cpp index d013ef3f6..529a1b0b5 100644 --- a/src/resources/inventory/inventory.cpp +++ b/src/resources/inventory/inventory.cpp @@ -152,7 +152,7 @@ void Inventory::setItem(const int index, if (index < 0 || index >= CAST_S32(mSize)) { reportAlways("Warning: invalid inventory index: %d", - index); + index) return; } @@ -197,7 +197,7 @@ void Inventory::setCards(const int index, if (index < 0 || index >= CAST_S32(mSize)) { reportAlways("Warning: invalid inventory index: %d", - index); + index) return; } @@ -212,7 +212,7 @@ void Inventory::setOptions(const int index, if (index < 0 || index >= CAST_S32(mSize)) { reportAlways("Warning: invalid inventory index: %d", - index); + index) return; } Item *const item1 = mItems[index]; @@ -226,7 +226,7 @@ void Inventory::setTag(const int index, if (index < 0 || index >= CAST_S32(mSize)) { reportAlways("Warning: invalid inventory index: %d", - index); + index) return; } Item *const item1 = mItems[index]; @@ -254,7 +254,7 @@ void Inventory::removeItemAt(const int index) { if (mItems[index] == nullptr) return; - delete2(mItems[index]); + delete2(mItems[index]) mUsed--; if (mUsed < 0) // Already at 0, no need to distribute event mUsed = 0; -- cgit v1.2.3-70-g09d2