aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Smedstad <carl.smedstad@protonmail.com>2022-12-30 08:26:52 +0100
committerSimon Ser <contact@emersion.fr>2023-01-03 21:50:56 +0100
commitd8212243c99f3be828033a5cc76b258990aa565b (patch)
treeb0067a3790bec7019ddf4bb01b7f1fad408f9eba
parent6ec57271b6dd7d042158ea7f4e4e87a7cfc6f14f (diff)
Remove redundant return statements
-rw-r--r--sway/config/bar.c1
-rw-r--r--sway/config/seat.c1
-rw-r--r--sway/ipc-server.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/sway/config/bar.c b/sway/config/bar.c
index d1b342e6..a8389244 100644
--- a/sway/config/bar.c
+++ b/sway/config/bar.c
@@ -256,7 +256,6 @@ static void invoke_swaybar(struct bar_config *bar) {
}
sway_log(SWAY_DEBUG, "Spawned swaybar %s", bar->id);
- return;
}
void load_swaybar(struct bar_config *bar) {
diff --git a/sway/config/seat.c b/sway/config/seat.c
index 84260aa3..6d5d91ae 100644
--- a/sway/config/seat.c
+++ b/sway/config/seat.c
@@ -99,7 +99,6 @@ static void seat_attachment_config_free(
struct seat_attachment_config *attachment) {
free(attachment->identifier);
free(attachment);
- return;
}
static struct seat_attachment_config *seat_attachment_config_copy(
diff --git a/sway/ipc-server.c b/sway/ipc-server.c
index fddd8fab..51244436 100644
--- a/sway/ipc-server.c
+++ b/sway/ipc-server.c
@@ -909,7 +909,6 @@ void ipc_client_handle_command(struct ipc_client *client, uint32_t payload_lengt
exit_cleanup:
free(buf);
- return;
}
bool ipc_send_reply(struct ipc_client *client, enum ipc_command_type payload_type,