(nuk_maxno): Variable's value is well-known constant N_MAXNUKE + 1.
Useless, remove. Users changed to check nchr's sentinel, because that's clearer than comparing the index to N_MAXNUKE or sizeof(nchr) / sizeof(*nchr). (nchr): Change sentinel's n_name to NULL.
This commit is contained in:
parent
856539fc54
commit
8c6529ded3
3 changed files with 2 additions and 7 deletions
|
@ -80,6 +80,4 @@ struct nchrstr {
|
|||
|
||||
extern struct nchrstr nchr[N_MAXNUKE + 1];
|
||||
|
||||
extern int nuk_maxno;
|
||||
|
||||
#endif /* _NUKE_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue