summaryrefslogtreecommitdiff
path: root/src/wizard2.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/wizard2.c
parentf5bd542881c50c9295fdb5a541ef7d6e36173815 (diff)
Refactor: Remove unused/dead variables.
Diffstat (limited to 'src/wizard2.c')
-rw-r--r--src/wizard2.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/wizard2.c b/src/wizard2.c
index 0d476474..824bc724 100644
--- a/src/wizard2.c
+++ b/src/wizard2.c
@@ -1107,13 +1107,9 @@ static void wiz_statistics(object_type *o_ptr)
*/
static void wiz_quantity_item(object_type *o_ptr)
{
- int tmp_int, tmp_qnt;
-
+ int tmp_int;
char tmp_val[100];
-
- tmp_qnt = o_ptr->number;
-
/* Default */
sprintf(tmp_val, "%d", o_ptr->number);
@@ -1369,7 +1365,6 @@ static void wiz_create_item_2(void)
void do_cmd_wiz_cure_all(void)
{
object_type *o_ptr;
- monster_race *r_ptr;
/* Remove curses */
(void)remove_all_curse();
@@ -1398,7 +1393,6 @@ void do_cmd_wiz_cure_all(void)
o_ptr = &p_ptr->inventory[INVEN_CARRY];
if (o_ptr->k_idx)
{
- r_ptr = &r_info[o_ptr->pval];
o_ptr->pval2 = o_ptr->pval3;
}