]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove extraneous ;
authorAlan T. DeKok <aland@freeradius.org>
Sat, 30 Nov 2024 21:30:00 +0000 (16:30 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 30 Nov 2024 21:53:13 +0000 (16:53 -0500)
src/lib/server/cf_util.c
src/lib/server/client.c
src/lib/util/cbor.c
src/lib/util/dict_fixup.c
src/lib/util/dict_tokenize.c
src/lib/util/dict_util.c

index ad9d3d30eb6c59602522740c5a7900b161406657..1d33883caf1b7393deb65bce05d3ebcaf797aaa4 100644 (file)
@@ -1104,7 +1104,7 @@ CONF_SECTION *_cf_section_find_parent(CONF_ITEM const *ci,
                found = cf_item_to_section(ci);
 
                if (cf_section_name_cmp(found, name1, name2) == 0) return found;
-       };
+       }
 
        return NULL;
 }
index 95a5c55d3a3cc97ce2ec2a34f66600e3550fb718..ccd26b4fdbac22e8df7645ecc680f80d5ff20bba 100644 (file)
@@ -781,7 +781,7 @@ fr_client_t *client_afrom_cs(TALLOC_CTX *ctx, CONF_SECTION *cs, CONF_SECTION *se
         *      Find the virtual server for this client.
         */
        if (c->server) {
-               virtual_server_t const *vs;;
+               virtual_server_t const *vs;
                if (server_cs) {
                        cf_log_err(cs, "Clients inside of a 'server' section cannot point to a server");
                        goto error;
index d9d44a383f40c8a06868f5c48925995d351061f0..cf3cff020237da91b5a51aab822b2cdc2d74d330 100644 (file)
@@ -113,9 +113,9 @@ done:
        return fr_dbuff_set(dbuff, &work_dbuff);
 }
 
-#define cbor_encode_array(_dbuff, _size) cbor_encode_integer(_dbuff, CBOR_ARRAY, _size);
+#define cbor_encode_array(_dbuff, _size) cbor_encode_integer(_dbuff, CBOR_ARRAY, _size)
 
-#define cbor_encode_tag(_dbuff, _tag) cbor_encode_integer(_dbuff, CBOR_TAG, _tag);
+#define cbor_encode_tag(_dbuff, _tag) cbor_encode_integer(_dbuff, CBOR_TAG, _tag)
 
 /*
  *     Make many things easier
index 1625470d6991fddb1d82145fd95012512a2dd471..f970cd8366fb6fd54cb39b33fe7521ed04041754 100644 (file)
@@ -212,7 +212,7 @@ fr_dict_attr_t const *dict_protocol_reference(fr_dict_attr_t const *rel, char co
                                return NULL;
                        }
                        da = da->parent;
-               };
+               }
        } else {
                da = absolute_root ? dict->root : rel;
        }
index 05185eec10b5f92dddefe9c65d6d10237b936520..501073af6f92146473001b6343018a3c7302511c 100644 (file)
@@ -952,7 +952,7 @@ static int dict_read_process_common(dict_tokenize_ctx_t *dctx, fr_dict_attr_t **
        if (strncmp(name, "Attr-", 5) == 0) {
                fr_strerror_const("Invalid name");
                return -1;
-       };
+       }
 
        /*
         *      Allocate the attribute here, and then fill in the fields
@@ -1750,7 +1750,7 @@ static int dict_read_process_end(dict_tokenize_ctx_t *dctx, char **argv, int arg
        /*
         *      Pop the stack to get the attribute we're ending.
         */
-       current = dict_dctx_pop(dctx)->da;;
+       current = dict_dctx_pop(dctx)->da;
 
        /*
         *      No checks on the attribute, we're just popping _A_ frame,
@@ -3038,7 +3038,7 @@ static int _dict_from_file(dict_tokenize_ctx_t *dctx,
                        do_begin = true;
                        argv_p++;
                        argc--;
-               };
+               }
 
                if (fr_dict_keyword(&parser, keywords, NUM_ELEMENTS(keywords), argv_p[0], NULL)) {
                        if (do_begin && !parser->begin) {
index 01cc360a8c468fcd9203b0de30a1e5c9f3fc4421..757c6a33c1b09526b2b15b830d8257d35f827fad 100644 (file)
@@ -786,7 +786,7 @@ int dict_attr_init_common(char const *filename, int line,
 
        if (unlikely(dict_attr_type_init(da_p, type) < 0)) return -1;
 
-       if (parent && (dict_attr_parent_init(da_p, parent) < 0)) return -1;;
+       if (parent && (dict_attr_parent_init(da_p, parent) < 0)) return -1;
 
        if (args->ref && (dict_attr_ref_aset(da_p, args->ref, FR_DICT_ATTR_REF_ALIAS) < 0)) return -1;