diff options
author | Li kunyu <105766379+likunyur@users.noreply.github.com> | 2022-07-05 07:06:47 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-05 16:06:47 +0900 |
commit | aea29a300d14d183ef9a2f946a36d0631a6b2d0d (patch) | |
tree | 6cb4e84a6cba914473a57092af450f5fbe3cb47c /src | |
parent | 0e6858232387050b2bff15365043914e4c764d7c (diff) | |
download | systemd-aea29a300d14d183ef9a2f946a36d0631a6b2d0d.tar.gz |
tree-wide: Remove the repeated ';' from code (#23901)
Diffstat (limited to 'src')
-rw-r--r-- | src/resolve/resolvectl.c | 2 | ||||
-rw-r--r-- | src/resolve/resolved-dnssd.c | 2 | ||||
-rw-r--r-- | src/sleep/sleep.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/resolve/resolvectl.c b/src/resolve/resolvectl.c index 245c273fde..aaa1c497c0 100644 --- a/src/resolve/resolvectl.c +++ b/src/resolve/resolvectl.c @@ -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)); diff --git a/src/resolve/resolved-dnssd.c b/src/resolve/resolved-dnssd.c index 9c2594c1ba..02462599be 100644 --- a/src/resolve/resolved-dnssd.c +++ b/src/resolve/resolved-dnssd.c @@ -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; diff --git a/src/sleep/sleep.c b/src/sleep/sleep.c index 65e391d02a..58003efdfe 100644 --- a/src/sleep/sleep.c +++ b/src/sleep/sleep.c @@ -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 |