From: Jeremy Harris Date: Sat, 27 Apr 2019 13:52:03 +0000 (+0100) Subject: tidying X-Git-Tag: exim-4.93-RC0~215 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/ed2b3ee01d71f9baa9b756155a631e9d8cfb9b55?ds=sidebyside tidying --- diff --git a/src/exim_monitor/em_globals.c b/src/exim_monitor/em_globals.c index 0a4f92e4f..925e88e05 100644 --- a/src/exim_monitor/em_globals.c +++ b/src/exim_monitor/em_globals.c @@ -220,18 +220,8 @@ int string_datestamp_type = -1; BOOL timestamps_utc = FALSE; tls_support tls_in = { - {-1}, /* tls_active */ - 0, /* bits */ - FALSE, /* tls_certificate_verified */ -#ifdef SUPPORT_DANE - FALSE, /* dane_verified */ - 0, /* tlsa_usage */ -#endif - NULL, /* tls_cipher */ - FALSE, /* tls_on_connect */ - NULL, /* tls_on_connect_ports */ - NULL, /* tls_peerdn */ - NULL /* tls_sni */ + .active = { .sock = -1 } + /* remainder zero/null/false */ }; tree_node *tree_duplicates = NULL; diff --git a/src/src/buildconfig.c b/src/src/buildconfig.c index 3d404f100..426714f91 100644 --- a/src/src/buildconfig.c +++ b/src/src/buildconfig.c @@ -953,21 +953,18 @@ else if (isgroup) defined. */ if (have_auth) - { if (!support_crypteq) fprintf(new, "/* Force SUPPORT_CRYPTEQ for AUTH */\n" "#define SUPPORT_CRYPTEQ\n"); - } /* Check poll() for timer functionality. Some OS' have released with it broken. */ { struct timeval before, after; - int rc; size_t us; gettimeofday(&before, NULL); - rc = poll(NULL, 0, 500); + (void) poll(NULL, 0, 500); gettimeofday(&after, NULL); us = (after.tv_sec - before.tv_sec) * 1000000 +