used, unused variables

some variables marked as unused, are now actually used
some unused variables are eliminated or commented out
This commit is contained in:
nhmall
2024-03-16 12:53:58 -04:00
parent cad4d87101
commit 295d6e257c
10 changed files with 24 additions and 21 deletions
+2 -1
View File
@@ -487,7 +487,7 @@ do_improvisation(struct obj *instr)
struct obj itmp;
boolean mundane = FALSE, same_old_song = FALSE;
static char my_goto_song[] = {'C', '\0'},
*improvisation SOUNDLIBONLY = my_goto_song;
*improvisation = my_goto_song;
itmp = *instr;
itmp.oextra = (struct oextra *) 0; /* ok on this copy as instr maintains
@@ -706,6 +706,7 @@ do_improvisation(struct obj *instr)
impossible("What a weird instrument (%d)!", instr->otyp);
return 0;
}
nhUse(improvisation);
return 2; /* That takes time */
}