1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

tree-wide: Remove the repeated ';' from code (#23901)

This commit is contained in:
Li kunyu 2022-07-05 07:06:47 +00:00 committed by GitHub
parent 0e68582323
commit aea29a300d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -811,7 +811,7 @@ static int resolve_service(sd_bus *bus, const char *name, const char *type, cons
while ((r = sd_bus_message_enter_container(reply, 'r', "iiay")) > 0) {
_cleanup_free_ char *pretty = NULL;
int ifindex, family, k;
union in_addr_union a;;
union in_addr_union a;
assert_cc(sizeof(int) == sizeof(int32_t));

View File

@ -200,7 +200,7 @@ int dnssd_load(Manager *manager) {
STRV_FOREACH_BACKWARDS(f, files) {
r = dnssd_service_load(manager, *f);
if (r < 0)
log_warning_errno(r, "Failed to load '%s': %m", *f);;
log_warning_errno(r, "Failed to load '%s': %m", *f);
}
return 0;

View File

@ -224,7 +224,7 @@ static int execute(
r = write_mode(modes);
if (r < 0)
return log_error_errno(r, "Failed to write mode to /sys/power/disk: %m");;
return log_error_errno(r, "Failed to write mode to /sys/power/disk: %m");
}
/* Pass an action string to the call-outs. This is mostly our operation string, except if the