From 303e34e5c61bff496f4180279ef775927c05983d Mon Sep 17 00:00:00 2001 From: nhmall Date: Mon, 4 Apr 2022 10:35:43 -0400 Subject: [PATCH] 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. --- util/makedefs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/makedefs.c b/util/makedefs.c index 29355cf6e..6f64341a8 100644 --- a/util/makedefs.c +++ b/util/makedefs.c @@ -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;