Remove redundant return statements

master
Carl Smedstad 2 years ago committed by Simon Ser
parent 6ec57271b6
commit d8212243c9

@ -256,7 +256,6 @@ static void invoke_swaybar(struct bar_config *bar) {
} }
sway_log(SWAY_DEBUG, "Spawned swaybar %s", bar->id); sway_log(SWAY_DEBUG, "Spawned swaybar %s", bar->id);
return;
} }
void load_swaybar(struct bar_config *bar) { void load_swaybar(struct bar_config *bar) {

@ -99,7 +99,6 @@ static void seat_attachment_config_free(
struct seat_attachment_config *attachment) { struct seat_attachment_config *attachment) {
free(attachment->identifier); free(attachment->identifier);
free(attachment); free(attachment);
return;
} }
static struct seat_attachment_config *seat_attachment_config_copy( static struct seat_attachment_config *seat_attachment_config_copy(

@ -909,7 +909,6 @@ void ipc_client_handle_command(struct ipc_client *client, uint32_t payload_lengt
exit_cleanup: exit_cleanup:
free(buf); free(buf);
return;
} }
bool ipc_send_reply(struct ipc_client *client, enum ipc_command_type payload_type, bool ipc_send_reply(struct ipc_client *client, enum ipc_command_type payload_type,

Loading…
Cancel
Save