summaryrefslogtreecommitdiff
path: root/src/cmd5.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:14 +0200
committerBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:14 +0200
commit4fb8fb773d93efe1cdc812d1046c530c20098455 (patch)
tree6603e2925061e1150dac2f21b213c2f514510868 /src/cmd5.cc
parent288c3d3f725eabfee06507966a0ba63bf587c3da (diff)
Remove dead code
Fixes a few compiler warnings.
Diffstat (limited to 'src/cmd5.cc')
-rw-r--r--src/cmd5.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cmd5.cc b/src/cmd5.cc
index 2fd9801e..e2c2e1b8 100644
--- a/src/cmd5.cc
+++ b/src/cmd5.cc
@@ -809,7 +809,6 @@ static std::tuple<int, int> choose_monster_power(monster_race const *r_ptr, bool
*/
static void apply_monster_power(monster_race const *r_ptr, std::size_t monster_spell_idx)
{
- assert(monster_spell_idx >= 0);
assert(monster_spell_idx < monster_spell_flag_set::nbits);
/* Shorthand */