summaryrefslogtreecommitdiff
path: root/src/resolve
diff options
context:
space:
mode:
authorLi kunyu <105766379+likunyur@users.noreply.github.com>2022-07-05 07:06:47 +0000
committerGitHub <noreply@github.com>2022-07-05 16:06:47 +0900
commitaea29a300d14d183ef9a2f946a36d0631a6b2d0d (patch)
tree6cb4e84a6cba914473a57092af450f5fbe3cb47c /src/resolve
parent0e6858232387050b2bff15365043914e4c764d7c (diff)
downloadsystemd-aea29a300d14d183ef9a2f946a36d0631a6b2d0d.tar.gz
tree-wide: Remove the repeated ';' from code (#23901)
Diffstat (limited to 'src/resolve')
-rw-r--r--src/resolve/resolvectl.c2
-rw-r--r--src/resolve/resolved-dnssd.c2
2 files changed, 2 insertions, 2 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;