]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tree-wide: Remove the repeated ';' from code (#23901)
authorLi kunyu <105766379+likunyur@users.noreply.github.com>
Tue, 5 Jul 2022 07:06:47 +0000 (07:06 +0000)
committerGitHub <noreply@github.com>
Tue, 5 Jul 2022 07:06:47 +0000 (16:06 +0900)
src/resolve/resolvectl.c
src/resolve/resolved-dnssd.c
src/sleep/sleep.c

index 245c273fde0569aa8315c01b7a6ebd46ae521df1..aaa1c497c02c8d6d4d71799778f68717ab4123b1 100644 (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));
 
index 9c2594c1ba01b5ab15aff060fd2b9e636a0ac4ea..02462599be1794d11f584110ec3e00c049f92c9a 100644 (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;
index 65e391d02ad7af39cf0880cb94e7e0c92330690e..58003efdfefa86d88429695ba0da84eee42f0d2d 100644 (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