Drop double semicolons

This commit is contained in:
Peter Hutterer 2021-05-20 11:20:19 +10:00 committed by Wim Taymans
parent b1610d37fe
commit 71c6a175c4
10 changed files with 14 additions and 14 deletions

View file

@ -1186,7 +1186,7 @@ static int setup_output_port(struct graph *graph, struct port *port)
struct ladspa_descriptor *desc = port->node->desc;
const LADSPA_Descriptor *d = desc->desc;
struct link *link;
uint32_t i, n_hndl = port->node->n_hndl;;
uint32_t i, n_hndl = port->node->n_hndl;
spa_list_for_each(link, &port->link_list, output_link) {
for (i = 0; i < n_hndl; i++) {
@ -1303,7 +1303,7 @@ static int setup_graph(struct graph *graph, struct spa_json *inputs, struct spa_
}
/* collect all control ports on the graph */
for (j = 0; j < desc->n_control; j++) {
graph->control_port[graph->n_control] = &node->control_port[j];;
graph->control_port[graph->n_control] = &node->control_port[j];
graph->n_control++;
}
}

View file

@ -4852,7 +4852,7 @@ static int do_suspend(struct client *client, uint32_t command, uint32_t tag, str
struct pw_manager_object *o;
const char *name;
int res;
uint32_t id, cmd;;
uint32_t id, cmd;
bool sink = command == COMMAND_SUSPEND_SINK, suspend;
if ((res = message_get(m,

View file

@ -463,7 +463,7 @@ static int start_avahi(struct impl *impl)
loop = pw_context_get_main_loop(impl->context);
impl->avahi_poll = pw_avahi_poll_new(loop);
return start_client(impl);;
return start_client(impl);
}
SPA_EXPORT

View file

@ -132,7 +132,7 @@ struct filter {
struct spa_io_position *position;
} rt;
struct spa_list port_list;;
struct spa_list port_list;
struct port *ports[2][MAX_PORTS];
uint32_t change_mask_all;

View file

@ -200,7 +200,7 @@ struct pw_node_info *pw_node_info_update(struct pw_node_info *info,
info->props = pw_spa_dict_copy(update->props);
}
if (update->change_mask & PW_NODE_CHANGE_MASK_PARAMS) {
uint32_t i, user, n_params = update->n_params;;
uint32_t i, user, n_params = update->n_params;
info->params = realloc(info->params, n_params * sizeof(struct spa_param_info));
if (info->params == NULL)
@ -257,7 +257,7 @@ struct pw_port_info *pw_port_info_update(struct pw_port_info *info,
info->props = pw_spa_dict_copy(update->props);
}
if (update->change_mask & PW_PORT_CHANGE_MASK_PARAMS) {
uint32_t i, user, n_params = update->n_params;;
uint32_t i, user, n_params = update->n_params;
info->params = realloc(info->params, n_params * sizeof(struct spa_param_info));
if (info->params == NULL)
@ -386,7 +386,7 @@ struct pw_device_info *pw_device_info_update(struct pw_device_info *info,
info->props = pw_spa_dict_copy(update->props);
}
if (update->change_mask & PW_DEVICE_CHANGE_MASK_PARAMS) {
uint32_t i, user, n_params = update->n_params;;
uint32_t i, user, n_params = update->n_params;
info->params = realloc(info->params, n_params * sizeof(struct spa_param_info));
if (info->params == NULL)