clear a warning: variable set but not used

makedefs.c:2125:12: warning: variable 'sum' set but not used
[-Wunused-but-set-variable]
    int i, sum = 0;
           ^
    1 warning generated.
This commit is contained in:
nhmall
2022-04-04 10:35:43 -04:00
parent 16d813b44a
commit 303e34e5c6

View File

@@ -2122,7 +2122,7 @@ macronamelimit(char *name, int pref)
void
do_objs(void)
{
int i, sum = 0;
int i, sum UNUSED = 0;
char *c, *objnam;
int nspell = 0;
int prefix = 0;