]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove unused variable
authorAlan T. DeKok <aland@freeradius.org>
Fri, 26 Feb 2021 16:36:06 +0000 (11:36 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 26 Feb 2021 16:36:06 +0000 (11:36 -0500)
src/main/client.c

index 20a5a927c77e1cd08aac46554e3684ed177da0fa..bfe89cf8215ecacae988c5237c82d791ddce6dcd 100644 (file)
@@ -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            global = false, in_server = false;
+       bool            in_server = false;
        CONF_SECTION    *cs;
        RADCLIENT       *c = NULL;
        RADCLIENT_LIST  *clients = NULL;
@@ -579,7 +579,6 @@ 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;
        }