From: Alan T. DeKok Date: Tue, 25 May 2021 14:56:54 +0000 (-0400) Subject: Revert "remove unused variable" X-Git-Tag: release_3_0_23~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9be04a9e6b0d1d22c587902b01fb1e4ba654bb4b;p=thirdparty%2Ffreeradius-server.git Revert "remove unused variable" This reverts commit 6ecfe311143227a8955c61a74510725e9fac57fd. --- diff --git a/src/main/client.c b/src/main/client.c index bfe89cf8215..20a5a927c77 100644 --- a/src/main/client.c +++ b/src/main/client.c @@ -550,7 +550,7 @@ RADCLIENT_LIST *client_list_parse_section(CONF_SECTION *section, bool tls_requir RADCLIENT_LIST *client_list_parse_section(CONF_SECTION *section, UNUSED bool tls_required) #endif { - bool in_server = false; + bool global = false, in_server = false; CONF_SECTION *cs; RADCLIENT *c = NULL; RADCLIENT_LIST *clients = NULL; @@ -579,6 +579,7 @@ RADCLIENT_LIST *client_list_parse_section(CONF_SECTION *section, UNUSED bool tls } if (cf_top_section(section) == section) { + global = true; clients->name = "global"; clients->server = NULL; }