diff options
author | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-15 02:01:05 -0800 |
---|---|---|
committer | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-15 02:01:05 -0800 |
commit | d650ba38f00f0168d3741becf075fa848e213bb0 (patch) | |
tree | 6b96447d15f717f9de6d245b779de11cb8f5ce4e /crawl-ref/source/teleport.cc | |
parent | 370dc08f2832bbbdae426ea35a0de6b2bd31a804 (diff) | |
download | crawl-ref-d650ba38f00f0168d3741becf075fa848e213bb0.tar.gz crawl-ref-d650ba38f00f0168d3741becf075fa848e213bb0.zip |
teleport.cc: quite non-debug unused warning
Get rid of "unused variable" warnings for non-debug builds.
Diffstat (limited to 'crawl-ref/source/teleport.cc')
-rw-r--r-- | crawl-ref/source/teleport.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/crawl-ref/source/teleport.cc b/crawl-ref/source/teleport.cc index aafc685583..e7ffb3e528 100644 --- a/crawl-ref/source/teleport.cc +++ b/crawl-ref/source/teleport.cc @@ -122,6 +122,9 @@ void blink_other_close(actor* victim, const coord_def &target) return; bool success = victim->blink_to(dest); ASSERT(success); +#ifndef DEBUG + UNUSED(success); +#endif } // Blink the monster away from its foe. @@ -135,6 +138,9 @@ void blink_away(monsters* mon) return; bool success = mon->blink_to(dest); ASSERT(success); +#ifndef DEBUG + UNUSED(success); +#endif } // Blink the monster within range but at distance to its foe. @@ -148,6 +154,9 @@ void blink_range(monsters* mon) return; bool success = mon->blink_to(dest); ASSERT(success); +#ifndef DEBUG + UNUSED(success); +#endif } // Blink the monster close to its foe. @@ -161,6 +170,9 @@ void blink_close(monsters* mon) return; bool success = mon->blink_to(dest); ASSERT(success); +#ifndef DEBUG + UNUSED(success); +#endif } bool random_near_space(const coord_def& origin, coord_def& target, |