From f544f4a026ebd3205b73724047157547fa7bbaa5 Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Mon, 24 Jun 2013 08:14:32 +0200 Subject: Remove unused variable --- src/cmd6.c | 5 +---- 1 file changed, 1 insertion(+), 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); -- cgit v1.2.3