(nullify_objects): Use SCT_MAXDEF instead of sct_maxno. Loop no

longer covers the extra empty slots at the end of the dchr[]; doesn't
matter.

(sct_maxno): Unused, remove.
This commit is contained in:
Markus Armbruster 2004-08-19 17:45:36 +00:00
parent 77a9f94c69
commit 5a725c9177
3 changed files with 2 additions and 5 deletions

View file

@ -432,7 +432,7 @@ nullify_objects(void)
if (opt_NO_LCMS)
nchr[i].n_lcm = 0;
}
for (i = 0; i < sct_maxno; i++) {
for (i = 0; i <= SCT_MAXDEF; i++) {
if (opt_NO_HCMS)
dchr[i].d_hcms = 0;
if (opt_NO_LCMS)