(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:
parent
77a9f94c69
commit
5a725c9177
3 changed files with 2 additions and 5 deletions
|
@ -86,8 +86,6 @@ struct dchrstr dchr[SCT_MAXDEF + 2] = {
|
|||
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
|
||||
};
|
||||
|
||||
int sct_maxno = (sizeof(dchr) / sizeof(struct dchrstr)) - 1;
|
||||
|
||||
struct sctintrins intrchr[] = {
|
||||
/* name lcm hcm dollars mobility */
|
||||
{"road network", 2, 2, 2, 1},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue