]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove unused variable
authorAlan T. DeKok <aland@freeradius.org>
Wed, 19 Aug 2020 15:19:02 +0000 (11:19 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 19 Aug 2020 15:19:02 +0000 (11:19 -0400)
src/modules/proto_tacacs/proto_tacacs.c

index 57255fc3ecdeae2821a16509a19d3a767efb748c..2ec2ea6960069a8fb29890cc5ae750c22b249a8a 100644 (file)
@@ -120,7 +120,7 @@ static int type_parse(TALLOC_CTX *ctx, void *out, UNUSED void *parent, CONF_ITEM
        CONF_SECTION            *listen_cs = cf_item_to_section(cf_parent(ci));
        CONF_SECTION            *server = cf_item_to_section(cf_parent(listen_cs));
        CONF_SECTION            *process_app_cs;
-       proto_tacacs_t          *inst;
+//     proto_tacacs_t          *inst;
        dl_module_inst_t        *parent_inst;
        char const              *name = NULL;
        fr_dict_enum_t const    *type_enum;
@@ -169,7 +169,7 @@ static int type_parse(TALLOC_CTX *ctx, void *out, UNUSED void *parent, CONF_ITEM
         *      Set the allowed codes so that we can compile them as
         *      necessary.
         */
-       inst = talloc_get_type_abort(parent_inst->data, proto_tacacs_t);
+//     inst = talloc_get_type_abort(parent_inst->data, proto_tacacs_t);
        
        process_app_cs = cf_section_find(listen_cs, type_enum->name, NULL);