summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2013-06-24 08:14:32 +0200
committerBardur Arantsson <bardur@scientician.net>2013-06-29 05:37:49 +0200
commitf544f4a026ebd3205b73724047157547fa7bbaa5 (patch)
treea5496e7ffa3248bca19288902c2e003423d74ede
parent45c2cb4e51f3683cf527598bff0554e0b1723402 (diff)
Remove unused variable
-rw-r--r--src/cmd6.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cmd6.c b/src/cmd6.c
index f15860b9..ce49b155 100644
--- a/src/cmd6.c
+++ b/src/cmd6.c
@@ -3893,7 +3893,7 @@ void do_cmd_aim_wand(void)
{
bool_ obvious, use_charge;
- int item, ident, chance, sval;
+ int item, ident, chance;
object_type *o_ptr;
@@ -3982,9 +3982,6 @@ void do_cmd_aim_wand(void)
sound(SOUND_ZAP);
- /* XXX Hack -- Extract the "sval" effect */
- sval = o_ptr->sval;
-
/* Analyze the wand */
activate_stick(o_ptr->pval2, &obvious, &use_charge);