diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-05-15 03:26:24 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-05-15 03:26:24 +0200 |
commit | 4f6ebd43b2582603035f6631c2aede8693a06847 (patch) | |
tree | a2cd001084d58ccf2b511081018ec8a6fd9295e7 /src/resolve/resolved-dnssd.c | |
parent | resolve/dnssd: make dnssd_render_instance_name() take Manager (diff) | |
download | systemd-4f6ebd43b2582603035f6631c2aede8693a06847.tar.xz systemd-4f6ebd43b2582603035f6631c2aede8693a06847.zip |
resolve: merge variable declaration with same type
Diffstat (limited to 'src/resolve/resolved-dnssd.c')
-rw-r--r-- | src/resolve/resolved-dnssd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/resolve/resolved-dnssd.c b/src/resolve/resolved-dnssd.c index 6ed55035b8..9c2594c1ba 100644 --- a/src/resolve/resolved-dnssd.c +++ b/src/resolve/resolved-dnssd.c @@ -207,9 +207,7 @@ int dnssd_load(Manager *manager) { } int dnssd_update_rrs(DnssdService *s) { - _cleanup_free_ char *n = NULL; - _cleanup_free_ char *service_name = NULL; - _cleanup_free_ char *full_name = NULL; + _cleanup_free_ char *n = NULL, *service_name = NULL, *full_name = NULL; int r; assert(s); |