summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/teleport.cc
diff options
context:
space:
mode:
authorMatthew Cline <zelgadis@sourceforge.net>2009-11-15 02:01:05 -0800
committerMatthew Cline <zelgadis@sourceforge.net>2009-11-15 02:01:05 -0800
commitd650ba38f00f0168d3741becf075fa848e213bb0 (patch)
tree6b96447d15f717f9de6d245b779de11cb8f5ce4e /crawl-ref/source/teleport.cc
parent370dc08f2832bbbdae426ea35a0de6b2bd31a804 (diff)
downloadcrawl-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.cc12
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,