unused variable
AllAbilities.cpp:275:17: error: unused variable ‘counter’ [-Werror=unused-variable]
This commit is contained in:
@@ -272,7 +272,6 @@ AADepleter::AADepleter(GameObserver* observer, int _id, MTGCardInstance * card,
|
|||||||
{
|
{
|
||||||
WParsedInt numCards(nbcardsStr, NULL, source);
|
WParsedInt numCards(nbcardsStr, NULL, source);
|
||||||
MTGLibrary * library = player->game->library;
|
MTGLibrary * library = player->game->library;
|
||||||
int counter = 0;
|
|
||||||
for (int i = 0; i < numCards.getValue(); i++)
|
for (int i = 0; i < numCards.getValue(); i++)
|
||||||
{
|
{
|
||||||
if (library->nb_cards)
|
if (library->nb_cards)
|
||||||
|
|||||||
Reference in New Issue
Block a user