diff options
author | Bardur Arantsson <bardur@scientician.net> | 2019-02-15 19:20:25 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2019-02-15 19:20:25 +0100 |
commit | 2e84ed7ccc2c5d217729e4996bb0e833c0f89638 (patch) | |
tree | ca6d170950dde4b4142f57e185dfa69c0e43908e /src/monster2.cc | |
parent | dc75eb992ae721b4205d52207d05e40365e873a5 (diff) |
Fix GCC compiler warnings
Diffstat (limited to 'src/monster2.cc')
-rw-r--r-- | src/monster2.cc | 5 |
1 files changed, 0 insertions, 5 deletions
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++) { |