summaryrefslogtreecommitdiff
path: root/src/spells2.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-02-18 13:51:36 +0100
committerBardur Arantsson <bardur@scientician.net>2012-03-29 20:41:31 +0200
commitb63cc899aeedd7c6704b30738998591f327afbef (patch)
tree834185388b192fe2fbeae3abe713fb51e5c160bc /src/spells2.c
parentf5bd542881c50c9295fdb5a541ef7d6e36173815 (diff)
Refactor: Remove unused/dead variables.
Diffstat (limited to 'src/spells2.c')
-rw-r--r--src/spells2.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/spells2.c b/src/spells2.c
index 80d55c44..c365bb5b 100644
--- a/src/spells2.c
+++ b/src/spells2.c
@@ -4537,7 +4537,6 @@ bool_ recharge(int power)
char o_name[80];
object_type *o_ptr;
- object_kind *k_ptr;
/* Only accept legal items */
item_tester_hook = item_tester_hook_recharge;
@@ -4564,7 +4563,6 @@ bool_ recharge(int power)
/* Extract the object "level" */
lev = k_info[o_ptr->k_idx].level;
- k_ptr = &k_info[o_ptr->k_idx];
/* Recharge a rod */
if (o_ptr->tval == TV_ROD_MAIN)
@@ -6647,7 +6645,6 @@ void swap_position(int lty, int ltx)
int tx = ltx, ty = lty;
cave_type * c_ptr;
monster_type * m_ptr;
- monster_race * r_ptr;
if (p_ptr->resist_continuum)
{
@@ -6696,7 +6693,6 @@ void swap_position(int lty, int ltx)
else
{
m_ptr = &m_list[c_ptr->m_idx];
- r_ptr = race_inf(m_ptr);
sound(SOUND_TELEPORT);