diff options
Diffstat (limited to '')
-rw-r--r-- | src/CraftingRecipes.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/CraftingRecipes.cpp b/src/CraftingRecipes.cpp index d08a3943c..bc1df4812 100644 --- a/src/CraftingRecipes.cpp +++ b/src/CraftingRecipes.cpp @@ -196,9 +196,7 @@ void cCraftingGrid::Dump(void) { for (int y = 0; y < m_Height; y++) for (int x = 0; x < m_Width; x++) { - #ifdef _DEBUG - int idx = x + m_Width * y; - #endif + [[maybe_unused]] const int idx = x + m_Width * y; LOGD("Slot (%d, %d): Type %d, health %d, count %d", x, y, m_Items[idx].m_ItemType, m_Items[idx].m_ItemDamage, m_Items[idx].m_ItemCount ); |