projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d43df9
)
Remove compile warning
author
est31
<MTest31@outlook.com>
Thu, 25 Jun 2015 13:50:31 +0000
(15:50 +0200)
committer
est31
<MTest31@outlook.com>
Thu, 25 Jun 2015 13:50:31 +0000
(15:50 +0200)
Thanks @TeTpaAka for pointing this out.
src/inventory.cpp
patch
|
blob
|
history
diff --git
a/src/inventory.cpp
b/src/inventory.cpp
index ff2c15b651b431a5a3f333f31bfeee489e9ba54c..6c7c8cdd19ee6dc75240efd538c4b3f20e6dd20f 100644
(file)
--- 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++) {