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
@@ -301,7 +301,7 @@ draw_horizontal(boolean border)
cap_and_hunger, exp_points, sho_score, sho_vers,
/* both height and width get their values set,
* but only width gets used in this function */
height UNUSED, width, w, xtra, clen, x, y, t, ex, ey,
height, width, w, xtra, clen, x, y, t, ex, ey,
condstart = 0, conddummy = 0, versstart = 0;
#ifdef STATUS_HILITES
int coloridx = NO_COLOR, attrmask = 0;
@@ -672,6 +672,7 @@ draw_horizontal(boolean border)
} /* i (fld) */
wclrtoeol(win); /* [superfluous? draw_status() calls werase()] */
} /* j (line) */
nhUse(height);
return;
}