Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove compile warning
Thanks @TeTpaAka for pointing this out.
  • Loading branch information
est31 committed Jun 25, 2015
1 parent 3d43df9 commit 3376d2e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/inventory.cpp
Expand Up @@ -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++) {
Expand Down

0 comments on commit 3376d2e

Please sign in to comment.