summaryrefslogtreecommitdiff
path: root/src/cmd4.c
diff options
context:
space:
mode:
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;