Diffusion GnuPG 455ef62d29a1

libdns: Avoid using compound literals (2).

Authored by gniibe on Feb 26 2019, 2:04 AM.

Description

libdns: Avoid using compound literals (2).

* dirmngr/dns.h (dns_strsection1, dns_strsection3): Remove.
(dns_strclass1, dns_strclass3): Remove.
(dns_strtype1, dns_strtype3): Remove.
(dns_strsection, dns_strclass, dns_strtype): Directly use the
function.
* dirmngr/dns.c (dns_strsection): Use automatic variable.
(dns_strclass, dns_strtype): Likewise.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Committed
gniibeFeb 26 2019, 2:12 AM
Parents
rG1c405499388f: libdns: Avoid using compound literals.
Branches
Unknown
Tags
Unknown