diff options
author | Bardur Arantsson <bardur@scientician.net> | 2013-06-24 08:14:32 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2013-06-29 05:37:49 +0200 |
commit | f544f4a026ebd3205b73724047157547fa7bbaa5 (patch) | |
tree | a5496e7ffa3248bca19288902c2e003423d74ede | |
parent | 45c2cb4e51f3683cf527598bff0554e0b1723402 (diff) |
Remove unused variable
-rw-r--r-- | src/cmd6.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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); |