1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-10 05:18:17 +03:00

core: cast ignored retval of unit_realize_cgroup to void

This commit is contained in:
Mike Yuan 2024-06-05 20:41:27 +02:00
parent 4918f14ada
commit 8d178f702d
No known key found for this signature in database
GPG Key ID: 417471C0A40F58B3
6 changed files with 6 additions and 6 deletions

View File

@ -193,7 +193,7 @@ int bus_mount_set_property(
int bus_mount_commit_properties(Unit *u) {
assert(u);
unit_realize_cgroup(u);
(void) unit_realize_cgroup(u);
return 0;
}

View File

@ -249,7 +249,7 @@ int bus_scope_set_property(
int bus_scope_commit_properties(Unit *u) {
assert(u);
unit_realize_cgroup(u);
(void) unit_realize_cgroup(u);
return 0;
}

View File

@ -785,7 +785,7 @@ int bus_service_set_property(
int bus_service_commit_properties(Unit *u) {
assert(u);
unit_realize_cgroup(u);
(void) unit_realize_cgroup(u);
return 0;
}

View File

@ -28,7 +28,7 @@ int bus_slice_set_property(
int bus_slice_commit_properties(Unit *u) {
assert(u);
unit_realize_cgroup(u);
(void) unit_realize_cgroup(u);
return 0;
}

View File

@ -468,7 +468,7 @@ int bus_socket_set_property(
int bus_socket_commit_properties(Unit *u) {
assert(u);
unit_realize_cgroup(u);
(void) unit_realize_cgroup(u);
return 0;
}

View File

@ -49,7 +49,7 @@ int bus_swap_set_property(
int bus_swap_commit_properties(Unit *u) {
assert(u);
unit_realize_cgroup(u);
(void) unit_realize_cgroup(u);
return 0;
}