Fix some warnings reported by Eclipse.

This commit is contained in:
Myrd
2015-12-25 23:39:49 +00:00
parent 6fe4c683a5
commit 3aa0e71675
2 changed files with 8 additions and 3 deletions

View File

@@ -543,7 +543,6 @@ public class ChangeZoneEffect extends SpellAbilityEffect {
movedCard = game.getAction().moveTo(destination, tgtC);
// If a card is Exiled from the stack, remove its spells from the stack
if (sa.hasParam("Fizzle")) {
final FCollectionView<SpellAbility> spells = tgtC.getSpellAbilities();
if (tgtC.isInZone(ZoneType.Exile) || tgtC.isInZone(ZoneType.Hand) || tgtC.isInZone(ZoneType.Stack)) {
// This only fizzles spells, not anything else.
game.getStack().remove(tgtC);