found = cf_item_to_section(ci);
if (cf_section_name_cmp(found, name1, name2) == 0) return found;
- };
+ }
return NULL;
}
* 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;
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
return NULL;
}
da = da->parent;
- };
+ }
} else {
da = absolute_root ? dict->root : rel;
}
if (strncmp(name, "Attr-", 5) == 0) {
fr_strerror_const("Invalid name");
return -1;
- };
+ }
/*
* Allocate the attribute here, and then fill in the fields
/*
* 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,
do_begin = true;
argv_p++;
argc--;
- };
+ }
if (fr_dict_keyword(&parser, keywords, NUM_ELEMENTS(keywords), argv_p[0], NULL)) {
if (do_begin && !parser->begin) {
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;