aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpgcompose.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2019-02-26 03:13:35 +0000
committerWerner Koch <[email protected]>2019-03-07 12:03:15 +0000
commit4ab0fef5dc856d1f2747efab584182aa880f631c (patch)
tree7709485fd1fe0c711299ab62e846436612278623 /g10/gpgcompose.c
parentlibdns: Avoid using compound literals (6). (diff)
downloadgnupg-4ab0fef5dc856d1f2747efab584182aa880f631c.tar.gz
gnupg-4ab0fef5dc856d1f2747efab584182aa880f631c.zip
libdns: Avoid using compound literals (7).
* dirmngr/dns.h (DNS_OPTS_INIT, dns_opts): Remove. * dirmngr/dns-stuff.c (libdns_res_open): Use zero-ed, and initialized automatic variable for opts. * dirmngr/dns.c (send_query, resolve_query, resolve_addrinfo): Likewise. -- In fact, DNS_OPTS_INIT was only needed when args are none. With partially specified initialization, C99 guarantees zero-ed other members just like static object. Signed-off-by: NIIBE Yutaka <[email protected]> (cherry picked from commit d661acd483236d34720a4959fc816d05f89c2cb7)
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions