fr_sbuff_t oid_str_sbuff = FR_SBUFF_OUT(oid_str, sizeof(oid_str));
fr_pair_list_free(&head);
- fr_sbuff_in_char(&oid_str_sbuff, '.');
+ (void) fr_sbuff_in_char(&oid_str_sbuff, '.');
/* Get the length of the matching part */
oid_len = fr_dict_attr_oid_print(&oid_str_sbuff, attr_snmp_root, da_stack.da[-(ret)], false);
#if 0
if (!fr_sbuff_next_if_char(in, '.')) our_parent = fr_dict_root(fr_dict_by_da(parent));
#else
- fr_sbuff_next_if_char(in, '.');
+ (void) fr_sbuff_next_if_char(in, '.');
#endif
*out = NULL;
/*
* Add the prefix for the first line
*/
- if (f_rules->first_prefix) fr_sbuff_in_strcpy(&sbuff, f_rules->first_prefix);
+ if (f_rules->first_prefix) (void) fr_sbuff_in_strcpy(&sbuff, f_rules->first_prefix);
/*
* Add the (optional) message, and/or (optional) error
/* Make sure the template_directory path ends in a "/" */
if (inst->template_dir[talloc_array_length(inst->template_dir)-2] != '/'){
RDEBUG2("Adding / to end of template_dir");
- fr_sbuff_in_char(&path_buffer, '/');
+ (void) fr_sbuff_in_char(&path_buffer, '/');
}
/* Mark the buffer so we only re-write after the template_dir component */