From 2e84ed7ccc2c5d217729e4996bb0e833c0f89638 Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Fri, 15 Feb 2019 19:20:25 +0100 Subject: Fix GCC compiler warnings --- src/monster2.cc | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/monster2.cc') diff --git a/src/monster2.cc b/src/monster2.cc index 620915b0..ab9108d1 100644 --- a/src/monster2.cc +++ b/src/monster2.cc @@ -954,8 +954,6 @@ s16b get_mon_num(int level) int r_idx; long value, total; - int in_tome; - /* Boost the level */ if (level > 0) { @@ -984,9 +982,6 @@ s16b get_mon_num(int level) /* Reset total */ total = 0L; - /* Check whether this is ToME or a module */ - in_tome = strcmp(game_module, "ToME") == 0; - /* Process probabilities */ for (i = 0; i < alloc.race_table.size(); i++) { -- cgit v1.2.3