From 3376d2e114767eef06b87645edefcd2d42696919 Mon Sep 17 00:00:00 2001
From: est31 <MTest31@outlook.com>
Date: Thu, 25 Jun 2015 15:50:31 +0200
Subject: [PATCH] Remove compile warning

Thanks @TeTpaAka for pointing this out.
---
 src/inventory.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/inventory.cpp b/src/inventory.cpp
index ff2c15b65..6c7c8cdd1 100644
--- a/src/inventory.cpp
+++ b/src/inventory.cpp
@@ -795,7 +795,6 @@ void InventoryList::moveItemSomewhere(u32 i, InventoryList *dest, u32 count)
 		return;
 
 	// Try to add the item to destination list
-	u32 oldcount = item1.count;
 	u32 dest_size = dest->getSize();
 	// First try all the non-empty slots
 	for (u32 dest_i = 0; dest_i < dest_size; dest_i++) {
-- 
GitLab