Home GnuPG
Diffusion GnuPG ff7d01fc6d39

libdns: Avoid using compound literals (2).

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.

(cherry picked from commit 455ef62d29a112de05897139716265d07e4c6ae3)

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Feb 26 2019, 2:04 AM
wernerCommitted on Mar 7 2019, 1:01 PM
Parents
rG1318d1e2d509: libdns: Avoid using compound literals.
Branches
Unknown
Tags
Unknown