Skip to content

Commit

Permalink
Fix build warnings in magic.c resulted from recent power rework (#3258)
Browse files Browse the repository at this point in the history
  • Loading branch information
walt253 authored May 23, 2024
1 parent a046545 commit f5c38b1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/magic.c
Original file line number Diff line number Diff line change
Expand Up @@ -1074,7 +1074,6 @@ static TbResult magic_use_power_hold_audience(PowerKind power_kind, PlayerNumber
while (i != 0)
{
struct CreatureControl *cctrl;
struct Thing *thing;
thing = thing_get(i);
TRACE_THING(thing);
cctrl = creature_control_get_from_thing(thing);
Expand Down Expand Up @@ -1447,7 +1446,6 @@ static TbResult magic_use_power_sight(PowerKind power_kind, PlayerNumber plyr_id
{
const struct MagicStats *pwrdynst;
struct Dungeon *dungeon;
struct Thing *sighttng;
struct Coord3d pos;
long cit;
long cdt;
Expand Down Expand Up @@ -1523,7 +1521,6 @@ static TbResult magic_use_power_cave_in(PowerKind power_kind, PlayerNumber plyr_
unsigned long k;
k = 0;
i = get_mapwho_thing_index(mapblk);
struct Thing *cavetng;
while (i != 0)
{
thing = thing_get(i);
Expand Down

0 comments on commit f5c38b1

Please sign in to comment.