summaryrefslogtreecommitdiff
path: root/src/cmd2.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-02-18 13:51:36 +0100
committerBardur Arantsson <bardur@scientician.net>2012-03-29 20:41:31 +0200
commitb63cc899aeedd7c6704b30738998591f327afbef (patch)
tree834185388b192fe2fbeae3abe713fb51e5c160bc /src/cmd2.c
parentf5bd542881c50c9295fdb5a541ef7d6e36173815 (diff)
Refactor: Remove unused/dead variables.
Diffstat (limited to 'src/cmd2.c')
-rw-r--r--src/cmd2.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/cmd2.c b/src/cmd2.c
index bf7899aa..633ad660 100644
--- a/src/cmd2.c
+++ b/src/cmd2.c
@@ -31,8 +31,6 @@ static bool_ do_cmd_bash_fountain(int y, int x)
{
int bash, temp;
- cave_type *c_ptr;
-
bool_ more = TRUE;
monster_race *r_ptr = &r_info[p_ptr->body_monster];
@@ -48,9 +46,6 @@ static bool_ do_cmd_bash_fountain(int y, int x)
/* Take a turn */
energy_use = 100;
- /* Get grid */
- c_ptr = &cave[y][x];
-
/* Message */
msg_print("You smash into the fountain!");
@@ -3917,8 +3912,6 @@ void do_cmd_boomerang(void)
bool_ hit_body = FALSE;
- bool_ hit_wall = FALSE;
-
byte missile_attr;
char missile_char;
@@ -4016,7 +4009,6 @@ void do_cmd_boomerang(void)
/* Stopped by walls/doors */
if (!cave_floor_bold(ny, nx))
{
- hit_wall = TRUE;
break;
}