Remove variables that were unused-but-set
This commit is contained in:
parent
b65272771e
commit
aebc5da4d3
|
@ -345,7 +345,6 @@ void hostage_close_window()
|
|||
|
||||
int hostage_dialog_handler(UI_DIALOG *dlg, d_event *event, hostage_dialog *h)
|
||||
{
|
||||
fix DeltaTime;
|
||||
fix64 Temp;
|
||||
int keypress = 0;
|
||||
int rval = 0;
|
||||
|
@ -392,7 +391,6 @@ int hostage_dialog_handler(UI_DIALOG *dlg, d_event *event, hostage_dialog *h)
|
|||
|
||||
// A simple frame time counter for spinning the objects...
|
||||
Temp = timer_query();
|
||||
DeltaTime = Temp - h->time;
|
||||
h->time = Temp;
|
||||
|
||||
if (CurrentHostageIndex > -1 ) {
|
||||
|
|
|
@ -1753,11 +1753,12 @@ void bm_read_hostage()
|
|||
|
||||
void bm_read_hostage_face(int skip, int pc_shareware)
|
||||
{
|
||||
char *abm_name,*equal_ptr;
|
||||
int clip_num=-1,sound_num=-1;
|
||||
fix time=0;
|
||||
char *equal_ptr;
|
||||
#ifndef NDEBUG
|
||||
int clip_num=-1;
|
||||
#endif
|
||||
|
||||
abm_name = strtok( NULL, space );
|
||||
strtok( NULL, space );
|
||||
|
||||
arg = strtok( NULL, space );
|
||||
while (arg!=NULL) {
|
||||
|
@ -1768,13 +1769,11 @@ void bm_read_hostage_face(int skip, int pc_shareware)
|
|||
|
||||
// if we have john=cool, arg is 'john' and equal_ptr is 'cool'
|
||||
|
||||
#ifndef NDEBUG
|
||||
if (!d_stricmp( arg, "clip_num" )) {
|
||||
clip_num = atoi(equal_ptr);
|
||||
} else if (!d_stricmp( arg, "time" )) {
|
||||
time = fl2f(atof(equal_ptr));
|
||||
} else if (!d_stricmp( arg, "sound_num" )) {
|
||||
sound_num = atoi(equal_ptr);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
arg = strtok( NULL, space );
|
||||
|
|
Loading…
Reference in a new issue