Snippets for exim 4.100.2 from Fedora s390x
Sourced from https://kojipkgs.fedoraproject.org/packages/exim/4.100.2/1.fc46/data/logs/s390x/build.log.
-
readconf.c:31:41: warning: missing braces around initializer [-Wmissing-braces] 31 | static optionlist optionlist_config[] = { | ^ -
store.c:328:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 328 | if (b = qp->pool.current_block) | ^ -
string.c:350:24: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 350 | || flags & SP_TAB && c == '\t' | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ -
string.c:351:26: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 351 | || flags & SP_SPACE && c == ' ' | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -
string.c:352:28: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 352 | || flags & SP_DQUOTES && c == '"' | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -
string.c:1514:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1514 | if (*fp == '.') | ^ -
string.c:1858:10: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1858 | if (!(flags & SVFMT_TAINT_NOCHK) && is_incompatible(g->s, s)) | ^ -
../exim_monitor/em_main.c:531:5: warning: ‘XKeycodeToKeysym’ is deprecated [-Wdeprecated-declarations] 531 | if (XKeycodeToKeysym(display, m->modifiermap [i*m->max_keypermod + j], 0) | ^~ -
../exim_monitor/em_menu.c:446:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 446 | if (s[0] != 0) | ^ -
dsearch.c:144:29: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 144 | || keystring[1] && (keystring[1] != '.' || keystring[2]) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
ldap.c:541:18: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 541 | || !lcp->user && user | ~~~~~~~~~~~^~~~~~~ -
ldap.c:542:17: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 542 | || lcp->user && !user | ~~~~~~~~~~^~~~~~~~ -
ldap.c:543:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 543 | || lcp->user && user && Ustrcmp(lcp->user, user) != 0 | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
ldap.c:544:22: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 544 | || !lcp->password && password | ~~~~~~~~~~~~~~~^~~~~~~~~~~ -
ldap.c:545:21: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 545 | || lcp->password && !password | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -
ldap.c:546:33: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 546 | || lcp->password && password && Ustrcmp(lcp->password, password) != 0 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
ldap.c:1262:28: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1262 | if (!eldap_default_servers && !local_servers || p[3] != '/') | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -
ldap.c:1271:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1271 | for (uschar * server; server = string_nextinlist(&list, &sep, NULL, 0); ) | ^~~~~~ -
ldap.c:1359:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1359 | for (LDAP_CONNECTION *lcp; lcp = ldap_connections; ldap_connections = lcp->next) | ^~~ -
lsearch.c:84:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 84 | for (const uschar * ele; ele = string_nextinlist(&opts, &sep, NULL, 0); ) | ^~~ -
readsock.c:185:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 185 | if (opts) for (uschar * s; s = string_nextinlist(&opts, &sep, NULL, 0); ) | ^ -
readsock.c:185:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 185 | if (opts) for (uschar * s; s = string_nextinlist(&opts, &sep, NULL, 0); ) | ^ -
cyrus_sasl.c:227:34: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 227 | if (!hname || !realm_expanded && ob->server_realm) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ -
dovecot.c:219:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 219 | if ((socket_buffer_left = | ^ -
gsasl.c:818:59: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 818 | if (!(s = expand_string(val)) || !(flags & PROP_OPTIONAL) && !*s) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ -
gsasl.c:907:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 907 | if (tls_out.channelbinding) | ^ -
gsasl.c:971:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 971 | if (!smtp_read_response(sx, buffer, buffsize, '3', timeout)) | ^ -
spa.c:233:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 233 | if (!(clearpass = expand_string(ob->spa_serverpassword))) | ^ -
dnslookup.c:162:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 162 | if (ob->check_srv) | ^ -
dnslookup.c:248:19: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 248 | flags = flags & ~HOST_FIND_BY_AAAA | HOST_FIND_IPV4_ONLY;
-
manualroute.c:124:23: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 124 | if ( !ob->route_list && !ob->route_data | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ -
manualroute.c:345:31: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 345 | lookup_type = lookup_type & ~(LK_DEFAULT | LK_BYDNS) | LK_BYNAME; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -
queryprogram.c:258:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 258 | if (!ob->cmd_gid_set) | ^ -
appendfile.c:381:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 381 | if (ob->mbx_format) | ^ -
appendfile.c:683:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 683 | for (struct dirent * ent; ent = readdir(dir); ) | ^~~ -
appendfile.c:937:9: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 937 | && ( create_file != create_belowhome
-
appendfile.c:2206:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2206 | if (is_tainted(path)) | ^ -
appendfile.c:2400:34: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2400 | || mailbox_filecount < 0 && ob->quota_filecount_value > 0 | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
appendfile.c:2714:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2714 | if (mailbox_size + (ob->quota_is_inclusive ? message_size:0) > ob->quota_value) | ^ -
appendfile.c:2724:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2724 | if (ob->quota_filecount_value > 0 | ^ -
appendfile.c:2786:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2786 | if (prefix && *prefix) | ^ -
appendfile.c:2852:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2852 | if (suffix && *suffix) | ^ -
appendfile.c:2867:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2867 | if (yield == OK && ob->use_bsmtp) | ^ -
autoreply.c:331:14: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 331 | if ( from && !(from = checkexpand(from, addr, trname, cke_hdr)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
autoreply.c:333:12: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 333 | || to && !(to = checkexpand(to, addr, trname, cke_hdr)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
autoreply.c:334:12: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 334 | || cc && !(cc = checkexpand(cc, addr, trname, cke_hdr)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
autoreply.c:335:13: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 335 | || bcc && !(bcc = checkexpand(bcc, addr, trname, cke_hdr)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
autoreply.c:336:17: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 336 | || subject && !(subject = checkexpand(subject, addr, trname, cke_hdr)) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
autoreply.c:337:17: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 337 | || headers && !(headers = checkexpand(headers, addr, trname, cke_text)) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
autoreply.c:338:14: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 338 | || text && !(text = checkexpand(text, addr, trname, cke_text)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
autoreply.c:339:14: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 339 | || file && !(file = checkexpand(file, addr, trname, cke_file)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
autoreply.c:340:17: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 340 | || logfile && !(logfile = checkexpand(logfile, addr, trname, cke_file)) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
autoreply.c:341:17: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 341 | || oncelog && !(oncelog = checkexpand(oncelog, addr, trname, cke_file)) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
autoreply.c:342:20: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 342 | || oncerepeat && !(oncerepeat = checkexpand(oncerepeat, addr, trname, cke_file)) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
autoreply.c:753:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 753 | if (rc != 0) | ^ -
pipe.c:377:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 377 | p = string_nextinlist(&listptr, &sep, NULL, 0); ) | ^ -
../macros.h:355:28: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 355 | #define HDEBUG(list) if (host_checking || IS_DEBUG(list)) | ^ -
../macros.h:354:28: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 354 | #define DEBUG(list) if (IS_DEBUG(list)) | ^ -
smtp.c:1083:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1083 | for (int sep = ' '; s = string_nextinlist(&list, &sep, NULL, 0); ) | ^ -
smtp.c:2477:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2477 | if ( verify_check_given_host(CUSS &ob->hosts_pipe_connect, | ^ -
smtp.c:3137:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 3137 | if (sx->smtps) | ^ -
smtp.c:3233:58: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 3233 | if ( !continue_hostname && (!atrn_domains || atrn_mode && *atrn_mode == 'C') | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -
smtp.c:3233:27: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 3233 | if ( !continue_hostname && (!atrn_domains || atrn_mode && *atrn_mode == 'C') | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
smtp.c:3818:42: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 3818 | && (!mua_wrapper || addr->next && address_count < sx->max_rcpt); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
smtp.c:3963:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 3963 | if (p[0].revents & POLLIN) | ^ -
smtp.c:3980:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 3980 | if (p[1].revents & POLLIN) | ^ -
smtp.c:4397:17: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4397 | && (sx->ok && sx->completed_addr || smtp_peer_options & OPTION_CHUNKING) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -
smtp.c:4409:40: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4409 | ( tls_out.active.sock < 0 && !continue_proxy_cipher | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -
smtp.c:4452:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 4452 | if (!sx->ok) | ^ -
smtp.c:4989:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 4989 | if (mail_limit = continue_sequence >= sx->max_mail) | ^~~~~~~~~~ -
smtp.c:5008:20: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 5008 | || tcw_done && tcw /* more messages for host */ | ~~~~~~~~~^~~~~~ -
smtp.c:5015:42: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 5015 | ( tls_out.active.sock < 0 && !continue_proxy_cipher | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -
smtp.c:5033:10: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 5033 | if (sx->send_rset) | ^ -
smtp.c:4988:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 4988 | if (sx->completed_addr && sx->ok && sx->send_quit) | ^ -
smtp.c:5233:31: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 5233 | if (sx->send_quit || tcw_done && !tcw) | ~~~~~~~~~^~~~~~~ -
smtp.c:5879:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 5879 | if (continue_sequence > 1) | ^ -
smtp.c:6470:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 6470 | if (host) | ^ -
tf_maildir.c:255:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 255 | for (struct dirent *ent; ent = readdir(dir); ) | ^~~ -
dkim.c:580:31: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 580 | || dkim_verify_minimal && Ustrcmp(dkim_verify_status, "pass") == 0) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
dkim.c:628:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 628 | item = string_nextinlist(&dkim_verify_signers_expanded, | ^~~~ -
dkim.c:643:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 643 | seen_item = string_nextinlist(&seen_items_list, &seen_sep, NULL, 0); | ^~~~~~~~~ -
dkim.c:699:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 699 | for (const uschar * ss; ss = string_nextinlist(&s, &sep, NULL, 0); ) | ^~ -
dkim.c:1012:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1012 | if (dkim->dkim_identity) | ^ -
dkim.c:1019:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1019 | if (dkim->dkim_timestamps) | ^ -
dkim_transport.c:172:31: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 172 | tctx->options = tctx->options & ~(topt_end_dot | topt_use_bdat) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
pdkim.c:490:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 490 | while (c = *++p) | ^ -
pdkim.c:494:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 494 | if (*++p != '\n' || (c = *++p) != ' ' && c != '\t') | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -
pdkim.c:1168:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1168 | if (pad) | ^ -
pdkim.c:1461:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1461 | ele = string_nextinlist(&prefs, &sep, NULL, 0); ) | ^~~ -
pdkim.c:1479:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1479 | ele = string_nextinlist(&prefs, &sep, NULL, 0); ) | ^~~ -
dmarc.c:124:5: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 124 | && dmarc_action == DMARC_RESULT_REJECT
-
dmarc.c:128:5: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 128 | && dmarc_action == DMARC_RESULT_REJECT
-
dmarc.c:130:5: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 130 | && dmarc_action == DMARC_RESULT_QUARANTINE
-
dmarc_common.c:242:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 242 | if ( rr->type == T_TXT && len > 9 | ^ -
exim_filter.c:2151:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2151 | for (uschar * ss; ss = string_nextinlist(&list, &sep, NULL, 0); ) | ^~ -
exim_filter.c:2222:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2222 | if (finish_obeyed || ok != FF_DELIVERED && ok != FF_NOTDELIVERED) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -
sieve_filter.c:1563:21: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1563 | if ( next >= 'A' && next <= 'Z' | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -
sieve_filter.c:1566:21: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1566 | || next >= '0' && next <= '9' | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -
sieve_filter_body.c:324:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 324 | if (ce_hdr) /* encoding */ | ^ -
sieve_filter_body.c:648:9: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 648 | && (gstring_chr(subtype, '/') ? c == ';' || c == '\0' : c == '/')
-
sieve_filter_input.c:189:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 189 | if (isxdigit(*src)) | ^ -
sieve_filter_input.c:19:44: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 19 | #define DECODE_LAYER_DEBUG if (FALSE) | ^ -
acl.c:1884:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1884 | if (rc != OK && *log_msgptr) | ^ -
acl.c:1994:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1994 | for (uschar * opt; opt = string_nextinlist(&sublist, &optsep, NULL, 0); ) | ^~~ -
acl.c:2065:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2065 | for (uschar * opt; opt = string_nextinlist(&sublist, &optsep, NULL, 0); ) | ^~~ -
macros.h:354:28: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 354 | #define DEBUG(list) if (IS_DEBUG(list)) | ^ -
acl.c:2307:27: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2307 | || callout_defer_ok && *basic_errno == ERRNO_CALLOUTDEFER
-
acl.c:2386:38: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2386 | && (!d->has_option || c != '/' && c != '_') | ~~~~~~~~~^~~~~~~~~~~ -
acl.c:3991:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3991 | for (uschar * ss; ss = string_nextinlist(&s, &sep, NULL, 0); ) | ^~ -
acl.c:4048:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 4048 | for (uschar * opt; opt = string_nextinlist(&list, &sep, NULL, 0); ) | ^~~ -
acl.c:4227:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 4227 | if (!(conditions[cb->type].flags & ACD_MOD) && cb->u.negated) | ^ -
acl.c:4736:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 4736 | else if (cond == DEFER && LOGGING(acl_warn_skipped)) | ^ -
acl.c:4979:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 4979 | else if ( (rc = open_cutthrough_connection(addr, cutthrough.tpt_sender)) | ^ -
acl.c:4968:13: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 4968 | else if (cutthrough.delivery) | ^ -
atrn.c:81:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 81 | for (const uschar * ele; ele = string_nextinlist(&list, &sep, NULL, 0); ) | ^~~ -
child.c:101:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 101 | if (ANY_DEBUG) | ^ -
crypt16.c:71:3: warning: ‘strncpy’ output may be truncated copying 2 bytes from a string of length 22 [-Wstringop-truncation] 71 | strncpy (s2, res+2, 2); | ^ -
daemon.c:394:13: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 394 | else if (LOGGING(smtp_connection)) | ^ -
daemon.c:1437:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1437 | for (qrunner * qq; qq = *p; p = &qq->next) | ^~ -
daemon.c:1439:43: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1439 | || q->next_tick == qq->next_tick && q->interval < qq->interval | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
daemon.c:1693:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1693 | while (ele = string_nextinlist(&list, &sep, namebuf, sizeof(namebuf))) | ^~~ -
daemon.c:1921:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1921 | for (int sep = 0; s = string_nextinlist(&list, &sep, NULL, 0); ) | ^ -
daemon.c:1956:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1956 | for (int sep = 0; s = string_nextinlist(&list, &sep, NULL, 0); ) | ^ -
daemon.c:1961:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1961 | for (int sep = 0; s = string_nextinlist(&list, &sep, NULL, 0); pct++) | ^ -
daemon.c:1984:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1984 | s = string_nextinlist(&list, &sep, big_buffer, big_buffer_size); ) | ^ -
daemon.c:2683:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2683 | if (sigalrm_seen || *queuerun_msgid) | ^ -
debug.c:503:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 503 | if (debug_file && (nbytes = pretrigger_writeoff - pretrigger_readoff) != 0) | ^ -
debug.c:529:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 529 | while (chan = string_nextinlist(&channels, &sep, buf, sizeof(buf))) | ^~~~ -
deliver.c:1555:27: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1555 | || result == FAIL && tb->log_fail_output | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -
deliver.c:1556:27: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1556 | || result == DEFER && tb->log_defer_output | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -
deliver.c:1583:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1583 | if (sender_address[0] != 0 || addr->prop.errors_address) | ^ -
deliver.c:2461:32: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2461 | || message_length > 0 && (ret = write(pfd[pipe_write], s, message_length)) != message_length | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
deliver.c:2848:32: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2848 | && ( !addr->host_list && !next->host_list | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ -
deliver.c:3012:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 3012 | if (dbm_file) | ^ -
deliver.c:4608:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 4608 | if (tpt_parallel_check(tp, addr, &serialize_key, &tpt_parallel_level)) | ^ -
deliver.c:5114:10: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 5114 | if (testflag(addr, af_pipelining)) | ^ -
deliver.c:5253:52: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 5253 | || continue_hostname && continue_fd >= 0 && continue_sequence == 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -
deliver.c:5947:44: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 5947 | || Ustrcmp(charset, "us-ascii") != 0 && Ustrcmp(charset, "UTF-8") != 0
-
deliver.c:7429:14: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 7429 | && match_isinlist(s+1, &atrn_domains, 0, &domainlist_anchor, NULL,
-
deliver.c:8011:35: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 8011 | else if ( ( f.queue_running && !f.deliver_force | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ -
deliver.c:8060:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 8060 | if (dbm_file) | ^ -
deliver.c:8073:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 8073 | for (address_item * addr_r; addr_r = addr_route; ) | ^~~~~~ -
deliver.c:8194:58: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 8194 | for (address_item ** chain = &addr_route, * addr2; addr2 = *chain; ) | ^~~~~ -
deliver.c:8364:21: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 8364 | && ( addr_local && (addr_local->next || addr_remote) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
deliver.c:8657:11: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 8656 | || addr_failed->dsn_flags & rf_dsnflags | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8657 | && !(addr_failed->dsn_flags & rf_notify_failure) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
deliver.c:9053:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 9053 | if (final_yield == DELIVER_ATTEMPTED_NORMAL && *continue_next_id) | ^ -
dns.c:1287:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1287 | if (strcmpic(namesuff, US".arpa") == 0) | ^ -
drtables.c:234:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 234 | for (struct dirent * ent; ent = readdir(dd); ) | ^~~ -
drtables.c:235:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 235 | if (regex_match_and_setup(regex_class, US ent->d_name, 0, 0)) | ^ -
drtables.c:268:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 268 | for (struct dirent * ent; ent = readdir(dd); ) | ^~~ -
drtables.c:309:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 309 | if (!mi->init(mi)) | ^ -
drtables.c:335:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 335 | if (errstr && *errstr) EARLY_DEBUG(any, " mod_open: %s\n", *errstr); | ^ -
drtables.c:632:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 632 | for (struct dirent * ent; ent = readdir(dd); ) | ^~~ -
exim.c:1041:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1041 | if (s) | ^ -
exim.c:2453:16: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2453 | if (Ustrlen(p)) | ^ -
exim.c:2648:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2648 | if (!*argrest) | ^ -
exim.c:2894:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2894 | if (!*argrest) | ^ -
exim.c:2922:10: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2922 | if (!*argrest) | ^ -
exim.c:2971:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2971 | if (!*argrest) | ^ -
exim.c:2989:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2989 | if (!*argrest) | ^ -
exim.c:3050:10: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 3050 | if (!continue_proxy_cipher) | ^ -
exim.c:3377:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 3377 | if (!*(alias_arg = argrest)) | ^ -
exim.c:3386:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 3386 | if (!*p) | ^ -
exim.c:3816:42: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 3816 | if ( queue_name && qq->name && Ustrcmp(queue_name, qq->name) == 0 | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
exim.c:3862:16: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 3862 | if (i >= 2) | ^ -
exim.c:3976:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 3976 | if (!*argrest) | ^ -
exim.c:4017:32: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4017 | || msg_action_arg > 0 && !one_msg_action | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ -
exim.c:4021:22: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4021 | || checking && msg_action != MSG_LOAD | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -
exim.c:4014:7: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4013 | if ( (smtp_input || extract_recipients || recipients_arg < argc) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4014 | && ( f.daemon_listen || qrunners || bi_option | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4015 | || test_retry_arg >= 0 || test_rewrite_arg >= 0 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4016 | || filter_test != FTEST_NONE | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4017 | || msg_action_arg > 0 && !one_msg_action | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4018 | ) | ~ -
exim.c:4025:7: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4024 | || (f.daemon_listen || is_multiple_qrun()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4025 | && ( sender_address || list_options || list_queue || checking | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4026 | || bi_option | ~~~~~~~~~~~~ 4027 | ) | ~ -
exim.c:4028:23: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4028 | || f.daemon_listen && is_onetime_qrun() | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -
exim.c:4029:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4029 | || f.inetd_wait_mode && qrunners | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -
exim.c:4031:7: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4030 | || list_options | ~~~~~~~~~~~~ 4031 | && ( checking || smtp_input || extract_recipients | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4032 | || filter_test != FTEST_NONE || bi_option | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4033 | ) | ~ -
exim.c:4035:7: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4034 | || verify_address_mode | ~~~~~~~~~~~~~~~~~~~ 4035 | && ( f.address_test_mode || smtp_input || extract_recipients | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4036 | || filter_test != FTEST_NONE || bi_option | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4037 | ) | ~ -
exim.c:4039:7: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4038 | || f.address_test_mode | ~~~~~~~~~~~~~~~~~~~ 4039 | && ( smtp_input || extract_recipients || filter_test != FTEST_NONE | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4040 | || bi_option | ~~~~~~~~~~~~ 4041 | ) | ~ -
exim.c:4043:7: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4042 | || smtp_input | ~~~~~~~~~~ 4043 | && (sender_address || filter_test != FTEST_NONE || extract_recipients) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
exim.c:4044:28: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4044 | || deliver_selectstring && !qrunners | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -
exim.c:4045:30: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4045 | || msg_action == MSG_LOAD && (!f.expansion_test || expansion_test_message) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
exim.c:4047:7: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4046 | || f.expansion_test && !expansion_test_message | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4047 | && (extract_recipients || !f.dot_ends) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
exim.c:4049:7: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4048 | || atrn_mode | ~~~~~~~~~ 4049 | && ( f.daemon_listen || f.expansion_test || filter_test != FTEST_NONE | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4050 | || checking /* || bi_option || info_stdout || receiving_message | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4051 | || malware_test_file || list_queue || list_config || list_options | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4052 | || version_printed || msg_action_arg > 0 || qrunners | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4053 | */ | ~~ 4054 | ) | ~ -
exim.c:4351:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 4351 | if (trusted_groups) | ^ -
exim.c:4364:19: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4364 | && ( checking && commandline_checks_require_admin | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
exim.c:4398:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 4398 | if (cmdline_syslog_name) | ^ -
exim.c:4431:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 4431 | if (log_oneline) | ^ -
exim.c:4523:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 4523 | if ( removed_privilege | ^ -
exim.c:4670:21: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4670 | || count_queue && queue_list_requires_admin | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
exim.c:4671:20: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4671 | || list_queue && queue_list_requires_admin | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
exim.c:4672:18: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4672 | || qrunners && prod_requires_admin | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -
exim.c:4673:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4673 | || queue_name_dest && prod_requires_admin | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -
exim.c:4674:18: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4674 | || debugset && !f.running_in_test_harness | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
exim.c:4829:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 4829 | if (rv == -1) | ^ -
exim.c:4948:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 4948 | if (rcpt_verify_quota) | ^ -
exim.c:5358:23: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 5358 | if ( !sender_address && !smtp_input | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -
exim.c:5380:19: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 5380 | if ( !smtp_input && !sender_address | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ -
exim.c:5550:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 5550 | for (config_lineno = 1; s = get_stdinput(fn_readline, fn_addhist); | ^ -
exim.c:5847:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 5847 | if (expand_string_message) | ^ -
expand.c:2298:53: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 2298 | ESI_BRACE_ENDS | ESI_HONOR_DOLLAR | flags & ESI_SKIPPING, &s, resetok,
-
expand.c:2434:13: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2434 | else if (*p == *wrap) | ^ -
expand.c:2725:52: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2725 | || (*t == 'r' || *t == 'l' || *t == 'b') && *++t == 'h' | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -
expand.c:3125:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 3125 | if (!isalpha(opname[0]) && yield) | ^ -
expand.c:3475:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 3475 | if (yield) | ^ -
expand.c:4260:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 4260 | if (!*error) | ^ -
expand.c:4681:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 4681 | for(const uschar * cp; cp = Ustrpbrk(item, tok); item = cp) | ^~ -
expand.c:4947:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 4947 | if (!(flags & ESI_SKIPPING)) | ^ -
expand.c:4961:52: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4961 | || (*t == 'r' || *t == 'l' || *t == 'b') && *++t == 'h' | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -
expand.c:6107:36: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 6107 | if (*ret != 0 || req_pos && val[i] < 0) | ~~~~~~~~^~~~~~~~~~~~~ -
expand.c:6378:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 6378 | if (Ustrncmp(s, "json", 4) == 0) | ^ -
expand.c:6724:50: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 6724 | if (*sub[1]) for (uschar sep = *sub[0], c; c = *sub[1]; sub[1]++) | ^ -
expand.c:6780:40: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 6780 | ESI_BRACE_ENDS | flags & ESI_SKIPPING, &s, &resetok, NULL);
-
expand.c:7060:38: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 7060 | ESI_BRACE_ENDS | flags & ESI_SKIPPING, &s, &resetok, NULL);
-
expand.c:7501:38: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 7501 | ESI_BRACE_ENDS | flags & ESI_SKIPPING, &s1, &resetok, NULL);
-
expand.c:7619:42: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 7619 | ESI_HONOR_DOLLAR | flags & ESI_SKIPPING, NULL, &resetok, NULL);
-
expand.c:7950:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 7950 | if (t) | ^ -
expand.c:7968:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 7968 | if (*outsep = *++sub) ++sub; | ^ -
expand.c:7967:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 7967 | if (Uskip_whitespace(&sub) == '>') | ^ -
expand.c:8205:18: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 8205 | if (--bytes_left == 0) /* codepoint complete */ | ^ -
dnsbl.c:243:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 243 | if (host_aton(da->address, address) == 1) | ^ -
host.c:92:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 92 | if (random_seed == 0) | ^ -
host.c:202:19: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 202 | if ( ipa == 4 && af == AF_INET | ^ -
host.c:1183:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1183 | for (uschar * s, * end; s = string_nextinlist(&list, &sep, NULL, 0); ) | ^ -
host.c:1940:9: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1940 | && match_isinlist(host->name, CUSS &dns_ipv4_lookup, 0,
-
host.c:2273:11: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2273 | && match_isinlist(host->name, CUSS &dns_ipv4_lookup, 0,
-
host.c:2581:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2581 | srv_service = string_nextinlist(&srv_svclist, &sep, NULL, 0); ) | ^~~~~~~~~~~ -
host.c:2667:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2667 | if (dnssec_request) | ^ -
host.c:3126:12: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 3126 | && Ustrchr(next->address, ':') /* OR next is IPv6 */
-
host.c:3130:12: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 3130 | && !Ustrchr(next->address, ':') /* OR next is IPv4 */
-
log.c:644:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 644 | if (flags & (LOG_CONFIG_IN & ~LOG_CONFIG)) | ^ -
log.c:1076:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1076 | if (!ANY_DEBUG && log_stderr) | ^ -
log.c:1291:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1291 | if ((flags & LOG_PANIC_DIE) != LOG_PANIC) | ^ -
log.c:1367:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1367 | if ((c = Ustrncmp(word, middle->name, len)) == 0) | ^ -
macros.h:355:28: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 355 | #define HDEBUG(list) if (host_checking || IS_DEBUG(list)) | ^ -
match.c:1325:54: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 1325 | csb.flags = MCS_PARTIAL | MCS_AT_SPECIAL | cb->flags & MCS_CASELESS;
-
parse.c:276:21: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 276 | while (*s >= 33 && *s <= 90 || *s >= 94 && *s <= 126) *t++ = *s++; | ~~~~~~~~~^~~~~~~~~~~ -
parse.c:570:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 570 | if (*s != term) | ^ -
parse.c:808:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 808 | if (*s) | ^ -
queue.c:192:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 192 | for (struct dirent * ent; ent = readdir(dd); ) | ^~~ -
queue.c:213:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 213 | if ( (len == SPOOL_NAME_LENGTH || len == SPOOL_NAME_LENGTH_OLD) | ^ -
queue.c:439:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 439 | if (LOGGING(queue_run)) | ^ -
queue.c:513:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 513 | if (!q->queue_run_force && deliver_queue_load_max >= 0) | ^ -
queue.c:853:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 853 | if (LOGGING(queue_run)) | ^ -
queue.c:1300:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1300 | if ((deliver_datafile = spool_open_datafile(id)) < 0) | ^ -
queue.c:1640:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1640 | if (yield) | ^ -
queue.c:1683:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1683 | if (s) | ^ -
rda.c:256:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 256 | if (!uid_ok) | ^ -
rda.c:263:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 263 | if (!gid_ok) | ^ -
rda.c:383:19: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 383 | expand_forbid & ~RDO_FILTER_EXPANSIONS | options & RDO_FILTER_EXPANSIONS;
-
readconf.c:709:10: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 709 | if ( (o->type & opt_mask) == opt_stringptr | ^ -
readconf.c:719:10: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 719 | if ( (o->type & opt_mask) == opt_stringptr | ^ -
readconf.c:754:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 754 | if ( (o->type & opt_mask) == opt_stringptr | ^ -
readconf.c:764:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 764 | if ( (o->type & opt_mask) == opt_stringptr | ^ -
readconf.c:1217:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1217 | if (*ss != '/') | ^ -
readconf.c:1837:29: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ [-Wparentheses] 1837 | if (ol->type & opt_set && !ol->type & (opt_rep_con | opt_rep_str)) | ^~~~~~~~~ -
readconf.c:2284:10: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2284 | if ((ol2 = find_option(name2, oltop, last))) | ^ -
readconf.c:2296:10: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2296 | if ((ol2 = find_option(name2, oltop, last))) | ^ -
readconf.c:3435:8: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 3431 | statbuf.st_gid != root_gid /* group not root & */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3432 | #ifdef CONFIGURE_GROUP | ~~~~~~~~~~~~~~~~~~~~~~ 3433 | && statbuf.st_gid != config_gid /* group not the special one */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3434 | #endif | ~~~~~~ 3435 | && (statbuf.st_mode & 020) != 0 /* group writeable */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
readconf.c:3845:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3845 | for(struct dirent * ent; ent = readdir(dd); ) if (Ustrcmp(ent->d_name, fname) == 0) | ^~~ -
readconf.c:4183:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 4183 | if (i >= nelem(extras)) | ^ -
readconf.c:4445:24: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4445 | if ( au->client && bu->client | ~~~~~~~~~~~^~~~~~~~~~~~~ -
readconf.c:4747:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4747 | || Ustrncmp(current, "hide", 4) == 0 && isspace(current[4])
-
receive.c:396:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 396 | if (STATVFS(CS path, &statbuf) != 0) | ^ -
receive.c:460:20: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 460 | if ( space >= 0 && space + msg_size / 1024 < check_spool_space | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
receive.c:478:20: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 478 | if ( space >= 0 && space < check_log_space | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -
receive.c:1030:10: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1030 | if (ch == '\n') /* Bare LF at end of line */ | ^ -
receive.c:1723:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1723 | for (tempdir = exim_opendir(scandir); entry = readdir(tempdir); ) | ^~~~~ -
receive.c:2116:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2116 | if (smtp_input /* && !smtp_batched_input */) | ^ -
receive.c:2599:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2599 | if (smtp_input) | ^ -
receive.c:2757:59: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2757 | && ( f.sender_local && !f.trusted_caller && !f.suppress_local_fixups | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -
receive.c:2911:17: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2911 | else if (recipient) | ^ -
receive.c:3215:49: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 3215 | && ( f.sender_local && !f.trusted_caller && !f.suppress_local_fixups | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -
receive.c:3263:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 3263 | if (make_sender) | ^ -
receive.c:4165:33: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 4165 | r->dsn_flags = r->dsn_flags & ~(rf_notify_success | rf_notify_delay) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
receive.c:4712:13: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 4712 | else if (smtp_reply[0] != 0) | ^ -
retry.c:646:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 646 | if (!dbm_file) | ^ -
retry.c:943:10: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 943 | if (update_count > 0 && update_count == timedout_count) | ^ -
retry.c:1017:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1017 | if (dbm_file) | ^ -
rfc2047.c:53:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 53 | for (len = 0; ch = *string++; len++) | ^~ -
route.c:411:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 411 | for (const uschar * prefix; prefix = string_nextinlist(&prefixes,&sep,NULL,0); ) | ^~~~~~ -
route.c:473:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 473 | for (uschar * suffix; suffix = string_nextinlist(&suffixes, &sep, NULL, 0); ) | ^~~~~~ -
route.c:621:37: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 621 | for (uschar * sp = rp + 1, * slash; slash = Ustrchr(sp, '/'); sp = slash + 1) | ^~~~~ -
route.c:762:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 762 | if (eacces_code = *ss == '+') | ^~~~~~~~~~~ -
route.c:765:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 765 | if (invert = *ss == '!') | ^~~~~~ -
route.c:1489:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1489 | if (!(val = expand_string(US assignment))) | ^ -
route.c:1864:31: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1864 | if ( ( verify == v_sender && r->fail_verify_sender | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -
search.c:244:30: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 244 | if (opts) for (uschar * s; s = string_nextinlist(&opts, &sep, NULL, 0); ) | ^ -
search.c:448:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 448 | if (li->type == lookup_absfile && open_filecount >= lookup_open_max) | ^ -
search.c:571:14: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 571 | && (!opts && !e->opts || opts && e->opts && Ustrcmp(opts, e->opts) == 0) | ~~~~~~^~~~~~~~~~~ -
search.c:621:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 621 | if (Ustrncmp(ks, "servers", 7) == 0) /* Avoid logging server/password */ | ^ -
search.c:703:1: warning: label ‘out’ defined but not used [-Wunused-label] 703 | out: | ^~~ -
search.c:779:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 779 | for (const uschar * ele; ele = string_nextinlist(&opts, &sep, NULL, 0); ) | ^~~ -
smtp_in.c:889:10: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 889 | if (chunking_datasize == 0) | ^ -
smtp_in.c:1740:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1740 | if (!yield) | ^ -
smtp_in.c:2059:10: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2059 | if ( !sender_domain | ^ -
smtp_in.c:2121:10: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2121 | if (!recipient_domain) | ^ -
smtp_in.c:2641:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2641 | if (!smtp_batched_input) | ^ -
smtp_in.c:2921:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2921 | if (!check_sync(WBR_DATA_ONLY)) | ^ -
smtp_in.c:3157:19: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 3157 | || len >= 5 && (*msg)[4] != (*code)[0] | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -
smtp_in.c:3555:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 3555 | if (sender_host_name) | ^ -
smtp_in.c:4450:10: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 4450 | if (acl_smtp_helo) | ^ -
smtp_in.c:4833:10: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 4833 | if (!fl.helo_seen) | ^ -
smtp_in.c:5175:10: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 5175 | if (!sender_domain && *sender_address) | ^ -
smtp_in.c:5410:50: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 5410 | || rcpt_count > recipients_max_expanded && recipients_max_expanded > 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
store.c:659:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 659 | if (b = pp->current_block) | ^ -
store.c:730:28: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 730 | return ni > oi || ni == oi && nq != oq; | ~~~~~~~~~^~~~~~~~~~~ -
string.c:66:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 66 | if (slash = Ustrchr(ip_addr, '/')) | ^~~~~ -
string.c:95:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 95 | if (percent = Ustrchr(ip_addr, '%')) | ^~~~~~~ -
string.c:970:18: warning: overflow in conversion from ‘int’ to ‘BOOL’ {aka ‘unsigned char’} changes value from ‘(int)*(*__ctype_b_loc() + (sizetype)((long unsigned int)sep * 2)) & 512’ to ‘0’ [-Woverflow] 970 | sep_is_special = iscntrl(sep); | ^~~~~~~ -
tls.c:303:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 303 | for (const uschar * s; s = string_nextinlist(&filename, &sep, NULL, 0); ) | ^ -
tls-openssl.c:811:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 811 | curve = string_nextinlist(&curvelist, &sep, NULL, 0); | ^~~~~ -
tls-openssl.c:941:6: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 941 | name = X509_get_subject_name(x509); | ^ -
tls-openssl.c:1492:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1492 | while (oentry = *op) | ^~~~~~ -
tls-openssl.c:1635:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1635 | while (file = string_nextinlist(&file_list, &sep, NULL, 0)) | ^~~~ -
tls-openssl.c:1641:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1641 | if (olist) | ^ -
tls-openssl.c:1600:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1600 | if (expanded) | ^ -
tls-openssl.c:1666:9: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1665 | if ( state->privatekey | ~~~~~~~~~~~~~~~~~ 1666 | && !expand_check(state->privatekey, US"tls_privatekey", &expanded, errstr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
tls-openssl.c:1684:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1684 | while (file = string_nextinlist(&file_list, &sep, NULL, 0)) | ^~~~ -
tls-openssl.c:1678:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1678 | if (expanded && *expanded) | ^ -
tls-openssl.c:1945:9: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1943 | || tls_set_watch(CUS X509_get_default_cert_file(), FALSE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1944 | && tls_set_watch(ob->tls_verify_certificates, FALSE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1945 | && tls_set_watch(ob->tls_crl, FALSE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
tls-openssl.c:2009:18: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2009 | X509_NAME * sn = X509_get_subject_name((X509 *)cert); | ^~~~~~~~~~~~~~~~~~~~~ -
tls-openssl.c:2373:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2373 | for (uschar * name; name = string_nextinlist(&list, &sep, NULL, 0); ) | ^~~~ -
tls-openssl.c:2977:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2977 | if (!host) /* server */ | ^ -
tls-openssl.c:3172:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 3172 | if (tlsp->peercert) | ^ -
tls-openssl.c:3222:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3222 | for (X509 * x; x = PEM_read_bio_X509(bp, NULL, 0, NULL); ) | ^ -
tls-openssl.c:4206:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 4206 | for (t = p; s = string_nextinlist(&list, &sep, NULL, 0); t += len) | ^ -
tls-openssl.c:4395:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 4395 | if (plist) | ^ -
tlscert-openssl.c:215:30: warning: passing argument 1 of ‘x509_name_copy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 215 | uschar * cp = x509_name_copy(X509_get_issuer_name((X509 *)cert)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
tlscert-openssl.c:316:30: warning: passing argument 1 of ‘x509_name_copy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 316 | uschar * cp = x509_name_copy(X509_get_subject_name((X509 *)cert)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
tlscert-openssl.c:333:23: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 333 | X509_EXTENSION * ex = X509_get_ext((X509 *)cert, nidx); | ^~~~~~~~~~~~ -
tlscert-openssl.c:334:29: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 334 | ASN1_OCTET_STRING * adata = X509_EXTENSION_get_data(ex); | ^~~~~~~~~~~~~~~~~~~~~~~ -
tls.c:710:40: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 710 | || Ustrncmp(ele, match, len) == 0 && ele[len] == '='
-
tls.c:813:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 813 | if (path) | ^ -
transport.c:1471:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1471 | if (yield) | ^ -
transport.c:2071:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2071 | if (cutthrough.peer_options & OPTION_TLS) | ^ -
verify.c:154:30: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 154 | || *from_address == 0 && cache_record->result == ccache_reject_mfnull)
-
verify.c:296:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 296 | if (dom_rec->result != ccache_unknown) | ^ -
verify.c:2265:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2265 | if (!testflag(addr, af_pfr)) | ^ -
verify.c:3004:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 3004 | if (*ss == '@') | ^ -
verify.c:3037:41: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 3037 | if (!*t || (*t == '/' || *t == '%') && t != ss) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
verify.c:3690:27: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 3690 | || save_errno == 0 && Ustrcmp(recipient_verify_failure, "quota") == 0) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
verify.c:2313:11: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2313 | write(fd, " AD", 3); | ^~~~~~~~~~~~~~~~~~~ -
verify.c:2316:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2316 | write(fd, "\n", 1); | ^~~~~~~~~~~~~~~~~~ -
environment.c:91:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 91 | for (const uschar * p; p = string_nextinlist(&envlist, &sep, NULL, 0); ) | ^ -
lookups/lf_sqlperform.c:96:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 96 | for (uschar * qsrv; qsrv = string_nextinlist(&qserverlist, &qsep, NULL, 0); ) | ^~~~ -
lookups/lf_sqlperform.c:105:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 105 | for (int sep = 0; server = string_nextinlist(&serverlist, &sep, NULL, 0);) | ^~~~~~ -
lookups/lf_sqlperform.c:141:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 141 | for (int sep = ','; ele = string_nextinlist(&opts, &sep, NULL, 0); ) | ^~~ -
lookups/lf_sqlperform.c:152:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 152 | for (int d = 0; server = string_nextinlist(&serverlist, &d, NULL, 0); ) | ^~~~~~ -
lookups/lf_sqlperform.c:162:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 162 | for (int sep = 0; ele = string_nextinlist(&slist, &sep, NULL, 0); ) | ^~~ -
routers/rf_queue_add.c:106:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 106 | if ((s = r->fallback_hosts)) | ^ -
auths/../macros.h:355:28: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 355 | #define HDEBUG(list) if (host_checking || IS_DEBUG(list)) | ^ -
auths/get_data.c:184:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 184 | if (ss[i] == '^') | ^ -
../src/local_scan.c:37:17: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 37 | base_msg=US"Local configuration error - local_scan() library failure\n"; | ^ -
../src/local_scan.c:47:22: warning: pointer targets in assignment from ‘char *’ to ‘uschar *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 47 | *return_text = final_msg ; | ^ -
../src/local_scan.c:68:25: warning: pointer targets in passing argument 1 of ‘dlopen’ differ in signedness [-Wpointer-sign] 68 | local_scan_lib = dlopen(local_scan_path, RTLD_NOW); | ^~~~~~~~~~~~~~~ | | | uschar * {aka unsigned char *} -
spool_mbox.c:225:30: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 225 | for (struct dirent *entry; entry = readdir(tempdir); ) | ^~~~~ -
dane-openssl.c:500:19: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 500 | X509_NAME *name = X509_get_issuer_name(subject); | ^~~~~~~~~~~~~~~~~~~~ -
dane-openssl.c:860:19: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 860 | X509_NAME *name = X509_get_subject_name(cert); | ^~~~~~~~~~~~~~~~~~~~~ -
dane-openssl.c:870:13: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 870 | if (!(entry = X509_NAME_get_entry(name, i))) | ^ -
dane-openssl.c:872:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 872 | if (!(entry_str = X509_NAME_ENTRY_get_data(entry))) | ^