Snippets for apmod:jk 1.2.50 from Nix aarch64-darwin
Sourced from https://hydra.nixos.org/log/f7in5l4g6argr2knyh06cr2dfdqallld-mod_jk-1.2.50.drv.
-
jk_lb_worker.c:1404:36: warning: address of array 'p->worker->session_cookie_path' will always evaluate to 'true' [-Wpointer-bool-conversion] 1404 | if (p->worker->session_cookie_path && *p->worker->session_cookie_path) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ~~ -
jk_ajp_common.c:2995:20: warning: address of array 'p->source' will always evaluate to 'true' [-Wpointer-bool-conversion] 2995 | if (p->source && *p->source) { | ~~~^~~~~~ ~~ -
jk_status.c:1880:23: warning: address of array 'aw->source' will always evaluate to 'true' [-Wpointer-bool-conversion] 1880 | aw->source && *aw->source ? aw->source : "undefined", | ~~~~^~~~~~ ~~ -
jk_status.c:1894:23: warning: address of array 'aw->source' will always evaluate to 'true' [-Wpointer-bool-conversion] 1894 | aw->source && *aw->source ? aw->source : "undefined", | ~~~~^~~~~~ ~~ -
jk_status.c:1998:27: warning: address of array 'wr->redirect' will always evaluate to 'true' [-Wpointer-bool-conversion] 1998 | wr->redirect ? (*wr->redirect ? wr->redirect : " ") : " ", | ~~~~^~~~~~~~ ~ -
jk_status.c:1999:27: warning: address of array 'wr->domain' will always evaluate to 'true' [-Wpointer-bool-conversion] 1999 | wr->domain ? (*wr->domain ? wr->domain : " ") : " ", | ~~~~^~~~~~ ~ -
jk_status.c:2043:60: warning: address of array 'aw->source' will always evaluate to 'true' [-Wpointer-bool-conversion] 2043 | jk_print_xml_att_string(s, l, off+2, "source", aw->source && *aw->source ? aw->source : "undefined"); | ~~~~^~~~~~ ~~ -
jk_status.c:2113:43: warning: address of array 'aw->source' will always evaluate to 'true' [-Wpointer-bool-conversion] 2113 | jk_printf(s, l, " source=%s", aw->source && *aw->source ? aw->source : "undefined"); | ~~~~^~~~~~ ~~ -
jk_status.c:2127:50: warning: address of array 'wr->route' will always evaluate to 'true' [-Wpointer-bool-conversion] 2127 | jk_printf(s, l, " route=\"%s\"", wr->route ? wr->route : ""); | ~~~~^~~~~ ~ -
jk_status.c:2128:53: warning: address of array 'wr->redirect' will always evaluate to 'true' [-Wpointer-bool-conversion] 2128 | jk_printf(s, l, " redirect=\"%s\"", wr->redirect ? wr->redirect : ""); | ~~~~^~~~~~~~ ~ -
jk_status.c:2129:51: warning: address of array 'wr->domain' will always evaluate to 'true' [-Wpointer-bool-conversion] 2129 | jk_printf(s, l, " domain=\"%s\"", wr->domain ? wr->domain : ""); | ~~~~^~~~~~ ~ -
jk_status.c:2180:67: warning: address of array 'aw->source' will always evaluate to 'true' [-Wpointer-bool-conversion] 2180 | jk_print_prop_att_string(s, l, w, ajp_name, "source", aw->source && *aw->source ? aw->source : "undefined"); | ~~~~^~~~~~ ~~