summaryrefslogtreecommitdiff
path: root/src/spells1.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-02-23 09:11:56 +0100
committerBardur Arantsson <bardur@scientician.net>2015-02-23 09:11:56 +0100
commit61e8cfc1d553b2bc0cce6b0dd56b03f51f187423 (patch)
tree4988afbe6ad84804444d0dc3151d300e22d1a80e /src/spells1.cc
parentb1f5178bdabafde20eb65df6256b53dc5968b2e2 (diff)
Clean up warnings about signed/unsigned comparisons
Diffstat (limited to 'src/spells1.cc')
-rw-r--r--src/spells1.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/spells1.cc b/src/spells1.cc
index 9207974c..0eda200c 100644
--- a/src/spells1.cc
+++ b/src/spells1.cc
@@ -8956,6 +8956,10 @@ bool_ potion_smash_effect(int who, int y, int x, int o_sval)
(void) project(who, radius, y, x, dam, dt,
(PROJECT_JUMP | PROJECT_ITEM | PROJECT_KILL));
+ // Silence warning. We may want to introuce an actual implementation
+ // and I want to preserve the original "ident" values if we do so.
+ (void) ident;
+
/* XXX those potions that explode need to become "known" */
return angry;
}