summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.cc
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2009-10-10 23:49:54 -0700
committerSteven Noonan <steven@uplinklabs.net>2009-10-10 23:49:54 -0700
commit58f42dec260dc9d186ff8b6453a989930723eba4 (patch)
tree1fa4cc3f64e8816bfdf29e0c61a13d9d2d08fdc1 /crawl-ref/source/ouch.cc
parent5fc330e598870b10e2d7f31c1ee3bbc0bc0c19e3 (diff)
downloadcrawl-ref-58f42dec260dc9d186ff8b6453a989930723eba4.tar.gz
crawl-ref-58f42dec260dc9d186ff8b6453a989930723eba4.zip
kill some DEBUG/WIZARD compiler warnings about unused functions
cloud.cc:45: warning: "bool _killer_whose_match(kill_category, killer_type)" defined but not used mutation.cc:1923: warning: "bool _is_random(mutation_type)" defined but not used ouch.cc:891: warning: "void _wizard_restore_life()" defined but not used Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r--crawl-ref/source/ouch.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index 45a31c189c..27b382fa6c 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -887,7 +887,7 @@ static void _maybe_spawn_jellies(int dam, const char* aux,
}
-
+#ifdef WIZARD
static void _wizard_restore_life()
{
if (you.hp <= 0)
@@ -909,6 +909,7 @@ static void _wizard_restore_life()
you.redraw_intelligence = true;
}
}
+#endif
// death_source should be set to NON_MONSTER for non-monsters. {dlb}
void ouch(int dam, int death_source, kill_method_type death_type,