Remove fields and declarations nothing uses

conf.haveerror was only initialised and srvparam.srvfds only declared;
the extern declarations of stdlog and demon named globals that do not
exist (both are fields of conf); a local in make_ace() and one in the
webadmin XML page were never used.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Vladimir DubrovinandClaude Opus 5.5 committed 2026-10-13 16:12:19 +03:00
1 parent a2592f4038
commit 8887031324
5 files changed
+1 -8

No files matched your search

+1 -2
View File
@@ -671,7 +671,6 @@ struct srvparam {
int o_nsfd;
#endif
struct auth *authenticate;
struct pollfd * srvfds;
struct ace *acl;
#ifdef WITH_HTTPSRV
struct httprule *httprules;
@@ -862,7 +861,7 @@ struct extparam {
struct trafcount * trafcounter;
struct srvparam *services;
int stacksize,
counterd, haveerror, rotate, paused, archiverc,
counterd, rotate, paused, archiverc,
demon, maxchild, backlog, version, noforce, bandlimver, parentretries;
unsigned authcachetype, authcachetime;
int filtermaxsize;