Skip to content

Commit

Permalink
fix: remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
dudantas committed Aug 29, 2023
1 parent 13db09a commit d03ddcc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/server/network/protocol/protocolgame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4255,7 +4255,6 @@ void ProtocolGame::sendContainer(uint8_t cid, const Container* container, bool h
}

const auto &enumName = container->getAttribute<std::string>(ItemAttribute_t::STORE_INBOX_CATEGORY);
uint32_t totalReadingItems = 0;
uint32_t totalCountToSend = 0;
std::vector<Item*> itemsStoreInboxToSend;
if (container->getID() == ITEM_STORE_INBOX && enumName != "All") {
Expand All @@ -4268,7 +4267,6 @@ void ProtocolGame::sendContainer(uint8_t cid, const Container* container, bool h
totalCountToSend++;
}
}
totalReadingItems++;
}
}

Expand Down

0 comments on commit d03ddcc

Please sign in to comment.