summaryrefslogtreecommitdiff
path: root/src/init2.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/init2.c
parentf5bd542881c50c9295fdb5a541ef7d6e36173815 (diff)
Refactor: Remove unused/dead variables.
Diffstat (limited to 'src/init2.c')
-rw-r--r--src/init2.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/init2.c b/src/init2.c
index 6ab4ec54..1f326912 100644
--- a/src/init2.c
+++ b/src/init2.c
@@ -2553,15 +2553,13 @@ static errr init_alloc(void)
s16b aux[MAX_DEPTH_MONSTER];
- s16b *tmp;
-
/*** Analyze object allocation info ***/
/* Clear the "aux" array */
- tmp = C_WIPE(&aux, MAX_DEPTH_MONSTER, s16b);
+ C_WIPE(&aux, MAX_DEPTH_MONSTER, s16b);
/* Clear the "num" array */
- tmp = C_WIPE(&num, MAX_DEPTH_MONSTER, s16b);
+ C_WIPE(&num, MAX_DEPTH_MONSTER, s16b);
/* Size of "alloc_kind_table" */
alloc_kind_size = 0;
@@ -2647,10 +2645,10 @@ static errr init_alloc(void)
/*** Analyze monster allocation info ***/
/* Clear the "aux" array */
- tmp = C_WIPE(&aux, MAX_DEPTH_MONSTER, s16b);
+ C_WIPE(&aux, MAX_DEPTH_MONSTER, s16b);
/* Clear the "num" array */
- tmp = C_WIPE(&num, MAX_DEPTH_MONSTER, s16b);
+ C_WIPE(&num, MAX_DEPTH_MONSTER, s16b);
/* Size of "alloc_race_table" */
alloc_race_size = 0;