summaryrefslogtreecommitdiff
path: root/src/cmd4.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/cmd4.c
parentf5bd542881c50c9295fdb5a541ef7d6e36173815 (diff)
Refactor: Remove unused/dead variables.
Diffstat (limited to 'src/cmd4.c')
-rw-r--r--src/cmd4.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cmd4.c b/src/cmd4.c
index 87c07dae..ce5e6d58 100644
--- a/src/cmd4.c
+++ b/src/cmd4.c
@@ -3792,8 +3792,6 @@ static void do_cmd_knowledge_pets(void)
monster_type *m_ptr;
- monster_race *r_ptr;
-
int t_friends = 0;
int t_levels = 0;
@@ -3818,7 +3816,6 @@ static void do_cmd_knowledge_pets(void)
{
/* Access the monster */
m_ptr = &m_list[i];
- r_ptr = &r_info[m_ptr->r_idx];
/* Ignore "dead" monsters */
if (!m_ptr->r_idx) continue;