2022-06-28 14:24 ftp://ftp.de.debian.org/debian/pool/main/h/haproxy/haproxy_2.6.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --inline-suppr --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j4 platform: Linux-5.10.0-15-amd64-x86_64-with-glibc2.31 python: 3.9.2 client-version: 1.3.25 compiler: g++ (Debian 10.2.1-6) 10.2.1 20210110 cppcheck: head 2.8 head-info: 2223cd2 (2022-06-28 14:02:02 +0200) count: 439 434 elapsed-time: 321.3 636.0 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: haproxy-2.6.1/addons/51degrees/51d.c:398:1: error: Unmatched '}'. Configuration: '__GNUC__=1'. [syntaxError] haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:34:23: style:inconclusive: Function 'da_typename' argument 1 names different: declaration 'type' definition 'fieldtype'. [funcArgNamesDifferent] haproxy-2.6.1/addons/deviceatlas/dummy/dac.h:447:35: note: Function 'da_typename' argument 1 names different: declaration 'type' definition 'fieldtype'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:34:23: note: Function 'da_typename' argument 1 names different: declaration 'type' definition 'fieldtype'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:58:89: style:inconclusive: Function 'da_atlas_compile' argument 5 names different: declaration 'len' definition 'size'. [funcArgNamesDifferent] haproxy-2.6.1/addons/deviceatlas/dummy/dac.h:209:103: note: Function 'da_atlas_compile' argument 5 names different: declaration 'len' definition 'size'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:58:89: note: Function 'da_atlas_compile' argument 5 names different: declaration 'len' definition 'size'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:64:54: style:inconclusive: Function 'da_atlas_open' argument 2 names different: declaration 'extra_props' definition 'extraprops'. [funcArgNamesDifferent] haproxy-2.6.1/addons/deviceatlas/dummy/dac.h:224:66: note: Function 'da_atlas_open' argument 2 names different: declaration 'extra_props' definition 'extraprops'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:64:54: note: Function 'da_atlas_open' argument 2 names different: declaration 'extra_props' definition 'extraprops'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:64:90: style:inconclusive: Function 'da_atlas_open' argument 4 names different: declaration 'pos' definition 'len'. [funcArgNamesDifferent] haproxy-2.6.1/addons/deviceatlas/dummy/dac.h:224:103: note: Function 'da_atlas_open' argument 4 names different: declaration 'pos' definition 'len'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:64:90: note: Function 'da_atlas_open' argument 4 names different: declaration 'pos' definition 'len'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:89:66: style:inconclusive: Function 'da_atlas_header_evidence_id' argument 2 names different: declaration 'header_name' definition 'evidence_name'. [funcArgNamesDifferent] haproxy-2.6.1/addons/deviceatlas/dummy/dac.h:181:83: note: Function 'da_atlas_header_evidence_id' argument 2 names different: declaration 'header_name' definition 'evidence_name'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:89:66: note: Function 'da_atlas_header_evidence_id' argument 2 names different: declaration 'header_name' definition 'evidence_name'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:102:80: style:inconclusive: Function 'da_atlas_getpropname' argument 3 names different: declaration 'propname' definition 'name'. [funcArgNamesDifferent] haproxy-2.6.1/addons/deviceatlas/dummy/dac.h:310:92: note: Function 'da_atlas_getpropname' argument 3 names different: declaration 'propname' definition 'name'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:102:80: note: Function 'da_atlas_getpropname' argument 3 names different: declaration 'propname' definition 'name'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:109:80: style:inconclusive: Function 'da_atlas_getpropid' argument 3 names different: declaration 'propid' definition 'property'. [funcArgNamesDifferent] haproxy-2.6.1/addons/deviceatlas/dummy/dac.h:284:92: note: Function 'da_atlas_getpropid' argument 3 names different: declaration 'propid' definition 'property'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:109:80: note: Function 'da_atlas_getpropid' argument 3 names different: declaration 'propid' definition 'property'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:127:54: style:inconclusive: Function 'da_searchv' argument 2 names different: declaration 'info' definition 'result'. [funcArgNamesDifferent] haproxy-2.6.1/addons/deviceatlas/dummy/dac.h:254:66: note: Function 'da_searchv' argument 2 names different: declaration 'info' definition 'result'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:127:54: note: Function 'da_searchv' argument 2 names different: declaration 'info' definition 'result'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:127:77: style:inconclusive: Function 'da_searchv' argument 3 names different: declaration 'ev' definition 'evidence'. [funcArgNamesDifferent] haproxy-2.6.1/addons/deviceatlas/dummy/dac.h:254:87: note: Function 'da_searchv' argument 3 names different: declaration 'ev' definition 'evidence'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:127:77: note: Function 'da_searchv' argument 3 names different: declaration 'ev' definition 'evidence'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:135:53: style:inconclusive: Function 'da_search' argument 2 names different: declaration 'info' definition 'result'. [funcArgNamesDifferent] haproxy-2.6.1/addons/deviceatlas/dummy/dac.h:268:65: note: Function 'da_search' argument 2 names different: declaration 'info' definition 'result'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:135:53: note: Function 'da_search' argument 2 names different: declaration 'info' definition 'result'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:179:27: style:inconclusive: Function 'da_close' argument 1 names different: declaration 'info' definition 'sr'. [funcArgNamesDifferent] haproxy-2.6.1/addons/deviceatlas/dummy/dac.h:274:32: note: Function 'da_close' argument 1 names different: declaration 'info' definition 'sr'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:179:27: note: Function 'da_close' argument 1 names different: declaration 'info' definition 'sr'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:184:78: style:inconclusive: Function 'da_getpropname' argument 3 names different: declaration 'propname' definition 'name'. [funcArgNamesDifferent] haproxy-2.6.1/addons/deviceatlas/dummy/dac.h:398:90: note: Function 'da_getpropname' argument 3 names different: declaration 'propname' definition 'name'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:184:78: note: Function 'da_getpropname' argument 3 names different: declaration 'propname' definition 'name'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:198:60: style:inconclusive: Function 'da_getpropinteger' argument 2 names different: declaration 'propid' definition 'property'. [funcArgNamesDifferent] haproxy-2.6.1/addons/deviceatlas/dummy/dac.h:353:72: note: Function 'da_getpropinteger' argument 2 names different: declaration 'propid' definition 'property'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:198:60: note: Function 'da_getpropinteger' argument 2 names different: declaration 'propid' definition 'property'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:198:76: style:inconclusive: Function 'da_getpropinteger' argument 3 names different: declaration 'value' definition 'vp'. [funcArgNamesDifferent] haproxy-2.6.1/addons/deviceatlas/dummy/dac.h:353:86: note: Function 'da_getpropinteger' argument 3 names different: declaration 'value' definition 'vp'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:198:76: note: Function 'da_getpropinteger' argument 3 names different: declaration 'value' definition 'vp'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:205:59: style:inconclusive: Function 'da_getpropstring' argument 2 names different: declaration 'propid' definition 'property'. [funcArgNamesDifferent] haproxy-2.6.1/addons/deviceatlas/dummy/dac.h:345:71: note: Function 'da_getpropstring' argument 2 names different: declaration 'propid' definition 'property'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:205:59: note: Function 'da_getpropstring' argument 2 names different: declaration 'propid' definition 'property'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:205:82: style:inconclusive: Function 'da_getpropstring' argument 3 names different: declaration 'value' definition 'vp'. [funcArgNamesDifferent] haproxy-2.6.1/addons/deviceatlas/dummy/dac.h:345:92: note: Function 'da_getpropstring' argument 3 names different: declaration 'value' definition 'vp'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:205:82: note: Function 'da_getpropstring' argument 3 names different: declaration 'value' definition 'vp'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:212:60: style:inconclusive: Function 'da_getpropboolean' argument 2 names different: declaration 'propid' definition 'property'. [funcArgNamesDifferent] haproxy-2.6.1/addons/deviceatlas/dummy/dac.h:361:72: note: Function 'da_getpropboolean' argument 2 names different: declaration 'propid' definition 'property'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:212:60: note: Function 'da_getpropboolean' argument 2 names different: declaration 'propid' definition 'property'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:212:76: style:inconclusive: Function 'da_getpropboolean' argument 3 names different: declaration 'value' definition 'vp'. [funcArgNamesDifferent] haproxy-2.6.1/addons/deviceatlas/dummy/dac.h:361:86: note: Function 'da_getpropboolean' argument 3 names different: declaration 'value' definition 'vp'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:212:76: note: Function 'da_getpropboolean' argument 3 names different: declaration 'value' definition 'vp'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:219:59: style:inconclusive: Function 'da_get_property_name' argument 2 names different: declaration 'propid' definition 'property'. [funcArgNamesDifferent] haproxy-2.6.1/addons/deviceatlas/dummy/dac.h:476:71: note: Function 'da_get_property_name' argument 2 names different: declaration 'propid' definition 'property'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:219:59: note: Function 'da_get_property_name' argument 2 names different: declaration 'propid' definition 'property'. haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:9:19: style: struct member 'da_bitset::bits' is never used. [unusedStructMember] haproxy-2.6.1/addons/deviceatlas/dummy/dac.c:10:12: style: struct member 'da_bitset::bit_count' is never used. [unusedStructMember] haproxy-2.6.1/addons/deviceatlas/dadwsch.c:47:2: style: Obsolescent function 'ctime_r' called. It is recommended to use 'strftime' instead. [prohibitedctime_rCalled] haproxy-2.6.1/addons/deviceatlas/dadwsch.c:65:2: style: Obsolescent function 'ctime_r' called. It is recommended to use 'strftime' instead. [prohibitedctime_rCalled] haproxy-2.6.1/addons/deviceatlas/dadwsch.c:66:2: style: Obsolescent function 'ctime_r' called. It is recommended to use 'strftime' instead. [prohibitedctime_rCalled] haproxy-2.6.1/addons/deviceatlas/dadwsch.c:153:21: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] haproxy-2.6.1/addons/deviceatlas/dadwsch.c:61:9: style: Variable 'fd' is assigned a value that is never used. [unreadVariable] haproxy-2.6.1/addons/deviceatlas/dadwsch.c:71:10: style: Variable 'val' is assigned a value that is never used. [unreadVariable] haproxy-2.6.1/addons/deviceatlas/dadwsch.c:57:8: style: Unused variable: e [unusedVariable] haproxy-2.6.1/addons/deviceatlas/dadwsch.c:102:10: style: Unused variable: w [unusedVariable] haproxy-2.6.1/addons/deviceatlas/dadwsch.c:117:9: style: Unused variable: i [unusedVariable] haproxy-2.6.1/addons/ot/src/filter.c:45:64: error: syntax error [syntaxError] haproxy-2.6.1/addons/ot/src/group.c:91:53: error: syntax error [syntaxError] haproxy-2.6.1/addons/ot/src/opentracing.c:108:70: error: syntax error [syntaxError] haproxy-2.6.1/addons/deviceatlas/da.c:245:6: style: Obsolescent function 'ctime_r' called. It is recommended to use 'strftime' instead. [prohibitedctime_rCalled] haproxy-2.6.1/addons/deviceatlas/da.c:418:8: style: Variable 'pval' is reassigned a value before the old one has been used. [redundantAssignment] haproxy-2.6.1/addons/deviceatlas/da.c:412:8: note: pval is assigned haproxy-2.6.1/addons/deviceatlas/da.c:418:8: note: pval is overwritten haproxy-2.6.1/addons/ot/src/scope.c:173:3: error: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry_safe is a macro then please configure it. [unknownMacro] haproxy-2.6.1/addons/wurfl/dummy/dummy-wurfl.c:73:10: style: Redundant initialization for 'hvalue'. The initialized value is overwritten before it is read. [redundantInitialization] haproxy-2.6.1/addons/wurfl/dummy/dummy-wurfl.c:71:22: note: hvalue is initialized haproxy-2.6.1/addons/wurfl/dummy/dummy-wurfl.c:73:10: note: hvalue is overwritten haproxy-2.6.1/addons/ot/src/parser.c:991:234: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] haproxy-2.6.1/admin/dyncookie/dyncookie.c:55:2: error: Memory leak: buf [memleak] haproxy-2.6.1/admin/halog/fgets2.c:97:40: style: Parameter 'end' can be declared as pointer to const [constParameter] haproxy-2.6.1/addons/wurfl/wurfl.c:416:8: error: Uninitialized variable: wi.data [uninitvar] haproxy-2.6.1/addons/wurfl/wurfl.c:421:8: error: Uninitialized variable: wp.patch_file_path [uninitvar] haproxy-2.6.1/addons/wurfl/wurfl.c:704:11: style: Variable 'cond' is assigned a value that is never used. [unreadVariable] haproxy-2.6.1/admin/iprange/ip6range.c:102:24: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 101. [shiftTooManyBitsSigned] haproxy-2.6.1/admin/iprange/ip6range.c:101:8: note: Assuming that condition 'b<32' is not redundant haproxy-2.6.1/admin/iprange/ip6range.c:102:24: note: Shift haproxy-2.6.1/admin/iprange/ip6range.c:109:24: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 107. [shiftTooManyBitsSigned] haproxy-2.6.1/admin/iprange/ip6range.c:107:13: note: Assuming that condition 'b<64' is not redundant haproxy-2.6.1/admin/iprange/ip6range.c:109:24: note: Shift haproxy-2.6.1/admin/iprange/ip6range.c:116:24: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 113. [shiftTooManyBitsSigned] haproxy-2.6.1/admin/iprange/ip6range.c:113:13: note: Assuming that condition 'b<96' is not redundant haproxy-2.6.1/admin/iprange/ip6range.c:116:24: note: Shift haproxy-2.6.1/admin/iprange/ip6range.c:123:24: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 119. [shiftTooManyBitsSigned] haproxy-2.6.1/admin/iprange/ip6range.c:119:13: note: Assuming that condition 'b<128' is not redundant haproxy-2.6.1/admin/iprange/ip6range.c:123:24: note: Shift haproxy-2.6.1/admin/iprange/ip6range.c:138:23: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 137. [shiftTooManyBitsSigned] haproxy-2.6.1/admin/iprange/ip6range.c:137:8: note: Assuming that condition 'b<32' is not redundant haproxy-2.6.1/admin/iprange/ip6range.c:138:23: note: Shift haproxy-2.6.1/admin/iprange/ip6range.c:145:23: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 143. [shiftTooManyBitsSigned] haproxy-2.6.1/admin/iprange/ip6range.c:143:13: note: Assuming that condition 'b<64' is not redundant haproxy-2.6.1/admin/iprange/ip6range.c:145:23: note: Shift haproxy-2.6.1/admin/iprange/ip6range.c:152:23: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 149. [shiftTooManyBitsSigned] haproxy-2.6.1/admin/iprange/ip6range.c:149:13: note: Assuming that condition 'b<96' is not redundant haproxy-2.6.1/admin/iprange/ip6range.c:152:23: note: Shift haproxy-2.6.1/admin/iprange/ip6range.c:159:23: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 155. [shiftTooManyBitsSigned] haproxy-2.6.1/admin/iprange/ip6range.c:155:13: note: Assuming that condition 'b<128' is not redundant haproxy-2.6.1/admin/iprange/ip6range.c:159:23: note: Shift haproxy-2.6.1/admin/iprange/ip6range.c:102:24: warning: Either the condition 'b<32' is redundant or there is signed integer overflow for expression '1<8' is redundant or there is signed integer overflow for expression '-(1<<(32-ht[i].b))'. [integerOverflowCond] haproxy-2.6.1/dev/hpack/gen-rht.c:290:16: note: Assuming that condition 'ht[i].b>8' is not redundant haproxy-2.6.1/dev/hpack/gen-rht.c:294:27: note: Integer overflow haproxy-2.6.1/dev/hpack/gen-rht.c:309:27: warning: Either the condition 'ht[i].b>16' is redundant or there is signed integer overflow for expression '-(1<<(32-ht[i].b))'. [integerOverflowCond] haproxy-2.6.1/dev/hpack/gen-rht.c:305:32: note: Assuming that condition 'ht[i].b>16' is not redundant haproxy-2.6.1/dev/hpack/gen-rht.c:309:27: note: Integer overflow haproxy-2.6.1/dev/hpack/gen-rht.c:359:26: warning: Either the condition 'ht[i].b<=24' is redundant or there is signed integer overflow for expression '-(1<<(32-ht[i].b))'. [integerOverflowCond] haproxy-2.6.1/dev/hpack/gen-rht.c:355:16: note: Assuming that condition 'ht[i].b<=24' is not redundant haproxy-2.6.1/dev/hpack/gen-rht.c:359:26: note: Integer overflow haproxy-2.6.1/src/acl.c:854:3: error: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry_safe is a macro then please configure it. [unknownMacro] haproxy-2.6.1/dev/udp/udp-perturb.c:158:25: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] haproxy-2.6.1/dev/udp/udp-perturb.c:217:6: style: Local variable 'nbfd' shadows outer variable [shadowVariable] haproxy-2.6.1/dev/udp/udp-perturb.c:87:5: note: Shadowed declaration haproxy-2.6.1/dev/udp/udp-perturb.c:217:6: note: Shadow variable haproxy-2.6.1/dev/udp/udp-perturb.c:499:12: style: Local variable 'i' shadows outer variable [shadowVariable] haproxy-2.6.1/dev/udp/udp-perturb.c:446:6: note: Shadowed declaration haproxy-2.6.1/dev/udp/udp-perturb.c:499:12: note: Shadow variable haproxy-2.6.1/dev/tcploop/tcploop.c:284:25: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] haproxy-2.6.1/dev/tcploop/tcploop.c:702:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] haproxy-2.6.1/src/auth.c:141:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] haproxy-2.6.1/src/auth.c:178:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] haproxy-2.6.1/src/arg.c:185:13: style: Condition 'len==1' is always false [knownConditionTrueFalse] haproxy-2.6.1/src/calltrace.c:162:23: style: Variable 'hextab' can be declared as const array [constVariable] haproxy-2.6.1/src/cache.c:428:61: error: Null pointer dereference: (struct shared_context*)NULL [nullPointer] haproxy-2.6.1/src/cache.c:433:59: error: Null pointer dereference: (struct shared_block*)NULL [nullPointer] haproxy-2.6.1/src/cache.c:2066:35: style: Checking if unsigned expression 'tmp_cache_config->maxblocks' is less than zero. [unsignedLessThanZero] haproxy-2.6.1/src/cache.c:2196:44: style:inconclusive: Function 'parse_encoding_value' argument 1 names different: declaration 'value' definition 'encoding'. [funcArgNamesDifferent] haproxy-2.6.1/src/cache.c:128:44: note: Function 'parse_encoding_value' argument 1 names different: declaration 'value' definition 'encoding'. haproxy-2.6.1/src/cache.c:2196:44: note: Function 'parse_encoding_value' argument 1 names different: declaration 'value' definition 'encoding'. haproxy-2.6.1/src/cache.c:869:52: style: Parameter 'first' can be declared as pointer to const [constParameter] haproxy-2.6.1/src/cache.c:67:15: style: struct member 'cache_appctx::unused' is never used. [unusedStructMember] haproxy-2.6.1/src/cache.c:786:21: style: Variable 'expires_val' is assigned a value that is never used. [unreadVariable] haproxy-2.6.1/src/cache.c:788:13: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] haproxy-2.6.1/src/cache.c:1710:27: style: Variable 'if_modified_since' is assigned a value that is never used. [unreadVariable] haproxy-2.6.1/src/cache.c:2493:13: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] haproxy-2.6.1/src/cache.c:2496:11: style: Variable 'keep' is assigned a value that is never used. [unreadVariable] haproxy-2.6.1/src/backend.c:2263:2: style: Label 'done' is not used. [unusedLabel] haproxy-2.6.1/src/backend.c:1258:48: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] haproxy-2.6.1/src/backend.c:260:20: style: Variable 'hash' is assigned a value that is never used. [unreadVariable] haproxy-2.6.1/src/backend.c:563:20: style: Variable 'hash' is assigned a value that is never used. [unreadVariable] haproxy-2.6.1/src/cfgparse-ssl.c:1417:59: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] haproxy-2.6.1/src/cfgparse-ssl.c:1059:5: style: Variable 'p2' is assigned a value that is never used. [unreadVariable] haproxy-2.6.1/src/cfgparse-unix.c:77:10: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] haproxy-2.6.1/src/cfgparse-unix.c:109:9: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] haproxy-2.6.1/src/cfgparse.c:695:21: style: Local variable 'bind_conf' shadows outer variable [shadowVariable] haproxy-2.6.1/src/cfgparse.c:687:20: note: Shadowed declaration haproxy-2.6.1/src/cfgparse.c:695:21: note: Shadow variable haproxy-2.6.1/src/cfgparse.c:708:21: style: Local variable 'l' shadows outer variable [shadowVariable] haproxy-2.6.1/src/cfgparse.c:688:19: note: Shadowed declaration haproxy-2.6.1/src/cfgparse.c:708:21: note: Shadow variable haproxy-2.6.1/src/cfgparse.c:1312:15: style: Local variable 'err' shadows outer variable [shadowVariable] haproxy-2.6.1/src/cfgparse.c:1262:14: note: Shadowed declaration haproxy-2.6.1/src/cfgparse.c:1312:15: note: Shadow variable haproxy-2.6.1/src/cfgparse.c:1889:11: style: Local variable 'errmsg' shadows outer variable [shadowVariable] haproxy-2.6.1/src/cfgparse.c:1699:8: note: Shadowed declaration haproxy-2.6.1/src/cfgparse.c:1889:11: note: Shadow variable haproxy-2.6.1/src/cfgparse.c:1936:11: style: Local variable 'errmsg' shadows outer variable [shadowVariable] haproxy-2.6.1/src/cfgparse.c:1699:8: note: Shadowed declaration haproxy-2.6.1/src/cfgparse.c:1936:11: note: Shadow variable haproxy-2.6.1/src/cfgparse.c:2659:12: style: Local variable 'mask' shadows outer variable [shadowVariable] haproxy-2.6.1/src/cfgparse.c:2603:18: note: Shadowed declaration haproxy-2.6.1/src/cfgparse.c:2659:12: note: Shadow variable haproxy-2.6.1/src/cfgparse.c:3157:21: style: Local variable 'rule' shadows outer variable [shadowVariable] haproxy-2.6.1/src/cfgparse.c:2523:26: note: Shadowed declaration haproxy-2.6.1/src/cfgparse.c:3157:21: note: Shadow variable haproxy-2.6.1/src/cfgparse.c:4047:21: style: Local variable 't' shadows outer variable [shadowVariable] haproxy-2.6.1/src/cfgparse.c:2442:19: note: Shadowed declaration haproxy-2.6.1/src/cfgparse.c:4047:21: note: Shadow variable haproxy-2.6.1/src/cfgparse.c:4081:24: style: Local variable 'bind_conf' shadows outer variable [shadowVariable] haproxy-2.6.1/src/cfgparse.c:2446:20: note: Shadowed declaration haproxy-2.6.1/src/cfgparse.c:4081:24: note: Shadow variable haproxy-2.6.1/src/cfgparse.c:132:43: style: Parameter 'curproxy' can be declared as pointer to const [constParameter] haproxy-2.6.1/src/cfgparse.c:192:43: style: Parameter 'curproxy' can be declared as pointer to const [constParameter] haproxy-2.6.1/src/check.c:1921:12: style: Checking if unsigned expression 'delay' is less than zero. [unsignedLessThanZero] haproxy-2.6.1/src/check.c:2190:12: style: Checking if unsigned expression 'delay' is less than zero. [unsignedLessThanZero] haproxy-2.6.1/src/check.c:2235:12: style: Checking if unsigned expression 'delay' is less than zero. [unsignedLessThanZero] haproxy-2.6.1/src/check.c:2280:12: style: Checking if unsigned expression 'delay' is less than zero. [unsignedLessThanZero] haproxy-2.6.1/src/check.c:1188:6: style: Variable 'sc' is assigned a value that is never used. [unreadVariable] haproxy-2.6.1/src/cli.c:2100:7: style: Condition 'ns_nlen' is always false [knownConditionTrueFalse] haproxy-2.6.1/src/cli.c:2074:0: note: Assignment 'ns_nlen=0', assigned value is 0 haproxy-2.6.1/src/cli.c:2099:22: note: Assignment 'tmpbuf[curoff++]=ns_nlen', assigned value is 0 haproxy-2.6.1/src/cli.c:2099:20: note: tmpbuf[curoff++] is assigned 'ns_nlen' here. haproxy-2.6.1/src/cli.c:2100:7: note: Condition 'ns_nlen' is always false haproxy-2.6.1/src/connection.c:533:10: warning: Identical inner 'return' condition is always true. [identicalInnerCondition] haproxy-2.6.1/src/connection.c:532:13: note: outer condition: *sap haproxy-2.6.1/src/connection.c:533:10: note: identical inner condition: *sap haproxy-2.6.1/src/connection.c:1702:34: style: Condition 'done' is always false [knownConditionTrueFalse] haproxy-2.6.1/src/connection.c:1696:10: note: Assignment 'done=0', assigned value is 0 haproxy-2.6.1/src/connection.c:1702:34: note: Condition 'done' is always false haproxy-2.6.1/src/cpuset.c:23:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] haproxy-2.6.1/src/cpuset.c:38:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] haproxy-2.6.1/src/cpuset.c:71:1: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] haproxy-2.6.1/src/cpuset.c:95:1: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] haproxy-2.6.1/src/cpuset.c:120:1: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] haproxy-2.6.1/src/debug.c:441:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] haproxy-2.6.1/src/debug.c:736:51: portability: '(void*)s' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] haproxy-2.6.1/src/debug.c:736:64: portability: '(void*)s+sizeof(*s)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] haproxy-2.6.1/src/debug.c:743:68: portability: 'ptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] haproxy-2.6.1/src/debug.c:743:75: portability: 'ptr+size' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] haproxy-2.6.1/src/debug.c:130:9: style: Variable 'dump' is assigned a value that is never used. [unreadVariable] haproxy-2.6.1/src/dns.c:330:6: style: Condition 'ofs==~0' is always false [knownConditionTrueFalse] haproxy-2.6.1/src/dns.c:498:6: style: Condition 'ofs==~0' is always false [knownConditionTrueFalse] haproxy-2.6.1/src/dns.c:1136:6: style: Condition 'ofs==~0' is always false [knownConditionTrueFalse] haproxy-2.6.1/src/dns.c:396:72: style: Parameter 'sk' can be declared as pointer to const [constParameter] haproxy-2.6.1/src/dynbuf.c:120:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] haproxy-2.6.1/src/dynbuf.c:102:28: style: Parameter 'from' can be declared as pointer to const [constParameter] haproxy-2.6.1/src/eb32sctree.c:263:29: error: Uninitialized variable: node [legacyUninitvar] haproxy-2.6.1/src/eb32tree.c:73:27: error: Uninitialized variable: node [legacyUninitvar] haproxy-2.6.1/src/eb32tree.c:161:27: error: Uninitialized variable: node [legacyUninitvar] haproxy-2.6.1/src/eb64tree.c:73:27: error: Uninitialized variable: node [legacyUninitvar] haproxy-2.6.1/src/eb64tree.c:161:27: error: Uninitialized variable: node [legacyUninitvar] haproxy-2.6.1/src/ebpttree.c:63:27: error: Uninitialized variable: node [legacyUninitvar] haproxy-2.6.1/src/ebpttree.c:151:27: error: Uninitialized variable: node [legacyUninitvar] haproxy-2.6.1/src/errors.c:129:39: portability: '*area' is of type 'void', the behaviour of 'sizeof(void)' is not covered by the ISO C standard. [sizeofDereferencedVoidPointer] haproxy-2.6.1/src/ev_poll.c:238:45: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] haproxy-2.6.1/src/ev_poll.c:274:12: style: Variable 'fail_swevt' is not assigned a value. [unassignedVariable] haproxy-2.6.1/src/ev_poll.c:274:24: style: Variable 'fail_srevt' is not assigned a value. [unassignedVariable] haproxy-2.6.1/src/fcgi-app.c:904:15: style: Local variable 'err' shadows outer variable [shadowVariable] haproxy-2.6.1/src/fcgi-app.c:779:14: note: Shadowed declaration haproxy-2.6.1/src/fcgi-app.c:904:15: note: Shadow variable haproxy-2.6.1/src/fcgi.c:280:9: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] haproxy-2.6.1/src/fcgi.c:280:11: style: Variable 'o' is assigned a value that is never used. [unreadVariable] haproxy-2.6.1/src/fd.c:397:31: style: Parameter 'expected_owner' can be declared as pointer to const [constParameter] haproxy-2.6.1/src/filters.c:851:3: error: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry is a macro then please configure it. [unknownMacro] haproxy-2.6.1/src/flt_http_comp.c:234:22: style: Local variable 'last' shadows outer variable [shadowVariable] haproxy-2.6.1/src/flt_http_comp.c:178:41: note: Shadowed declaration haproxy-2.6.1/src/flt_http_comp.c:234:22: note: Shadow variable haproxy-2.6.1/src/flt_spoe.c:1382:2: error: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry is a macro then please configure it. [unknownMacro] haproxy-2.6.1/src/flt_trace.c:70:48: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] haproxy-2.6.1/src/h1.c:57:8: warning: Invalid test for overflow 'cl+cstate' is reassigned a value before the old one has been used. [redundantAssignment] haproxy-2.6.1/src/h1_htx.c:540:14: note: h1m->state is assigned haproxy-2.6.1/src/h1_htx.c:550:14: note: h1m->state is overwritten haproxy-2.6.1/src/h1_htx.c:215:3: style: Label 'end' is not used. [unusedLabel] haproxy-2.6.1/src/h1_htx.c:310:3: style: Label 'end' is not used. [unusedLabel] haproxy-2.6.1/src/h1_htx.c:474:3: style: Label 'end' is not used. [unusedLabel] haproxy-2.6.1/src/h1_htx.c:1031:12: style: Variable 'tmp' is not assigned a value. [unassignedVariable] haproxy-2.6.1/src/h2.c:249:8: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] haproxy-2.6.1/src/h2.c:253:3: note: Found duplicate branches for 'if' and 'else'. haproxy-2.6.1/src/h2.c:249:8: note: Found duplicate branches for 'if' and 'else'. haproxy-2.6.1/src/h2.c:434:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] haproxy-2.6.1/src/h2.c:438:5: note: Found duplicate branches for 'if' and 'else'. haproxy-2.6.1/src/h2.c:434:5: note: Found duplicate branches for 'if' and 'else'. haproxy-2.6.1/src/h2.c:753:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] haproxy-2.6.1/src/h2.c:757:5: note: Found duplicate branches for 'if' and 'else'. haproxy-2.6.1/src/h2.c:753:5: note: Found duplicate branches for 'if' and 'else'. haproxy-2.6.1/src/haproxy.c:798:2: error: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry is a macro then please configure it. [unknownMacro] haproxy-2.6.1/src/hlua.c:23:0: error: #error "Requires Lua 5.3 or later." [preprocessorErrorDirective] haproxy-2.6.1/src/hpack-huff.c:1525:19: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 1439. [shiftTooManyBitsSigned] haproxy-2.6.1/src/hpack-huff.c:1439:15: note: Assuming that condition 'bleft>0' is not redundant haproxy-2.6.1/src/hpack-huff.c:1525:19: note: Shift haproxy-2.6.1/src/hpack-huff.c:1525:15: warning: Either the condition 'bleft>7' is redundant or there is signed integer overflow for expression '-(1<<(32-bleft))'. [integerOverflowCond] haproxy-2.6.1/src/hpack-huff.c:1522:13: note: Assuming that condition 'bleft>7' is not redundant haproxy-2.6.1/src/hpack-huff.c:1525:15: note: Integer overflow haproxy-2.6.1/src/hpack-huff.c:1525:19: warning: Either the condition 'bleft>0' is redundant or there is signed integer overflow for expression '1<<(32-bleft)'. [integerOverflowCond] haproxy-2.6.1/src/hpack-huff.c:1439:15: note: Assuming that condition 'bleft>0' is not redundant haproxy-2.6.1/src/hpack-huff.c:1525:19: note: Integer overflow haproxy-2.6.1/src/hpack-huff.c:37:11: style: struct member 'huff::c' is never used. [unusedStructMember] haproxy-2.6.1/src/http.c:586:3: style: Label 'authority' is not used. [unusedLabel] haproxy-2.6.1/src/http_act.c:1374:16: style: Local variable 'flags' shadows outer argument [shadowArgument] haproxy-2.6.1/src/http_act.c:1349:56: note: Shadowed declaration haproxy-2.6.1/src/http_act.c:1374:16: note: Shadow variable haproxy-2.6.1/src/http_act.c:898:10: style: Variable 'len' is assigned a value that is never used. [unreadVariable] haproxy-2.6.1/src/http_ana.c:1164:2: style: Label 'waiting' is not used. [unusedLabel] haproxy-2.6.1/src/http_ana.c:5065:37: style: Parameter 'start' can be declared as pointer to const [constParameter] haproxy-2.6.1/src/http_ana.c:3276:24: style: Variable 'stripped_after' is assigned a value that is never used. [unreadVariable] haproxy-2.6.1/src/http_ana.c:3491:15: style: Variable 'att_beg' is assigned a value that is never used. [unreadVariable] haproxy-2.6.1/src/http_ana.c:3493:15: style: Variable 'att_end' is assigned a value that is never used. [unreadVariable] haproxy-2.6.1/src/http_ana.c:3679:24: style: Variable 'stripped_after' is assigned a value that is never used. [unreadVariable] haproxy-2.6.1/src/http_client.c:705:23: style: Local variable 'ret' shadows outer variable [shadowVariable] haproxy-2.6.1/src/http_client.c:645:6: note: Shadowed declaration haproxy-2.6.1/src/http_client.c:705:23: note: Shadow variable haproxy-2.6.1/src/http_client.c:789:16: style: Local variable 'sz' shadows outer variable [shadowVariable] haproxy-2.6.1/src/http_client.c:644:11: note: Shadowed declaration haproxy-2.6.1/src/http_client.c:789:16: note: Shadow variable haproxy-2.6.1/src/http_conv.c:325:11: style: Variable 'enc_type' is reassigned a value before the old one has been used. [redundantAssignment] haproxy-2.6.1/src/http_conv.c:324:11: note: enc_type is assigned haproxy-2.6.1/src/http_conv.c:325:11: note: enc_type is overwritten haproxy-2.6.1/src/http_htx.c:1079:1: style: Label 'end' is not used. [unusedLabel] haproxy-2.6.1/src/http_htx.c:2144:3: style: Label 'out' is not used. [unusedLabel] haproxy-2.6.1/src/http_htx.c:302:21: style: Local variable 'type' shadows outer variable [shadowVariable] haproxy-2.6.1/src/http_htx.c:288:20: note: Shadowed declaration haproxy-2.6.1/src/http_htx.c:302:21: note: Shadow variable haproxy-2.6.1/src/http_htx.c:2061:7: style: Local variable 'rc' shadows outer variable [shadowVariable] haproxy-2.6.1/src/http_htx.c:2022:6: note: Shadowed declaration haproxy-2.6.1/src/http_htx.c:2061:7: note: Shadow variable haproxy-2.6.1/src/htx.c:769:3: style: Label 'end' is not used. [unusedLabel] haproxy-2.6.1/src/htx.c:916:3: style: Label 'append_data' is not used. [unusedLabel] haproxy-2.6.1/src/htx.c:982:3: style: Label 'append_data' is not used. [unusedLabel] haproxy-2.6.1/src/htx.c:53:30: portability: '(void*)tmp->blocks' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] haproxy-2.6.1/src/htx.c:556:12: portability: 'ptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] haproxy-2.6.1/src/htx.c:623:7: portability: 'ptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] haproxy-2.6.1/src/htx.c:627:7: portability: 'ptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] haproxy-2.6.1/src/htx.c:631:7: portability: 'ptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] haproxy-2.6.1/src/htx.c:810:13: portability: 'ptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] haproxy-2.6.1/src/htx.c:985:13: portability: 'ptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] haproxy-2.6.1/src/htx.c:886:51: error: Uninitialized variable: blk [legacyUninitvar] haproxy-2.6.1/src/lb_chash.c:394:70: style: Parameter 'srvtoavoid' can be declared as pointer to const [constParameter] haproxy-2.6.1/src/lb_fas.c:295:68: style: Parameter 'srvtoavoid' can be declared as pointer to const [constParameter] haproxy-2.6.1/src/lb_fwlc.c:322:69: style: Parameter 'srvtoavoid' can be declared as pointer to const [constParameter] haproxy-2.6.1/src/lb_map.c:214:67: style: Parameter 'srvtoavoid' can be declared as pointer to const [constParameter] haproxy-2.6.1/src/listener.c:1474:2: error: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry is a macro then please configure it. [unknownMacro] haproxy-2.6.1/src/log.c:3233:13: style: Condition '*size>2' is always true [knownConditionTrueFalse] haproxy-2.6.1/src/log.c:3225:13: note: Assuming that condition '*size>2' is not redundant haproxy-2.6.1/src/log.c:3233:13: note: Condition '*size>2' is always true haproxy-2.6.1/src/log.c:3059:10: style: Variable '*tmplog' is reassigned a value before the old one has been used. [redundantAssignment] haproxy-2.6.1/src/log.c:2556:13: note: *tmplog is assigned haproxy-2.6.1/src/log.c:3059:10: note: *tmplog is overwritten haproxy-2.6.1/src/log.c:372:46: style: Parameter 'end' can be declared as pointer to const [constParameter] haproxy-2.6.1/src/log.c:1324:8: style: struct member 'Anonymous0::timestamp_buffer' is never used. [unusedStructMember] haproxy-2.6.1/src/log.c:1325:10: style: struct member 'Anonymous0::cur_legacy_time' is never used. [unusedStructMember] haproxy-2.6.1/src/log.c:1326:8: style: struct member 'Anonymous0::priority_buffer' is never used. [unusedStructMember] haproxy-2.6.1/src/log.c:252:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] haproxy-2.6.1/src/log.c:3384:7: style: Variable 'buf' is assigned a value that is never used. [unreadVariable] haproxy-2.6.1/src/log.c:3505:14: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] haproxy-2.6.1/src/lru.c:37:13: style: Parameter 'domain' can be declared as pointer to const [constParameter] haproxy-2.6.1/src/lru.c:66:10: style: Parameter 'domain' can be declared as pointer to const [constParameter] haproxy-2.6.1/src/map.c:270:73: style: Parameter 'end' can be declared as pointer to const [constParameter] haproxy-2.6.1/src/map.c:315:83: style: Parameter 'end' can be declared as pointer to const [constParameter] haproxy-2.6.1/admin/halog/halog.c:684:14: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] haproxy-2.6.1/admin/halog/halog.c:1030:38: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] haproxy-2.6.1/admin/halog/halog.c:1047:53: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] haproxy-2.6.1/admin/halog/halog.c:1050:75: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] haproxy-2.6.1/admin/halog/halog.c:1094:83: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] haproxy-2.6.1/admin/halog/halog.c:575:9: style: Condition 'c==(unsigned char)(0-'0')' is always false [knownConditionTrueFalse] haproxy-2.6.1/admin/halog/halog.c:572:9: note: Assuming that condition 'c>9' is not redundant haproxy-2.6.1/admin/halog/halog.c:575:9: note: Condition 'c==(unsigned char)(0-'0')' is always false haproxy-2.6.1/admin/halog/halog.c:642:9: style: Condition 'c==(unsigned char)(0-'0')' is always false [knownConditionTrueFalse] haproxy-2.6.1/admin/halog/halog.c:639:9: note: Assuming that condition 'c>9' is not redundant haproxy-2.6.1/admin/halog/halog.c:642:9: note: Condition 'c==(unsigned char)(0-'0')' is always false haproxy-2.6.1/admin/halog/halog.c:1164:22: style: Local variable 'n' shadows outer variable [shadowVariable] haproxy-2.6.1/admin/halog/halog.c:713:20: note: Shadowed declaration haproxy-2.6.1/admin/halog/halog.c:1164:22: note: Shadow variable haproxy-2.6.1/admin/halog/halog.c:1170:9: style: Local variable 'val' shadows outer variable [shadowVariable] haproxy-2.6.1/admin/halog/halog.c:715:6: note: Shadowed declaration haproxy-2.6.1/admin/halog/halog.c:1170:9: note: Shadow variable haproxy-2.6.1/admin/halog/halog.c:1196:21: style: Local variable 'n' shadows outer variable [shadowVariable] haproxy-2.6.1/admin/halog/halog.c:713:20: note: Shadowed declaration haproxy-2.6.1/admin/halog/halog.c:1196:21: note: Shadow variable haproxy-2.6.1/src/mux_fcgi.c:4118:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] haproxy-2.6.1/src/mux_fcgi.c:3775:35: style: Redundant condition: If 'EXPR == 5', the comparison 'EXPR != 3' is always true. [redundantCondition] haproxy-2.6.1/src/mux_fcgi.c:3778:19: style: Condition 'fstrm->state!=FCGI_SS_ERROR' is always true [knownConditionTrueFalse] haproxy-2.6.1/src/mux_fcgi.c:3775:19: note: Assuming that condition 'fstrm->state!=FCGI_SS_HLOC' is not redundant haproxy-2.6.1/src/mux_fcgi.c:3778:19: note: Condition 'fstrm->state!=FCGI_SS_ERROR' is always true haproxy-2.6.1/src/mux_fcgi.c:1572:4: style: Label 'realign_again' is not used. [unusedLabel] haproxy-2.6.1/src/mux_fcgi.c:1771:4: style: Label 'realign_again' is not used. [unusedLabel] haproxy-2.6.1/src/mux_fcgi.c:1838:4: style: Label 'realign_again' is not used. [unusedLabel] haproxy-2.6.1/src/mux_fcgi.c:2264:21: style: Local variable 'type' shadows outer variable [shadowVariable] haproxy-2.6.1/src/mux_fcgi.c:2161:20: note: Shadowed declaration haproxy-2.6.1/src/mux_fcgi.c:2264:21: note: Shadow variable haproxy-2.6.1/src/mux_fcgi.c:2265:12: style: Local variable 'size' shadows outer variable [shadowVariable] haproxy-2.6.1/src/mux_fcgi.c:2162:11: note: Shadowed declaration haproxy-2.6.1/src/mux_fcgi.c:2265:12: note: Shadow variable haproxy-2.6.1/src/mux_fcgi.c:712:23: style: Parameter 'input' can be declared as pointer to const [constParameter] haproxy-2.6.1/src/mux_fcgi.c:989:25: portability: 'record' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] haproxy-2.6.1/src/mux_fcgi.c:998:25: portability: 'record' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] haproxy-2.6.1/src/mux_fcgi.c:2972:15: error: Uninitialized variable: fstrm->flags [uninitvar] haproxy-2.6.1/src/mux_fcgi.c:2969:39: note: Assuming condition is false haproxy-2.6.1/src/mux_fcgi.c:2972:15: note: Uninitialized variable: fstrm->flags haproxy-2.6.1/src/mux_fcgi.c:4118:9: style: Variable 'count' is assigned a value that is never used. [unreadVariable] haproxy-2.6.1/src/mux_h1.c:935:21: style: Parameter 'input' can be declared as pointer to const [constParameter] haproxy-2.6.1/src/mux_quic.c:173:2: style: Label 'out' is not used. [unusedLabel] haproxy-2.6.1/src/mux_quic.c:885:2: style: Label 'out' is not used. [unusedLabel] haproxy-2.6.1/src/mworker.c:121:11: error: Syntax Error: AST broken, 'if' doesn't have two operands. [internalAstError] haproxy-2.6.1/src/mux_quic.c:401:14: style: Local variable 'id' shadows outer argument [shadowArgument] haproxy-2.6.1/src/mux_quic.c:344:51: note: Shadowed declaration haproxy-2.6.1/src/mux_quic.c:401:14: note: Shadow variable haproxy-2.6.1/src/mux_quic.c:402:46: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] haproxy-2.6.1/src/mworker-prog.c:264:20: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] haproxy-2.6.1/src/mworker-prog.c:289:21: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] haproxy-2.6.1/src/mworker-prog.c:92:19: style: Condition 'ret==0' is always true [knownConditionTrueFalse] haproxy-2.6.1/src/mworker-prog.c:85:12: note: Assuming that condition 'ret<0' is not redundant haproxy-2.6.1/src/mworker-prog.c:88:19: note: Assuming that condition 'ret>0' is not redundant haproxy-2.6.1/src/mworker-prog.c:92:19: note: Condition 'ret==0' is always true haproxy-2.6.1/src/ncbuf.c:263:19: style: Local variable 'off_blk' shadows outer variable [shadowVariable] haproxy-2.6.1/src/ncbuf.c:237:11: note: Shadowed declaration haproxy-2.6.1/src/ncbuf.c:263:19: note: Shadow variable haproxy-2.6.1/src/ncbuf.c:170:4: error: Uninitialized variable: blk [legacyUninitvar] haproxy-2.6.1/src/mux_h2.c:6665:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] haproxy-2.6.1/src/pattern.c:1618:2: error: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry is a macro then please configure it. [unknownMacro] haproxy-2.6.1/src/payload.c:179:17: style: Local variable 'ext_len' shadows outer variable [shadowVariable] haproxy-2.6.1/src/payload.c:86:14: note: Shadowed declaration haproxy-2.6.1/src/payload.c:179:17: note: Shadow variable haproxy-2.6.1/src/payload.c:313:17: style: Local variable 'ext_len' shadows outer variable [shadowVariable] haproxy-2.6.1/src/payload.c:222:14: note: Shadowed declaration haproxy-2.6.1/src/payload.c:313:17: note: Shadow variable haproxy-2.6.1/src/peers.c:613:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] haproxy-2.6.1/src/pool.c:56:22: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] haproxy-2.6.1/src/peers.c:2879:16: style: Variable 'prev_state' is reassigned a value before the old one has been used. 'break;' missing? [redundantAssignInSwitch] haproxy-2.6.1/src/peers.c:2874:16: note: $symbol is assigned haproxy-2.6.1/src/peers.c:2879:16: note: $symbol is overwritten haproxy-2.6.1/src/peers.c:1615:2: style: Label 'out' is not used. [unusedLabel] haproxy-2.6.1/src/peers.c:3917:2: style: Label 'end' is not used. [unusedLabel] haproxy-2.6.1/src/peers.c:1562:6: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] haproxy-2.6.1/src/proto_sockpair.c:106:55: style:inconclusive: Function 'sockpair_enable_listener' argument 1 names different: declaration 'listener' definition 'l'. [funcArgNamesDifferent] haproxy-2.6.1/src/proto_sockpair.c:45:55: note: Function 'sockpair_enable_listener' argument 1 names different: declaration 'listener' definition 'l'. haproxy-2.6.1/src/proto_sockpair.c:106:55: note: Function 'sockpair_enable_listener' argument 1 names different: declaration 'listener' definition 'l'. haproxy-2.6.1/src/proto_sockpair.c:114:56: style:inconclusive: Function 'sockpair_disable_listener' argument 1 names different: declaration 'listener' definition 'l'. [funcArgNamesDifferent] haproxy-2.6.1/src/proto_sockpair.c:46:56: note: Function 'sockpair_disable_listener' argument 1 names different: declaration 'listener' definition 'l'. haproxy-2.6.1/src/proto_sockpair.c:114:56: note: Function 'sockpair_disable_listener' argument 1 names different: declaration 'listener' definition 'l'. haproxy-2.6.1/src/proto_sockpair.c:223:7: style: Unused variable: buf [unusedVariable] haproxy-2.6.1/src/pool.c:285:54: warning: Either the condition '!pool' is redundant or there is possible null pointer dereference: pool. [nullPointerRedundantCheck] haproxy-2.6.1/src/pool.c:282:6: note: Assuming that condition '!pool' is not redundant haproxy-2.6.1/src/pool.c:285:54: note: Null pointer dereference haproxy-2.6.1/src/proto_sockpair.c:380:7: style: Unused variable: buf [unusedVariable] haproxy-2.6.1/src/proto_quic.c:679:51: style:inconclusive: Function 'quic_enable_listener' argument 1 names different: declaration 'listener' definition 'l'. [funcArgNamesDifferent] haproxy-2.6.1/src/proto_quic.c:60:51: note: Function 'quic_enable_listener' argument 1 names different: declaration 'listener' definition 'l'. haproxy-2.6.1/src/proto_quic.c:679:51: note: Function 'quic_enable_listener' argument 1 names different: declaration 'listener' definition 'l'. haproxy-2.6.1/src/proto_quic.c:692:52: style:inconclusive: Function 'quic_disable_listener' argument 1 names different: declaration 'listener' definition 'l'. [funcArgNamesDifferent] haproxy-2.6.1/src/proto_quic.c:61:52: note: Function 'quic_disable_listener' argument 1 names different: declaration 'listener' definition 'l'. haproxy-2.6.1/src/proto_quic.c:692:52: note: Function 'quic_disable_listener' argument 1 names different: declaration 'listener' definition 'l'. haproxy-2.6.1/src/proto_quic.c:361:12: style: Local variable 'flags' shadows outer argument [shadowArgument] haproxy-2.6.1/src/proto_quic.c:262:54: note: Shadowed declaration haproxy-2.6.1/src/proto_quic.c:361:12: note: Shadow variable haproxy-2.6.1/src/proto_quic.c:547:17: style: Local variable 'qr' shadows outer variable [shadowVariable] haproxy-2.6.1/src/proto_quic.c:537:16: note: Shadowed declaration haproxy-2.6.1/src/proto_quic.c:547:17: note: Shadow variable haproxy-2.6.1/src/proto_quic.c:597:17: style: Local variable 'rxbuf' shadows outer variable [shadowVariable] haproxy-2.6.1/src/proto_quic.c:588:16: note: Shadowed declaration haproxy-2.6.1/src/proto_quic.c:597:17: note: Shadow variable haproxy-2.6.1/src/proto_udp.c:160:50: style:inconclusive: Function 'udp_enable_listener' argument 1 names different: declaration 'listener' definition 'l'. [funcArgNamesDifferent] haproxy-2.6.1/src/proto_udp.c:44:50: note: Function 'udp_enable_listener' argument 1 names different: declaration 'listener' definition 'l'. haproxy-2.6.1/src/proto_udp.c:160:50: note: Function 'udp_enable_listener' argument 1 names different: declaration 'listener' definition 'l'. haproxy-2.6.1/src/proto_udp.c:168:51: style:inconclusive: Function 'udp_disable_listener' argument 1 names different: declaration 'listener' definition 'l'. [funcArgNamesDifferent] haproxy-2.6.1/src/proto_udp.c:45:51: note: Function 'udp_disable_listener' argument 1 names different: declaration 'listener' definition 'l'. haproxy-2.6.1/src/proto_udp.c:168:51: note: Function 'udp_disable_listener' argument 1 names different: declaration 'listener' definition 'l'. haproxy-2.6.1/src/proto_uxdg.c:114:51: style:inconclusive: Function 'uxdg_enable_listener' argument 1 names different: declaration 'listener' definition 'l'. [funcArgNamesDifferent] haproxy-2.6.1/src/proto_uxdg.c:34:51: note: Function 'uxdg_enable_listener' argument 1 names different: declaration 'listener' definition 'l'. haproxy-2.6.1/src/proto_uxdg.c:114:51: note: Function 'uxdg_enable_listener' argument 1 names different: declaration 'listener' definition 'l'. haproxy-2.6.1/src/proto_uxdg.c:122:52: style:inconclusive: Function 'uxdg_disable_listener' argument 1 names different: declaration 'listener' definition 'l'. [funcArgNamesDifferent] haproxy-2.6.1/src/proto_uxdg.c:35:52: note: Function 'uxdg_disable_listener' argument 1 names different: declaration 'listener' definition 'l'. haproxy-2.6.1/src/proto_uxdg.c:122:52: note: Function 'uxdg_disable_listener' argument 1 names different: declaration 'listener' definition 'l'. haproxy-2.6.1/src/protocol.c:144:3: error: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry is a macro then please configure it. [unknownMacro] haproxy-2.6.1/src/proto_tcp.c:749:50: style:inconclusive: Function 'tcp_enable_listener' argument 1 names different: declaration 'listener' definition 'l'. [funcArgNamesDifferent] haproxy-2.6.1/src/proto_tcp.c:49:50: note: Function 'tcp_enable_listener' argument 1 names different: declaration 'listener' definition 'l'. haproxy-2.6.1/src/proto_tcp.c:749:50: note: Function 'tcp_enable_listener' argument 1 names different: declaration 'listener' definition 'l'. haproxy-2.6.1/src/proto_tcp.c:757:51: style:inconclusive: Function 'tcp_disable_listener' argument 1 names different: declaration 'listener' definition 'l'. [funcArgNamesDifferent] haproxy-2.6.1/src/proto_tcp.c:50:51: note: Function 'tcp_disable_listener' argument 1 names different: declaration 'listener' definition 'l'. haproxy-2.6.1/src/proto_tcp.c:757:51: note: Function 'tcp_disable_listener' argument 1 names different: declaration 'listener' definition 'l'. haproxy-2.6.1/src/proto_tcp.c:388:12: style: Local variable 'flags' shadows outer argument [shadowArgument] haproxy-2.6.1/src/proto_tcp.c:260:53: note: Shadowed declaration haproxy-2.6.1/src/proto_tcp.c:388:12: note: Shadow variable haproxy-2.6.1/src/proto_uxst.c:152:51: style:inconclusive: Function 'uxst_enable_listener' argument 1 names different: declaration 'listener' definition 'l'. [funcArgNamesDifferent] haproxy-2.6.1/src/proto_uxst.c:44:51: note: Function 'uxst_enable_listener' argument 1 names different: declaration 'listener' definition 'l'. haproxy-2.6.1/src/proto_uxst.c:152:51: note: Function 'uxst_enable_listener' argument 1 names different: declaration 'listener' definition 'l'. haproxy-2.6.1/src/proto_uxst.c:160:52: style:inconclusive: Function 'uxst_disable_listener' argument 1 names different: declaration 'listener' definition 'l'. [funcArgNamesDifferent] haproxy-2.6.1/src/proto_uxst.c:45:52: note: Function 'uxst_disable_listener' argument 1 names different: declaration 'listener' definition 'l'. haproxy-2.6.1/src/proto_uxst.c:160:52: note: Function 'uxst_disable_listener' argument 1 names different: declaration 'listener' definition 'l'. haproxy-2.6.1/src/proxy.c:319:3: error: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry is a macro then please configure it. [unknownMacro] haproxy-2.6.1/src/mux_h2.c:2500:18: style: Checking if unsigned expression 'h2c->rcvd_c' is less than zero. [unsignedLessThanZero] haproxy-2.6.1/src/mux_h2.c:2531:18: style: Checking if unsigned expression 'h2c->rcvd_s' is less than zero. [unsignedLessThanZero] haproxy-2.6.1/src/mux_h2.c:6342:2: style: Label 'done' is not used. [unusedLabel] haproxy-2.6.1/src/mux_h2.c:1005:21: style: Parameter 'input' can be declared as pointer to const [constParameter] haproxy-2.6.1/src/mux_h2.c:6665:9: style: Variable 'count' is assigned a value that is never used. [unreadVariable] haproxy-2.6.1/src/qpack-tbl.c:231:27: portability: '(void*)alt_dht' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] haproxy-2.6.1/src/qpack-tbl.c:232:23: portability: '(void*)dht' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] haproxy-2.6.1/src/qpack-tbl.c:412:21: portability: '(void*)dht' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] haproxy-2.6.1/src/qpack-tbl.c:413:21: portability: '(void*)dht' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] haproxy-2.6.1/src/resolvers.c:708:5: error: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry_safe is a macro then please configure it. [unknownMacro] haproxy-2.6.1/src/ring.c:208:2: error: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry is a macro then please configure it. [unknownMacro] haproxy-2.6.1/src/quic_sock.c:91:2: style: Label 'out' is not used. [unusedLabel] haproxy-2.6.1/src/quic_sock.c:311:22: style: Local variable 'dgram' shadows outer variable [shadowVariable] haproxy-2.6.1/src/quic_sock.c:276:21: note: Shadowed declaration haproxy-2.6.1/src/quic_sock.c:311:22: note: Shadow variable haproxy-2.6.1/src/quic_sock.c:226:63: style: Parameter 'saddr' can be declared as pointer to const [constParameter] haproxy-2.6.1/src/sample.c:1093:7: style: Local variable 'err_arg' shadows outer variable [shadowVariable] haproxy-2.6.1/src/sample.c:1014:6: note: Shadowed declaration haproxy-2.6.1/src/sample.c:1093:7: note: Shadow variable haproxy-2.6.1/src/shctx.c:238:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] haproxy-2.6.1/src/shctx.c:287:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] haproxy-2.6.1/src/shctx.c:339:22: portability: '(void*)shctx' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] haproxy-2.6.1/src/shctx.c:339:54: portability: '(void*)shctx+sizeof(struct shared_context)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] haproxy-2.6.1/src/shctx.c:347:7: portability: 'cur' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] haproxy-2.6.1/src/signal.c:242:46: style: Parameter 'target' can be declared as pointer to const [constParameter] haproxy-2.6.1/src/slz.c:335:7: portability: 'buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] haproxy-2.6.1/src/slz.c:478:32: portability: '(void*)refs' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] haproxy-2.6.1/src/slz.c:697:8: style: Variable 'plit' is assigned a value that is never used. [unreadVariable] haproxy-2.6.1/src/sock_inet.c:415:10: style: Unused variable: val [unusedVariable] haproxy-2.6.1/src/sock_inet.c:416:12: style: Unused variable: len [unusedVariable] haproxy-2.6.1/src/sock_unix.c:303:2: style: Label 'err_unlink_back' is not used. [unusedLabel] haproxy-2.6.1/src/server.c:5860:52: style: Condition '(volatile void*)srv->idle_node.node.leaf_p==NULL' is always true [knownConditionTrueFalse] haproxy-2.6.1/src/server.c:5858:51: note: Assuming that condition '(volatile void*)srv->idle_node.node.leaf_p==NULL' is not redundant haproxy-2.6.1/src/server.c:5860:52: note: Condition '(volatile void*)srv->idle_node.node.leaf_p==NULL' is always true haproxy-2.6.1/src/sink.c:363:6: style: Condition 'ofs==~0' is always false [knownConditionTrueFalse] haproxy-2.6.1/src/sink.c:503:6: style: Condition 'ofs==~0' is always false [knownConditionTrueFalse] haproxy-2.6.1/src/server.c:3333:8: style: Redundant initialization for 'sign'. The initialized value is overwritten before it is read. [redundantInitialization] haproxy-2.6.1/src/server.c:3321:13: note: sign is initialized haproxy-2.6.1/src/server.c:3333:8: note: sign is overwritten haproxy-2.6.1/src/server.c:1290:4: style:inconclusive: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] haproxy-2.6.1/src/server.c:2641:62: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] haproxy-2.6.1/src/server.c:5759:48: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] haproxy-2.6.1/src/server.c:605:48: style: Parameter 'cur_arg' can be declared as pointer to const [constParameter] haproxy-2.6.1/src/server.c:613:49: style: Parameter 'cur_arg' can be declared as pointer to const [constParameter] haproxy-2.6.1/src/server.c:621:48: style: Parameter 'cur_arg' can be declared as pointer to const [constParameter] haproxy-2.6.1/src/server.c:852:57: style: Parameter 'cur_arg' can be declared as pointer to const [constParameter] haproxy-2.6.1/src/server.c:996:50: style: Parameter 'cur_arg' can be declared as pointer to const [constParameter] haproxy-2.6.1/src/server.c:1381:47: style: Parameter 'cur_arg' can be declared as pointer to const [constParameter] haproxy-2.6.1/src/server.c:3747:83: style: Parameter 'ip_family' can be declared as pointer to const [constParameter] haproxy-2.6.1/src/server.c:5496:11: style: Variable 'xferred' is assigned a value that is never used. [unreadVariable] haproxy-2.6.1/src/ssl_crtlist.c:819:8: style: Condition 'space' is always false [knownConditionTrueFalse] haproxy-2.6.1/src/ssl_crtlist.c:762:14: note: Assignment 'space=0', assigned value is 0 haproxy-2.6.1/src/ssl_crtlist.c:764:11: note: Assuming condition is false haproxy-2.6.1/src/ssl_crtlist.c:819:8: note: Condition 'space' is always false haproxy-2.6.1/src/ssl_crtlist.c:823:8: style: Condition 'space' is always false [knownConditionTrueFalse] haproxy-2.6.1/src/ssl_crtlist.c:762:14: note: Assignment 'space=0', assigned value is 0 haproxy-2.6.1/src/ssl_crtlist.c:764:11: note: Assuming condition is false haproxy-2.6.1/src/ssl_crtlist.c:823:8: note: Condition 'space' is always false haproxy-2.6.1/src/ssl_crtlist.c:827:8: style: Condition 'space' is always false [knownConditionTrueFalse] haproxy-2.6.1/src/ssl_crtlist.c:762:14: note: Assignment 'space=0', assigned value is 0 haproxy-2.6.1/src/ssl_crtlist.c:764:11: note: Assuming condition is false haproxy-2.6.1/src/ssl_crtlist.c:827:8: note: Condition 'space' is always false haproxy-2.6.1/src/ssl_crtlist.c:581:18: style: Local variable 'buf' shadows outer variable [shadowVariable] haproxy-2.6.1/src/ssl_crtlist.c:466:14: note: Shadowed declaration haproxy-2.6.1/src/ssl_crtlist.c:581:18: note: Shadow variable haproxy-2.6.1/src/ssl_crtlist.c:640:9: style: Variable 'found' is assigned a value that is never used. [unreadVariable] haproxy-2.6.1/src/ssl_crtlist.c:887:8: style: Variable 'space' is assigned a value that is never used. [unreadVariable] haproxy-2.6.1/src/ssl_sample.c:507:63: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] haproxy-2.6.1/src/ssl_utils.c:393:1: style: Label 'end' is not used. [unusedLabel] haproxy-2.6.1/src/ssl_ckch.c:447:15: style: Local variable 'st' shadows outer variable [shadowVariable] haproxy-2.6.1/src/ssl_ckch.c:345:14: note: Shadowed declaration haproxy-2.6.1/src/ssl_ckch.c:447:15: note: Shadow variable haproxy-2.6.1/src/ssl_ckch.c:471:16: style: Local variable 'st' shadows outer variable [shadowVariable] haproxy-2.6.1/src/ssl_ckch.c:345:14: note: Shadowed declaration haproxy-2.6.1/src/ssl_ckch.c:471:16: note: Shadow variable haproxy-2.6.1/src/ssl_ckch.c:1182:25: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] haproxy-2.6.1/src/ssl_ckch.c:2970:24: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] haproxy-2.6.1/src/ssl_ckch.c:3114:24: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] haproxy-2.6.1/src/ssl_ckch.c:3650:24: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] haproxy-2.6.1/src/ssl_ckch.c:128:20: style: struct member 'commit_cacrlfile_ctx::next_ckchi' is never used. [unusedStructMember] haproxy-2.6.1/src/ssl_sock.c:1904:43: warning: Invalid test for overflow 'msg+rec_leni'; signed integer overflow is undefined behavior. Some mainstream compilers removes handling of overflows when optimising the code and change the code to 'j<0'. [invalidTestForOverflow] haproxy-2.6.1/src/tools.c:2337:14: warning: Invalid test for overflow 'i+ji'; signed integer overflow is undefined behavior. Some mainstream compilers removes handling of overflows when optimising the code and change the code to 'j<0'. [invalidTestForOverflow] haproxy-2.6.1/src/tools.c:413:8: style: Condition 'isize' is not redundant haproxy-2.6.1/src/tools.c:413:8: note: Condition 'i9' is not redundant haproxy-2.6.1/admin/halog/halog.c:575:9: note: Condition 'c==(unsigned char)(0-'0')' is always false head haproxy-2.6.1/admin/halog/halog.c:642:9: style: Condition 'c==(unsigned char)(0-'0')' is always false [knownConditionTrueFalse] haproxy-2.6.1/admin/halog/halog.c:639:9: note: Assuming that condition 'c>9' is not redundant haproxy-2.6.1/admin/halog/halog.c:642:9: note: Condition 'c==(unsigned char)(0-'0')' is always false head haproxy-2.6.1/src/cache.c:869:52: style: Parameter 'first' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/cache.c:869:52: style: Parameter 'first' can be declared with const [constParameter] head haproxy-2.6.1/src/calltrace.c:162:23: style: Variable 'hextab' can be declared as const array [constVariable] 2.8 haproxy-2.6.1/src/calltrace.c:162:23: style: Variable 'hextab' can be declared with const [constVariable] head haproxy-2.6.1/src/cfgparse.c:132:43: style: Parameter 'curproxy' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/cfgparse.c:132:43: style: Parameter 'curproxy' can be declared with const [constParameter] head haproxy-2.6.1/src/cfgparse.c:192:43: style: Parameter 'curproxy' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/cfgparse.c:192:43: style: Parameter 'curproxy' can be declared with const [constParameter] head haproxy-2.6.1/src/dns.c:396:72: style: Parameter 'sk' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/dns.c:396:72: style: Parameter 'sk' can be declared with const [constParameter] head haproxy-2.6.1/src/dynbuf.c:102:28: style: Parameter 'from' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/dynbuf.c:102:28: style: Parameter 'from' can be declared with const [constParameter] head haproxy-2.6.1/src/ev_poll.c:238:45: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head haproxy-2.6.1/src/fd.c:397:31: style: Parameter 'expected_owner' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/fd.c:397:31: style: Parameter 'expected_owner' can be declared with const [constParameter] head haproxy-2.6.1/src/http_ana.c:5065:37: style: Parameter 'start' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/http_ana.c:5065:37: style: Parameter 'start' can be declared with const [constParameter] head haproxy-2.6.1/src/htx.c:886:51: error: Uninitialized variable: blk [legacyUninitvar] head haproxy-2.6.1/src/lb_chash.c:394:70: style: Parameter 'srvtoavoid' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/lb_chash.c:394:70: style: Parameter 'srvtoavoid' can be declared with const [constParameter] head haproxy-2.6.1/src/lb_fas.c:295:68: style: Parameter 'srvtoavoid' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/lb_fas.c:295:68: style: Parameter 'srvtoavoid' can be declared with const [constParameter] head haproxy-2.6.1/src/lb_fwlc.c:322:69: style: Parameter 'srvtoavoid' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/lb_fwlc.c:322:69: style: Parameter 'srvtoavoid' can be declared with const [constParameter] head haproxy-2.6.1/src/lb_map.c:214:67: style: Parameter 'srvtoavoid' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/lb_map.c:214:67: style: Parameter 'srvtoavoid' can be declared with const [constParameter] head haproxy-2.6.1/src/log.c:372:46: style: Parameter 'end' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/log.c:372:46: style: Parameter 'end' can be declared with const [constParameter] head haproxy-2.6.1/src/lru.c:37:13: style: Parameter 'domain' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/lru.c:37:13: style: Parameter 'domain' can be declared with const [constParameter] head haproxy-2.6.1/src/lru.c:66:10: style: Parameter 'domain' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/lru.c:66:10: style: Parameter 'domain' can be declared with const [constParameter] head haproxy-2.6.1/src/map.c:270:73: style: Parameter 'end' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/map.c:270:73: style: Parameter 'end' can be declared with const [constParameter] head haproxy-2.6.1/src/map.c:315:83: style: Parameter 'end' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/map.c:315:83: style: Parameter 'end' can be declared with const [constParameter] head haproxy-2.6.1/src/mux_fcgi.c:712:23: style: Parameter 'input' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/mux_fcgi.c:712:23: style: Parameter 'input' can be declared with const [constParameter] head haproxy-2.6.1/src/mux_h1.c:935:21: style: Parameter 'input' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/mux_h1.c:935:21: style: Parameter 'input' can be declared with const [constParameter] head haproxy-2.6.1/src/mux_h2.c:1005:21: style: Parameter 'input' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/mux_h2.c:1005:21: style: Parameter 'input' can be declared with const [constParameter] head haproxy-2.6.1/src/pool.c:56:22: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head haproxy-2.6.1/src/quic_sock.c:226:63: style: Parameter 'saddr' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/quic_sock.c:226:63: style: Parameter 'saddr' can be declared with const [constParameter] head haproxy-2.6.1/src/server.c:1381:47: style: Parameter 'cur_arg' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/server.c:1381:47: style: Parameter 'cur_arg' can be declared with const [constParameter] head haproxy-2.6.1/src/server.c:3747:83: style: Parameter 'ip_family' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/server.c:3747:83: style: Parameter 'ip_family' can be declared with const [constParameter] head haproxy-2.6.1/src/server.c:605:48: style: Parameter 'cur_arg' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/server.c:605:48: style: Parameter 'cur_arg' can be declared with const [constParameter] head haproxy-2.6.1/src/server.c:613:49: style: Parameter 'cur_arg' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/server.c:613:49: style: Parameter 'cur_arg' can be declared with const [constParameter] head haproxy-2.6.1/src/server.c:621:48: style: Parameter 'cur_arg' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/server.c:621:48: style: Parameter 'cur_arg' can be declared with const [constParameter] head haproxy-2.6.1/src/server.c:852:57: style: Parameter 'cur_arg' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/server.c:852:57: style: Parameter 'cur_arg' can be declared with const [constParameter] head haproxy-2.6.1/src/server.c:996:50: style: Parameter 'cur_arg' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/server.c:996:50: style: Parameter 'cur_arg' can be declared with const [constParameter] head haproxy-2.6.1/src/signal.c:242:46: style: Parameter 'target' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/signal.c:242:46: style: Parameter 'target' can be declared with const [constParameter] head haproxy-2.6.1/src/ssl_sock.c:4376:93: style: Parameter 'block' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/ssl_sock.c:4376:93: style: Parameter 'block' can be declared with const [constParameter] head haproxy-2.6.1/src/stats.c:5176:6: style: Variable 'domains' can be declared as const array [constVariable] 2.8 haproxy-2.6.1/src/stats.c:5176:6: style: Variable 'domains' can be declared with const [constVariable] head haproxy-2.6.1/src/stats.c:5193:6: style: Variable 'domains' can be declared as const array [constVariable] 2.8 haproxy-2.6.1/src/stats.c:5193:6: style: Variable 'domains' can be declared with const [constVariable] head haproxy-2.6.1/src/stats.c:5220:6: style: Variable 'domains' can be declared as const array [constVariable] 2.8 haproxy-2.6.1/src/stats.c:5220:6: style: Variable 'domains' can be declared with const [constVariable] head haproxy-2.6.1/src/stats.c:5234:6: style: Variable 'domains' can be declared as const array [constVariable] 2.8 haproxy-2.6.1/src/stats.c:5234:6: style: Variable 'domains' can be declared with const [constVariable] head haproxy-2.6.1/src/stick_table.c:2357:65: style: Parameter 'arg' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/stick_table.c:2357:65: style: Parameter 'arg' can be declared with const [constParameter] head haproxy-2.6.1/src/stick_table.c:4243:75: style: Parameter 'target' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/stick_table.c:4243:75: style: Parameter 'target' can be declared with const [constParameter] head haproxy-2.6.1/src/tools.c:2898:54: style: Parameter 'stop' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/src/tools.c:2898:54: style: Parameter 'stop' can be declared with const [constParameter] head haproxy-2.6.1/tests/exp/test_hashes.c:140:20: style: Parameter 'key' can be declared as pointer to const [constParameter] 2.8 haproxy-2.6.1/tests/exp/test_hashes.c:140:20: style: Parameter 'key' can be declared with const [constParameter] DONE