2024-03-28 03:38 ftp://ftp.de.debian.org/debian/pool/main/libw/libwebsockets/libwebsockets_4.3.3.orig.tar.gz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --inline-suppr --disable=missingInclude --suppress=unmatchedSuppression --template=daca2 --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=valueFlowBailoutIncompleteVar -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-0.deb11.6-amd64-x86_64-with-glibc2.31 python: 3.9.2 client-version: 1.3.45 compiler: g++ (Debian 10.2.1-6) 10.2.1 20210110 cppcheck: head 2.13.0 head-info: 98951f5 (2024-03-27 21:50:05 +0100) count: 772 570 elapsed-time: 14.4 16.9 head-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 0.6016s (avg. 0.6016s - 1 result(s)) valueFlowAfterAssign(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 0.204628s (avg. 0.0682093s - 3 result(s)) valueFlowCondition(SymbolicConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 0.121709s (avg. 0.0405697s - 3 result(s)) valueFlowCondition(SimpleConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 0.115447s (avg. 0.0384823s - 3 result(s)) valueFlowSymbolic(tokenlist, symboldatabase, errorLogger, settings): 0.049634s (avg. 0.049634s - 1 result(s)) Overall time: 0.712875s old-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 4.21964s (avg. 4.21964s - 1 result(s)) valueFlowCondition(SimpleConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 2.04498s (avg. 0.681661s - 3 result(s)) valueFlowConditionExpressions(tokenlist, symboldatabase, errorLogger, *settings): 1.07511s (avg. 1.07511s - 1 result(s)) valueFlowAfterAssign(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 0.458414s (avg. 0.152805s - 3 result(s)) valueFlowSubFunction(tokenlist, symboldatabase, errorLogger, *settings): 0.387546s (avg. 0.129182s - 3 result(s)) Overall time: 4.33225s head results: libwebsockets-4.3.3/lib/abstract/abstract.c:315:6: style: Condition '!abs->ap' is always true [knownConditionTrueFalse] libwebsockets-4.3.3/lib/abstract/abstract.c:314:40: note: Calling function 'lws_abs_protocol_get_by_name' returns 0 libwebsockets-4.3.3/lib/abstract/abstract.c:314:40: note: Assignment 'abs->ap=lws_abs_protocol_get_by_name(tmp)', assigned value is 0 libwebsockets-4.3.3/lib/abstract/abstract.c:315:6: note: Condition '!abs->ap' is always true libwebsockets-4.3.3/lib/abstract/test-sequencer.c:113:26: style: Variable 'exp' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/abstract/protocols/smtp/smtp-sequencer.c:322:2: error: Memory leak: e [memleak] libwebsockets-4.3.3/lib/abstract/protocols/smtp/smtp-sequencer.c:85:14: style: Unused variable: d [unusedVariable] libwebsockets-4.3.3/lib/abstract/protocols/smtp/smtp-sequencer.c:86:7: style: Unused variable: buf [unusedVariable] libwebsockets-4.3.3/lib/abstract/protocols/smtp/smtp-sequencer.c:87:6: style: Unused variable: n [unusedVariable] libwebsockets-4.3.3/lib/abstract/protocols/smtp/smtp.c:353:30: style: Parameter 'abs1' can be declared as pointer to const. However it seems that 'lws_smtpc_compare' is a callback function, if 'abs1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/abstract/protocols/smtp/smtp.c:373:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/abstract/protocols/smtp/smtp.c:353:30: note: Parameter 'abs1' can be declared as pointer to const libwebsockets-4.3.3/lib/abstract/protocols/smtp/smtp.c:353:47: style: Parameter 'abs2' can be declared as pointer to const. However it seems that 'lws_smtpc_compare' is a callback function, if 'abs2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/abstract/protocols/smtp/smtp.c:373:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/abstract/protocols/smtp/smtp.c:353:47: note: Parameter 'abs2' can be declared as pointer to const libwebsockets-4.3.3/lib/abstract/protocols/smtp/smtp.c:359:33: style: Parameter 'abs' can be declared as pointer to const. However it seems that 'lws_smtpc_child_bind' is a callback function, if 'abs' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/abstract/protocols/smtp/smtp.c:381:16: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/abstract/protocols/smtp/smtp.c:359:33: note: Parameter 'abs' can be declared as pointer to const libwebsockets-4.3.3/lib/abstract/transports/raw-skt.c:344:22: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/abstract/transports/unit-test.c:486:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/abstract/transports/unit-test.c:517:30: style: Parameter 'abs1' can be declared as pointer to const. However it seems that 'lws_atcut_compare' is a callback function, if 'abs1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/abstract/transports/unit-test.c:528:14: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/abstract/transports/unit-test.c:517:30: note: Parameter 'abs1' can be declared as pointer to const libwebsockets-4.3.3/lib/abstract/transports/unit-test.c:517:47: style: Parameter 'abs2' can be declared as pointer to const. However it seems that 'lws_atcut_compare' is a callback function, if 'abs2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/abstract/transports/unit-test.c:528:14: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/abstract/transports/unit-test.c:517:47: note: Parameter 'abs2' can be declared as pointer to const libwebsockets-4.3.3/lib/core-net/client/connect4.c:332:1: style: Label 'failed' is not used. [unusedLabel] libwebsockets-4.3.3/lib/core-net/client/connect4.c:28:63: style: Parameter 'wsi_piggyback' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core-net/client/connect4.c:35:20: style: Unused variable: pfd [unusedVariable] libwebsockets-4.3.3/lib/core-net/client/connect4.c:37:6: style: Unused variable: n [unusedVariable] libwebsockets-4.3.3/lib/core-net/client/connect4.c:37:9: style: Unused variable: m [unusedVariable] libwebsockets-4.3.3/lib/core-net/dummy-callback.c:100:9: style: struct member 'lws_proxy_pkt::len' is never used. [unusedStructMember] libwebsockets-4.3.3/lib/core-net/dummy-callback.c:101:7: style: struct member 'lws_proxy_pkt::binary' is never used. [unusedStructMember] libwebsockets-4.3.3/lib/core-net/dummy-callback.c:102:7: style: struct member 'lws_proxy_pkt::first' is never used. [unusedStructMember] libwebsockets-4.3.3/lib/core-net/dummy-callback.c:103:7: style: struct member 'lws_proxy_pkt::final' is never used. [unusedStructMember] libwebsockets-4.3.3/lib/core-net/close.c:208:20: style: Variable 'vh' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/core-net/close.c:326:32: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core-net/output.c:33:22: style: Variable 'context' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/core-net/output.c:308:62: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core-net/route.c:120:17: style: Variable 'rou' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/core-net/sequencer.c:268:47: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core-net/sequencer.c:270:19: style: Variable 'seqe' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/core-net/sequencer.c:319:25: style: Parameter 'seq' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core-net/sequencer.c:325:38: style: Parameter 'seq' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core-net/pollfd.c:475:22: style: Variable 'context' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/core-net/socks5-client.c:110:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/core-net/socks5-client.c:225:33: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/core-net/service.c:62:62: style: Parameter 'pollfd' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core-net/service.c:472:74: style: Parameter 'ebuf' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core-net/sorted-usec-list.c:254:28: style: Variable 'sul' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/core-net/wsi-timeout.c:210:34: style: Local variable 'pt' shadows outer variable [shadowVariable] libwebsockets-4.3.3/lib/core-net/wsi-timeout.c:202:33: note: Shadowed declaration libwebsockets-4.3.3/lib/core-net/wsi-timeout.c:210:34: note: Shadow variable libwebsockets-4.3.3/lib/core/buflist.c:241:2: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] libwebsockets-4.3.3/lib/core/buflist.c:241:6: style: Variable 'len' is assigned a value that is never used. [unreadVariable] libwebsockets-4.3.3/lib/core/context.c:1633:47: style: Parameter 'cx' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core/context.c:2247:52: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core/context.c:2275:41: style: Parameter 'cx' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core-net/wsi.c:191:33: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/core-net/wsi.c:199:33: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/core-net/wsi.c:205:56: style: Parameter 'vh' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core-net/wsi.c:601:25: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core-net/wsi.c:626:34: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core-net/wsi.c:813:24: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core-net/wsi.c:881:26: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core-net/wsi.c:887:25: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core-net/wsi.c:954:38: style: Parameter 'vhost' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core-net/wsi.c:960:38: style: Parameter 'vhost' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core-net/wsi.c:966:38: style: Parameter 'vhost' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core-net/wsi.c:972:39: style: Parameter 'vhost' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core-net/network.c:101:4: error: Memory leak: result [memleak] libwebsockets-4.3.3/lib/core-net/network.c:46:47: style: Parameter 'ads' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core-net/vhost.c:1039:24: style: Condition 'lws_protocol_init(context)' is always false [knownConditionTrueFalse] libwebsockets-4.3.3/lib/core-net/vhost.c:1039:24: note: Calling function 'lws_protocol_init' returns 0 libwebsockets-4.3.3/lib/core-net/vhost.c:1039:24: note: Condition 'lws_protocol_init(context)' is always false libwebsockets-4.3.3/lib/core-net/vhost.c:113:43: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core-net/vhost.c:317:41: style: Parameter 'cx' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core-net/vhost.c:364:46: style: Parameter 'vh' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core-net/vhost.c:1181:60: style: Parameter 'vh' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core-net/vhost.c:1669:34: style: Parameter 'vhost' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core-net/vhost.c:1675:45: style: Parameter 'vhost' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core/lws_map.c:59:26: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core/lws_map.c:257:38: style: Parameter '_item' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core/lws_map.c:263:40: style: Parameter '_item' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core/logs.c:224:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] libwebsockets-4.3.3/lib/core/logs.c:53:34: style:inconclusive: Function '__lws_lc_tag' argument 1 names different: declaration 'cx' definition 'context'. [funcArgNamesDifferent] libwebsockets-4.3.3/lib/core/private-lib-core.h:206:34: note: Function '__lws_lc_tag' argument 1 names different: declaration 'cx' definition 'context'. libwebsockets-4.3.3/lib/core/logs.c:53:34: note: Function '__lws_lc_tag' argument 1 names different: declaration 'cx' definition 'context'. libwebsockets-4.3.3/lib/core/logs.c:163:36: style:inconclusive: Function '__lws_lc_untag' argument 1 names different: declaration 'cx' definition 'context'. [funcArgNamesDifferent] libwebsockets-4.3.3/lib/core/private-lib-core.h:213:36: note: Function '__lws_lc_untag' argument 1 names different: declaration 'cx' definition 'context'. libwebsockets-4.3.3/lib/core/logs.c:163:36: note: Function '__lws_lc_untag' argument 1 names different: declaration 'cx' definition 'context'. libwebsockets-4.3.3/lib/core/logs.c:65:7: style: Local variable 'n' shadows outer variable [shadowVariable] libwebsockets-4.3.3/lib/core/logs.c:57:6: note: Shadowed declaration libwebsockets-4.3.3/lib/core/logs.c:65:7: note: Shadow variable libwebsockets-4.3.3/lib/core/logs.c:197:29: style: Parameter 'lc' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core/logs.c:322:41: style: Parameter 'cx' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core/logs.c:511:35: style: Parameter 'cx' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/cose/cose_validate_alg.c:233:12: style: Variable 'hs' is assigned a value that is never used. [unreadVariable] libwebsockets-4.3.3/lib/drivers/button/lws-button.c:482:45: style: Parameter 'bcs' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/cose/cose_key.c:678:11: style: Local variable 'n' shadows outer variable [shadowVariable] libwebsockets-4.3.3/lib/cose/cose_key.c:311:6: note: Shadowed declaration libwebsockets-4.3.3/lib/cose/cose_key.c:678:11: note: Shadow variable libwebsockets-4.3.3/lib/cose/cose_key.c:242:54: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/cose/cose_key.c:772:33: style: Variable 'ke' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/drivers/display/ili9341-spi.c:108:7: style: Variable 'u[0]' is assigned a value that is never used. [unreadVariable] libwebsockets-4.3.3/lib/drivers/display/ili9341-spi.c:159:8: style: Variable 'u[0]' is assigned a value that is never used. [unreadVariable] libwebsockets-4.3.3/lib/drivers/display/ili9341-spi.c:181:7: style: Variable 'u[0]' is assigned a value that is never used. [unreadVariable] libwebsockets-4.3.3/lib/drivers/display/ssd1306-i2c.c:139:31: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] libwebsockets-4.3.3/lib/drivers/display/ssd1306-i2c.c:36:19: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] libwebsockets-4.3.3/lib/drivers/display/ssd1306-i2c.c:139:31: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] libwebsockets-4.3.3/lib/cose/cose_validate.c:701:9: style: Condition '!cps->sub' is always true [knownConditionTrueFalse] libwebsockets-4.3.3/lib/cose/cose_validate.c:699:16: note: Assignment 'cps->sub=0', assigned value is 0 libwebsockets-4.3.3/lib/cose/cose_validate.c:701:9: note: Condition '!cps->sub' is always true libwebsockets-4.3.3/lib/cose/cose_validate.c:242:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/cose/cose_validate.c:426:44: style: Parameter 'cps' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/drivers/led/led-gpio.c:119:27: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] libwebsockets-4.3.3/lib/drivers/spi/bitbang/lws-bb-spi.c:85:17: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] libwebsockets-4.3.3/lib/drivers/spi/bitbang/lws-bb-spi.c:102:29: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] libwebsockets-4.3.3/lib/drivers/spi/bitbang/lws-bb-spi.c:124:29: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] libwebsockets-4.3.3/lib/drivers/spi/bitbang/lws-bb-spi.c:111:7: style: Variable 'src' is assigned a value that is never used. [unreadVariable] libwebsockets-4.3.3/lib/drivers/netdev/wifi.c:212:11: warning: Either the condition 'al>32' is redundant or the array 'ssid_copy[33]' is accessed at index 33, which is out of bounds. [arrayIndexOutOfBoundsCond] libwebsockets-4.3.3/lib/drivers/netdev/wifi.c:208:18: note: Assuming that condition 'al>32' is not redundant libwebsockets-4.3.3/lib/drivers/netdev/wifi.c:212:11: note: Array index out of bounds libwebsockets-4.3.3/lib/event-libs/glib/glib.c:348:33: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/event-libs/glib/glib.c:399:33: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/event-libs/libevent/libevent.c:292:36: style: Variable 'ptpr' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/event-libs/libevent/libevent.c:375:33: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/event-libs/poll/poll.c:32:42: style: Variable 'vpt' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/event-libs/uloop/uloop.c:190:33: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/event-libs/uloop/uloop.c:212:40: style: Parameter 'context' can be declared as pointer to const. However it seems that 'elops_run_pt_uloop' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/event-libs/uloop/uloop.c:296:17: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/event-libs/uloop/uloop.c:212:40: note: Parameter 'context' can be declared as pointer to const libwebsockets-4.3.3/lib/event-libs/uloop/uloop.c:243:33: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/event-libs/sdevent/sdevent.c:239:36: style: Condition 'init_vhost_listen_wsi_sd(wsi)==-1' is always false [knownConditionTrueFalse] libwebsockets-4.3.3/lib/event-libs/sdevent/sdevent.c:239:30: note: Calling function 'init_vhost_listen_wsi_sd' returns 0 libwebsockets-4.3.3/lib/event-libs/sdevent/sdevent.c:239:36: note: Condition 'init_vhost_listen_wsi_sd(wsi)==-1' is always false libwebsockets-4.3.3/lib/event-libs/sdevent/sdevent.c:159:33: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/event-libs/libuv/libuv.c:739:4: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] libwebsockets-4.3.3/lib/event-libs/libuv/libuv.c:544:33: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/event-libs/libuv/libuv.c:654:33: style: Variable 'ptpriv' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/event-libs/libuv/libuv.c:374:11: style: Variable 'm' is assigned a value that is never used. [unreadVariable] libwebsockets-4.3.3/lib/jose/jwk/jwk.c:109:60: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/misc/base64-decode.c:114:11: style: Variable 'orig_out' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/misc/base64-decode.c:114:28: style: Variable 'end_out' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/jose/jws/jws.c:1261:28: warning: Either the condition '!cp' is redundant or there is possible null pointer dereference: cp. [nullPointerRedundantCheck] libwebsockets-4.3.3/lib/jose/jws/jws.c:1262:6: note: Assuming that condition '!cp' is not redundant libwebsockets-4.3.3/lib/jose/jws/jws.c:1261:28: note: Null pointer dereference libwebsockets-4.3.3/lib/jose/jwk/jose_key.c:105:38: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] libwebsockets-4.3.3/lib/jose/jwk/jose_key.c:123:39: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] libwebsockets-4.3.3/lib/jose/jwk/jose_key.c:124:41: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] libwebsockets-4.3.3/lib/jose/jwk/jose_key.c:125:41: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] libwebsockets-4.3.3/lib/jose/jwk/jose_key.c:131:39: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] libwebsockets-4.3.3/lib/jose/jwk/jose_key.c:132:39: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] libwebsockets-4.3.3/lib/jose/jwk/jose_key.c:133:41: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] libwebsockets-4.3.3/lib/jose/jws/jws.c:632:9: style: Variable 'h_len' is assigned a value that is never used. [unreadVariable] libwebsockets-4.3.3/lib/misc/cache-ttl/lws-cache-ttl.c:138:22: style: Variable 'm' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/misc/cache-ttl/lws-cache-ttl.c:246:47: style: Parameter 'cache' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/misc/cache-ttl/lws-cache-ttl.c:252:48: style: Parameter 'cache' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/misc/dir.c:219:18: style: Local variable 'filter' shadows outer function [shadowFunction] libwebsockets-4.3.3/lib/misc/dir.c:62:12: note: Shadowed declaration libwebsockets-4.3.3/lib/misc/dir.c:219:18: note: Shadow variable libwebsockets-4.3.3/lib/misc/cache-ttl/heap.c:448:69: style:inconclusive: Function 'lws_cache_heap_invalidate' argument 2 names different: declaration 'key' definition 'specific_key'. [funcArgNamesDifferent] libwebsockets-4.3.3/lib/misc/cache-ttl/heap.c:36:69: note: Function 'lws_cache_heap_invalidate' argument 2 names different: declaration 'key' definition 'specific_key'. libwebsockets-4.3.3/lib/misc/cache-ttl/heap.c:448:69: note: Function 'lws_cache_heap_invalidate' argument 2 names different: declaration 'key' definition 'specific_key'. libwebsockets-4.3.3/lib/misc/cache-ttl/heap.c:103:40: style: Variable 'end' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/misc/cache-ttl/heap.c:199:29: style: Variable 'item' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/misc/cache-ttl/heap.c:284:24: style: Variable 'i' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/misc/cache-ttl/heap.c:174:34: error: Uninitialized variable: cache [legacyUninitvar] libwebsockets-4.3.3/lib/misc/fsmount.c:111:4: style: Variable 'n' is assigned a value that is never used. [unreadVariable] libwebsockets-4.3.3/lib/misc/diskcache.c:315:8: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] libwebsockets-4.3.3/lib/misc/diskcache.c:371:11: style: Condition 'de' is always true [knownConditionTrueFalse] libwebsockets-4.3.3/lib/misc/diskcache.c:90:21: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/misc/diskcache.c:90:48: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/misc/diskcache.c:239:55: style: Parameter 'lds' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/misc/cache-ttl/file.c:102:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] libwebsockets-4.3.3/lib/misc/cache-ttl/file.c:683:31: error: Uninitialized variable: cache [legacyUninitvar] libwebsockets-4.3.3/lib/misc/getifaddrs.c:120:20: style: Variable 'sa' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/core/libwebsockets.c:331:7: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] libwebsockets-4.3.3/lib/core/libwebsockets.c:334:24: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] libwebsockets-4.3.3/lib/core/libwebsockets.c:1237:17: style: Condition 'wildcard==wc_end' is always false [knownConditionTrueFalse] libwebsockets-4.3.3/lib/core/libwebsockets.c:240:45: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core/libwebsockets.c:264:38: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core/libwebsockets.c:305:43: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core/libwebsockets.c:362:53: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core/libwebsockets.c:745:47: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/core/libwebsockets.c:1049:40: style: Parameter 'ts' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/misc/lecp.c:458:20: style: Redundant condition: ctx->sp. '!ctx->sp || (ctx->sp && !ctx->st[ctx->sp-1].intermediate)' is equivalent to '!ctx->sp || !ctx->st[ctx->sp-1].intermediate' [redundantCondition] libwebsockets-4.3.3/lib/misc/lecp.c:471:20: style: Redundant condition: ctx->sp. '!ctx->sp || (ctx->sp && !ctx->st[ctx->sp-1].intermediate)' is equivalent to '!ctx->sp || !ctx->st[ctx->sp-1].intermediate' [redundantCondition] libwebsockets-4.3.3/lib/misc/lecp.c:488:19: style: Redundant condition: ctx->sp. '!ctx->sp || (ctx->sp && !ctx->st[ctx->sp-1].intermediate)' is equivalent to '!ctx->sp || !ctx->st[ctx->sp-1].intermediate' [redundantCondition] libwebsockets-4.3.3/lib/misc/lecp.c:695:19: style: Redundant condition: ctx->sp. '!ctx->sp || (ctx->sp && !ctx->st[ctx->sp-1].intermediate)' is equivalent to '!ctx->sp || !ctx->st[ctx->sp-1].intermediate' [redundantCondition] libwebsockets-4.3.3/lib/misc/lecp.c:66:31: style: Condition '*((uint8_t*)&x)==0x12' is always false [knownConditionTrueFalse] libwebsockets-4.3.3/lib/misc/lecp.c:58:15: note: Assignment 'x=0x1234', assigned value is 4660 libwebsockets-4.3.3/lib/misc/lecp.c:66:31: note: Condition '*((uint8_t*)&x)==0x12' is always false libwebsockets-4.3.3/lib/misc/lecp.c:826:9: style: Condition '!ctx->sp' is always false [knownConditionTrueFalse] libwebsockets-4.3.3/lib/misc/fts/trie-fd.c:696:9: style: Local variable 'm' shadows outer variable [shadowVariable] libwebsockets-4.3.3/lib/misc/fts/trie-fd.c:395:18: note: Shadowed declaration libwebsockets-4.3.3/lib/misc/fts/trie-fd.c:696:9: note: Shadow variable libwebsockets-4.3.3/lib/misc/fts/trie-fd.c:873:25: style: Local variable 'agg' shadows outer variable [shadowVariable] libwebsockets-4.3.3/lib/misc/fts/trie-fd.c:393:40: note: Shadowed declaration libwebsockets-4.3.3/lib/misc/fts/trie-fd.c:873:25: note: Shadow variable libwebsockets-4.3.3/lib/misc/fts/trie-fd.c:73:20: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/misc/fts/trie-fd.c:79:20: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/misc/fts/trie-fd.c:85:39: style: Parameter 'jtf' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/misc/fts/trie-fd.c:239:47: style: Parameter 'jtf' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/misc/fts/trie-fd.c:284:44: style: Parameter 'jtf' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/misc/fts/trie-fd.c:842:14: style: Variable 'tch' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/misc/fts/trie-fd.c:56:6: style: struct member 'wac::desc' is never used. [unusedStructMember] libwebsockets-4.3.3/lib/misc/fts/trie-fd.c:58:7: style: struct member 'wac::once' is never used. [unusedStructMember] libwebsockets-4.3.3/lib/misc/fts/trie-fd.c:823:5: style: Variable 'bp' is assigned a value that is never used. [unreadVariable] libwebsockets-4.3.3/lib/misc/lws-ring.c:70:51: style: Parameter 'ring' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/misc/lws-ring.c:100:70: style: Parameter 'tail' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/misc/lws-ring.c:255:55: style: Parameter 'tail' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/misc/lws-ring.c:282:43: style: Parameter 'ring' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/misc/lwsac/lwsac.cxx:36:16: style: C-style pointer casting [cstyleCast] libwebsockets-4.3.3/lib/misc/lwsac/lwsac.cxx:48:14: style: C-style pointer casting [cstyleCast] libwebsockets-4.3.3/lib/misc/lwsac/lwsac.cxx:65:12: style: C-style pointer casting [cstyleCast] libwebsockets-4.3.3/lib/misc/lwsac/lwsac.cxx:75:15: style: C-style pointer casting [cstyleCast] libwebsockets-4.3.3/lib/misc/lws-struct-lejp.c:205:4: style: Variable 'n' is reassigned a value before the old one has been used. [redundantAssignment] libwebsockets-4.3.3/lib/misc/lws-struct-lejp.c:180:5: note: n is assigned libwebsockets-4.3.3/lib/misc/lws-struct-lejp.c:205:4: note: n is overwritten libwebsockets-4.3.3/lib/misc/lws-struct-lejp.c:431:23: style: Variable 'coll' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/misc/lws-struct-lejp.c:528:43: style: Parameter 'js' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/misc/peer-limits.c:31:28: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/misc/peer-limits.c:79:42: style: Parameter 'vhost' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/misc/peer-limits.c:86:11: style: Variable 'q8' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/misc/peer-limits.c:169:66: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/misc/lwsac/lwsac.c:61:34: style: Parameter 'lac' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/misc/lwsac/lwsac.c:67:30: style: Parameter 'lac' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/misc/lwsac/lwsac.c:214:48: style: Parameter 'find' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/misc/lwsac/lwsac.c:218:5: style: Variable 'end' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/misc/lwsac/lwsac.c:278:26: style: Parameter 'head' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/misc/lwsac/lwsac.c:298:21: style: Variable 'lachead' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/misc/sha-1.c:45:4: style: struct member 'sha1_ctxt::h' is never used. [unusedStructMember] libwebsockets-4.3.3/lib/misc/sha-1.c:49:4: style: struct member 'sha1_ctxt::c' is never used. [unusedStructMember] libwebsockets-4.3.3/lib/misc/sha-1.c:53:4: style: struct member 'sha1_ctxt::m' is never used. [unusedStructMember] libwebsockets-4.3.3/lib/misc/sha-1.c:54:18: style: struct member 'sha1_ctxt::count' is never used. [unusedStructMember] libwebsockets-4.3.3/lib/misc/sha-1.c:43:18: style: union member 'Anonymous0::b8' is never used. [unusedStructMember] libwebsockets-4.3.3/lib/misc/sha-1.c:44:17: style: union member 'Anonymous0::b32' is never used. [unusedStructMember] libwebsockets-4.3.3/lib/misc/sha-1.c:47:18: style: union member 'Anonymous1::b8' is never used. [unusedStructMember] libwebsockets-4.3.3/lib/misc/sha-1.c:48:13: style: union member 'Anonymous1::b64' is never used. [unusedStructMember] libwebsockets-4.3.3/lib/misc/sha-1.c:51:18: style: union member 'Anonymous2::b8' is never used. [unusedStructMember] libwebsockets-4.3.3/lib/misc/sha-1.c:52:17: style: union member 'Anonymous2::b32' is never used. [unusedStructMember] libwebsockets-4.3.3/lib/plat/freertos/esp32/drivers/gpio-esp32.c:64:53: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] libwebsockets-4.3.3/lib/misc/fts/trie.c:1127:7: style: Local variable 'n' shadows outer variable [shadowVariable] libwebsockets-4.3.3/lib/misc/fts/trie.c:1103:6: note: Shadowed declaration libwebsockets-4.3.3/lib/misc/fts/trie.c:1127:7: note: Shadow variable libwebsockets-4.3.3/lib/misc/fts/trie.c:229:17: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/misc/fts/trie.c:152:18: style: struct member 'lws_fts::last_block_len_ofs' is never used. [unusedStructMember] libwebsockets-4.3.3/lib/misc/fts/trie.c:547:35: style: Variable 'vlibuf' is not assigned a value. [unassignedVariable] libwebsockets-4.3.3/lib/plat/freertos/esp32/drivers/netdev/wifi-esp32.c:431:60: style: Parameter 'nd' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/freertos/esp32/drivers/netdev/wifi-esp32.c:432:32: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/freertos/esp32/drivers/settings-esp32.c:69:4: style: Variable 'n' is assigned a value that is never used. [unreadVariable] libwebsockets-4.3.3/lib/plat/freertos/freertos-fds.c:28:74: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/freertos/freertos-fds.c:37:19: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/freertos/freertos-fds.c:45:44: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/freertos/freertos-fds.c:46:21: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/freertos/freertos-fds.c:46:45: style: Parameter 'pfd' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/freertos/freertos-init.c:34:52: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/freertos/freertos-misc.c:48:36: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/freertos/freertos-misc.c:48:51: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/freertos/freertos-misc.c:91:50: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/freertos/freertos-file.c:35:43: style: Parameter 'flags' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/freertos/freertos-file.c:102:17: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/freertos/freertos-pipe.c:91:33: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/plat/freertos/freertos-pipe.c:92:22: style: Variable 'si' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/plat/freertos/freertos-pipe.c:93:19: style: Variable 'fd' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/plat/freertos/freertos-sockets.c:69:39: style: Parameter 'fd' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/freertos/freertos-sockets.c:87:47: style: Parameter 'vhost' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/freertos/freertos-sockets.c:202:71: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/freertos/freertos-sockets.c:281:51: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/freertos/freertos-sockets.c:328:54: style: Parameter 'vhost' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/optee/lws-plat-optee.c:135:50: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/optee/lws-plat-optee.c:147:52: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/optee/lws-plat-optee.c:152:51: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/optee/lws-plat-optee.c:162:65: style: Parameter 'flags' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/optee/lws-plat-optee.c:168:36: style: Parameter 'fop_fd' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/optee/lws-plat-optee.c:180:57: style: Parameter 'amount' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/optee/lws-plat-optee.c:181:16: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/optee/lws-plat-optee.c:188:58: style: Parameter 'amount' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/optee/lws-plat-optee.c:189:17: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/optee/lws-plat-optee.c:197:35: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/optee/lws-plat-optee.c:222:49: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/optee/lws-plat-optee.c:228:48: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/optee/lws-plat-optee.c:240:47: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/misc/threadpool/threadpool.c:719:9: style: Variable 'n' is reassigned a value before the old one has been used. [redundantAssignment] libwebsockets-4.3.3/lib/misc/threadpool/threadpool.c:705:4: note: n is assigned libwebsockets-4.3.3/lib/misc/threadpool/threadpool.c:719:9: note: n is overwritten libwebsockets-4.3.3/lib/misc/threadpool/threadpool.c:822:7: style: Variable 'task' is reassigned a value before the old one has been used. [redundantAssignment] libwebsockets-4.3.3/lib/misc/threadpool/threadpool.c:812:8: note: task is assigned libwebsockets-4.3.3/lib/misc/threadpool/threadpool.c:822:7: note: task is overwritten libwebsockets-4.3.3/lib/misc/threadpool/threadpool.c:172:44: style: Parameter 'tp' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/misc/threadpool/threadpool.c:1083:63: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/unix/android/android-resolv.c:31:27: style: Variable 'p' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/misc/threadpool/threadpool.c:132:7: style: Variable 'buf' is assigned a value that is never used. [unreadVariable] libwebsockets-4.3.3/lib/misc/threadpool/threadpool.c:146:7: style: Variable 'buf' is assigned a value that is never used. [unreadVariable] libwebsockets-4.3.3/lib/plat/optee/network.c:36:34: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/optee/network.c:42:34: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/optee/network.c:48:33: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/optee/network.c:81:39: style: Parameter 'fd' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/optee/network.c:198:47: style: Parameter 'vhost' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/optee/network.c:205:39: style: Parameter 'vhost' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/optee/network.c:205:72: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/optee/network.c:215:71: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/optee/network.c:222:74: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/optee/network.c:231:19: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/optee/network.c:239:44: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/optee/network.c:240:21: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/optee/network.c:240:45: style: Parameter 'pfd' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/optee/network.c:246:51: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/optee/network.c:253:51: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/optee/network.c:266:54: style: Parameter 'vhost' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/freertos/freertos-service.c:188:7: style: Condition '!m' is always true [knownConditionTrueFalse] libwebsockets-4.3.3/lib/plat/freertos/freertos-service.c:177:7: note: Assignment 'm=0', assigned value is 0 libwebsockets-4.3.3/lib/plat/freertos/freertos-service.c:188:7: note: Condition '!m' is always true libwebsockets-4.3.3/lib/plat/freertos/freertos-service.c:154:6: style: Variable 'n' is reassigned a value before the old one has been used. [redundantAssignment] libwebsockets-4.3.3/lib/plat/freertos/freertos-service.c:151:6: note: n is assigned libwebsockets-4.3.3/lib/plat/freertos/freertos-service.c:154:6: note: n is overwritten libwebsockets-4.3.3/lib/plat/freertos/freertos-service.c:57:17: style: Local variable 'm' shadows outer variable [shadowVariable] libwebsockets-4.3.3/lib/plat/freertos/freertos-service.c:46:14: note: Shadowed declaration libwebsockets-4.3.3/lib/plat/freertos/freertos-service.c:57:17: note: Shadow variable libwebsockets-4.3.3/lib/plat/unix/unix-caps.c:79:7: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] libwebsockets-4.3.3/lib/plat/unix/unix-caps.c:97:7: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] libwebsockets-4.3.3/lib/plat/unix/unix-caps.c:125:7: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] libwebsockets-4.3.3/lib/plat/unix/unix-caps.c:148:7: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] libwebsockets-4.3.3/lib/plat/unix/unix-caps.c:175:7: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] libwebsockets-4.3.3/lib/plat/unix/unix-caps.c:205:7: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] libwebsockets-4.3.3/lib/plat/unix/unix-caps.c:55:16: style: Variable 'g' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/plat/unix/unix-caps.c:56:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/plat/unix/unix-init.c:224:52: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/unix/unix-init.c:229:51: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/unix/unix-file.c:47:49: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/unix/unix-file.c:83:43: style: Parameter 'flags' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/unix/unix-file.c:169:17: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/unix/unix-fds.c:45:11: warning: Identical inner 'return' condition is always true. [identicalInnerCondition] libwebsockets-4.3.3/lib/plat/unix/unix-fds.c:44:7: note: outer condition: *p libwebsockets-4.3.3/lib/plat/unix/unix-fds.c:45:11: note: identical inner condition: *p libwebsockets-4.3.3/lib/plat/unix/unix-misc.c:39:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] libwebsockets-4.3.3/lib/plat/unix/unix-fds.c:212:66: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/unix/unix-fds.c:260:44: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/unix/unix-fds.c:261:21: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/unix/unix-fds.c:261:45: style: Parameter 'pfd' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/unix/unix-misc.c:63:36: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/unix/unix-misc.c:97:39: style: Parameter 'vhost' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/unix/unix-misc.c:97:72: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/unix/unix-misc.c:124:47: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/unix/unix-pipe.c:67:33: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/plat/windows/windows-file.c:37:43: style: Parameter 'flags' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/windows/windows-file.c:156:39: style: Parameter 'vhost' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/windows/windows-file.c:156:72: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/windows/windows-file.c:169:49: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/windows/windows-init.c:31:50: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/windows/windows-init.c:135:52: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/windows/windows-plugins.c:154:43: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/windows/windows-plugins.c:169:47: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/windows/windows-pipe.c:100:22: style: Variable 'si' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/plat/windows/windows-pipe.c:101:19: style: Variable 'fd' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/plat/unix/unix-sockets.c:102:47: style: Parameter 'vhost' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/unix/unix-sockets.c:583:54: style: Parameter 'vhost' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/windows/windows-resolv.c:79:47: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/unix/unix-spawn.c:74:33: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/plat/unix/unix-spawn.c:593:66: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/unix/unix-spawn.c:610:33: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/windows/windows-sockets.c:134:14: portability: Non reentrant function 'getprotobyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getprotobyname_r'. [prohibitedgetprotobynameCalled] libwebsockets-4.3.3/lib/plat/windows/windows-sockets.c:189:27: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] libwebsockets-4.3.3/lib/plat/windows/windows-sockets.c:64:39: style: Parameter 'fd' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/windows/windows-sockets.c:93:47: style: Parameter 'vhost' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/windows/windows-sockets.c:102:19: style: Variable 'tcp_proto' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/plat/windows/windows-sockets.c:224:19: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/windows/windows-sockets.c:233:45: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/windows/windows-sockets.c:250:44: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/windows/windows-sockets.c:250:65: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/windows/windows-sockets.c:251:29: style: Parameter 'pfd' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/windows/windows-service.c:66:14: style: Variable 'wsi' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/roles/cgi/ops-cgi.c:29:29: style: Parameter 'pollfd' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/roles/cgi/ops-cgi.c:84:37: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/roles/cgi/ops-cgi.c:90:35: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/roles/h1/ops-h1.c:564:29: style: Parameter 'pollfd' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/roles/h1/ops-h1.c:1070:43: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/roles/h1/ops-h1.c:1087:45: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/roles/h1/ops-h1.c:1089:38: style: Parameter 'pt' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/roles/dbus/dbus.c:353:31: style: Variable 'r' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/roles/dbus/dbus.c:478:23: style: Parameter 'pollfd' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/windows/windows-spawn.c:68:33: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/plat/windows/windows-spawn.c:555:66: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/windows/windows-spawn.c:572:33: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/plat/windows/windows-spawn.c:68:36: style: Variable 'pt' is assigned a value that is never used. [unreadVariable] libwebsockets-4.3.3/lib/roles/h2/minihuf.c:332:7: style: Unused variable: c [unusedVariable] libwebsockets-4.3.3/lib/roles/h2/http2.c:1680:8: style: Local variable 'n' shadows outer variable [shadowVariable] libwebsockets-4.3.3/lib/roles/h2/http2.c:1447:6: note: Shadowed declaration libwebsockets-4.3.3/lib/roles/h2/http2.c:1680:8: note: Shadow variable libwebsockets-4.3.3/lib/roles/h2/http2.c:118:45: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/roles/h2/hpack.c:1383:31: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] libwebsockets-4.3.3/lib/roles/h2/hpack.c:1429:26: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] libwebsockets-4.3.3/lib/roles/h2/hpack.c:1439:26: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] libwebsockets-4.3.3/lib/roles/h2/hpack.c:959:20: style: Variable 'h2n->hpack_len' is reassigned a value before the old one has been used. [redundantAssignment] libwebsockets-4.3.3/lib/roles/h2/hpack.c:957:20: note: h2n->hpack_len is assigned libwebsockets-4.3.3/lib/roles/h2/hpack.c:959:20: note: h2n->hpack_len is overwritten libwebsockets-4.3.3/lib/roles/h2/hpack.c:421:39: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/roles/h2/hpack.c:1371:39: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/roles/h2/hpack.c:1392:46: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/roles/h2/hpack.c:329:10: style: Variable 's[len]' is assigned a value that is never used. [unreadVariable] libwebsockets-4.3.3/lib/roles/h2/hpack.c:315:23: style: Variable 'p' is not assigned a value. [unassignedVariable] libwebsockets-4.3.3/lib/roles/http/client/client-http.c:259:1: warning: Label 'hs2' is not used. Should this be a 'case' of the enclosing switch()? [unusedLabelSwitch] libwebsockets-4.3.3/lib/roles/http/header.c:71:42: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/roles/http/header.c:105:24: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/roles/http/date.c:60:18: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] libwebsockets-4.3.3/lib/roles/http/date.c:60:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/roles/cgi/cgi-server.c:1016:7: style: Condition '!cgi' is always false [knownConditionTrueFalse] libwebsockets-4.3.3/lib/roles/cgi/cgi-server.c:159:9: style: Variable 'pct' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/roles/cgi/cgi-server.c:896:7: style: Variable 'm' is assigned a value that is never used. [unreadVariable] libwebsockets-4.3.3/lib/roles/http/minilex.c:268:19: error: Array 'filter_array[88]' accessed at index 88, which is out of bounds. [arrayIndexOutOfBounds] libwebsockets-4.3.3/lib/roles/http/minilex.c:267:16: note: Assuming that condition 'nprev_ss_state!=LWSSSCS_CONNECTED libwebsockets-4.3.3/lib/secure-streams/protocols/ss-h1.c:656:25: note: identical inner condition: h->prev_ss_state!=LWSSSCS_CONNECTED libwebsockets-4.3.3/lib/secure-streams/protocols/ss-h1.c:747:14: style: Local variable 'p' shadows outer variable [shadowVariable] libwebsockets-4.3.3/lib/secure-streams/protocols/ss-h1.c:435:32: note: Shadowed declaration libwebsockets-4.3.3/lib/secure-streams/protocols/ss-h1.c:747:14: note: Shadow variable libwebsockets-4.3.3/lib/secure-streams/protocols/ss-h1.c:747:35: style: Local variable 'end' shadows outer variable [shadowVariable] libwebsockets-4.3.3/lib/secure-streams/protocols/ss-h1.c:439:4: note: Shadowed declaration libwebsockets-4.3.3/lib/secure-streams/protocols/ss-h1.c:747:35: note: Shadow variable libwebsockets-4.3.3/lib/secure-streams/secure-streams-client.c:894:46: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/secure-streams/secure-streams-process.c:68:37: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/roles/ws/ops-ws.c:1200:11: style: Condition 'm' is always false [knownConditionTrueFalse] libwebsockets-4.3.3/lib/roles/ws/ops-ws.c:1170:6: note: Assignment 'm=0', assigned value is 0 libwebsockets-4.3.3/lib/roles/ws/ops-ws.c:1200:11: note: Condition 'm' is always false libwebsockets-4.3.3/lib/roles/ws/ops-ws.c:612:6: style: Variable 'n' is reassigned a value before the old one has been used. [redundantAssignment] libwebsockets-4.3.3/lib/roles/ws/ops-ws.c:603:6: note: n is assigned libwebsockets-4.3.3/lib/roles/ws/ops-ws.c:612:6: note: n is overwritten libwebsockets-4.3.3/lib/secure-streams/protocols/ss-mqtt.c:596:31: style: Condition 'h->policy->u.mqtt.subscribe' is always true [knownConditionTrueFalse] libwebsockets-4.3.3/lib/roles/ws/ops-ws.c:910:19: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/roles/ws/ops-ws.c:1924:43: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/roles/ws/ops-ws.c:1940:42: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/roles/ws/ops-ws.c:2007:41: style: Parameter 'vh' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/roles/ws/ops-ws.c:1071:6: style: Variable 'n' is assigned a value that is never used. [unreadVariable] libwebsockets-4.3.3/lib/roles/ws/ops-ws.c:1241:5: style: Variable 'n' is assigned a value that is never used. [unreadVariable] libwebsockets-4.3.3/lib/secure-streams/system/fetch-policy/fetch-policy.c:63:26: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'ss_fetch_policy_tx' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/secure-streams/system/fetch-policy/fetch-policy.c:148:17: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/secure-streams/system/fetch-policy/fetch-policy.c:63:26: note: Parameter 'userobj' can be declared as pointer to const libwebsockets-4.3.3/lib/secure-streams/system/fetch-policy/fetch-policy.c:63:69: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'ss_fetch_policy_tx' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/secure-streams/system/fetch-policy/fetch-policy.c:148:17: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/secure-streams/system/fetch-policy/fetch-policy.c:63:69: note: Parameter 'buf' can be declared as pointer to const libwebsockets-4.3.3/lib/secure-streams/system/fetch-policy/fetch-policy.c:64:14: style: Parameter 'len' can be declared as pointer to const. However it seems that 'ss_fetch_policy_tx' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/secure-streams/system/fetch-policy/fetch-policy.c:148:17: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/secure-streams/system/fetch-policy/fetch-policy.c:64:14: note: Parameter 'len' can be declared as pointer to const libwebsockets-4.3.3/lib/secure-streams/system/fetch-policy/fetch-policy.c:64:24: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'ss_fetch_policy_tx' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/secure-streams/system/fetch-policy/fetch-policy.c:148:17: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/secure-streams/system/fetch-policy/fetch-policy.c:64:24: note: Parameter 'flags' can be declared as pointer to const libwebsockets-4.3.3/lib/secure-streams/secure-streams-serialize.c:1430:12: style: Variable 'par->ps' is reassigned a value before the old one has been used. [redundantAssignment] libwebsockets-4.3.3/lib/secure-streams/secure-streams-serialize.c:1429:11: note: par->ps is assigned libwebsockets-4.3.3/lib/secure-streams/secure-streams-serialize.c:1430:12: note: par->ps is overwritten libwebsockets-4.3.3/lib/secure-streams/secure-streams-serialize.c:1040:24: style: Local variable 'h' shadows outer variable [shadowVariable] libwebsockets-4.3.3/lib/secure-streams/secure-streams-serialize.c:367:21: note: Shadowed declaration libwebsockets-4.3.3/lib/secure-streams/secure-streams-serialize.c:1040:24: note: Shadow variable libwebsockets-4.3.3/lib/secure-streams/system/auth-sigv4/sign.c:91:21: style: Variable 'polmd' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/secure-streams/system/auth-sigv4/sign.c:138:18: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/secure-streams/system/auth-sigv4/sign.c:197:25: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/secure-streams/system/auth-sigv4/sign.c:286:17: style: Parameter 's' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/system/dhcpclient/dhcpclient.c:59:19: style: Variable 'r' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/system/dhcpclient/dhcpclient.c:140:38: style: Parameter 'opaque' can be declared as pointer to const. However it seems that '_remove_if' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/system/dhcpclient/dhcpclient.c:153:62: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/system/dhcpclient/dhcpclient.c:140:38: note: Parameter 'opaque' can be declared as pointer to const libwebsockets-4.3.3/lib/system/dhcpclient/dhcpc4.c:334:51: style: Variable 'end' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/secure-streams/secure-streams.c:495:21: style: Variable 'md' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/secure-streams/secure-streams.c:496:7: style: Variable 'hmd' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/secure-streams/secure-streams.c:681:14: style: Variable 'wsi' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/secure-streams/secure-streams.c:1691:39: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/secure-streams/secure-streams.c:1697:42: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/system/fault-injection/fault-injection.c:165:29: style: Parameter 'fic' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/system/system.c:33:40: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/system/async-dns/async-dns.c:770:8: style: The if condition is the same as the previous if condition [duplicateCondition] libwebsockets-4.3.3/lib/system/async-dns/async-dns.c:732:8: note: First condition libwebsockets-4.3.3/lib/system/async-dns/async-dns.c:770:8: note: Second condition libwebsockets-4.3.3/lib/system/async-dns/async-dns.c:287:24: style: Parameter 'in' can be declared as pointer to const. However it seems that 'callback_async_dns' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/system/async-dns/async-dns.c:330:19: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/system/async-dns/async-dns.c:287:24: note: Parameter 'in' can be declared as pointer to const libwebsockets-4.3.3/lib/system/async-dns/async-dns.c:568:34: style: Parameter 'user' can be declared as pointer to const. However it seems that 'cancel' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/system/async-dns/async-dns.c:592:44: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/system/async-dns/async-dns.c:568:34: note: Parameter 'user' can be declared as pointer to const libwebsockets-4.3.3/lib/system/async-dns/async-dns.c:574:15: style: Variable 'w' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/system/metrics/metrics.c:288:7: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] libwebsockets-4.3.3/lib/system/metrics/metrics.c:283:6: note: outer condition: !mp libwebsockets-4.3.3/lib/system/metrics/metrics.c:288:7: note: identical inner condition: !mp libwebsockets-4.3.3/lib/system/metrics/metrics.c:796:7: style: Condition '*sub' is always true [knownConditionTrueFalse] libwebsockets-4.3.3/lib/system/metrics/metrics.c:279:45: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/system/metrics/metrics.c:388:27: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/system/smd/smd.c:592:23: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] libwebsockets-4.3.3/lib/system/smd/smd.c:592:23: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] libwebsockets-4.3.3/lib/system/smd/smd.c:229:2: warning: Either the condition '!pr->tail' is redundant or there is possible null pointer dereference: msg. [nullPointerRedundantCheck] libwebsockets-4.3.3/lib/system/smd/smd.c:247:11: note: Assuming that condition '!pr->tail' is not redundant libwebsockets-4.3.3/lib/system/smd/smd.c:245:15: note: Assignment to 'pr->tail=msg' libwebsockets-4.3.3/lib/system/smd/smd.c:229:2: note: Null pointer dereference libwebsockets-4.3.3/lib/system/smd/smd.c:111:53: style: Parameter 'pr' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/system/smd/smd.c:111:72: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/system/smd/smd.c:122:31: style: Parameter 'exc' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/system/smd/smd.c:148:19: style: Variable 'pr' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/system/smd/smd.c:748:19: style: Variable 'pr' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/tls/mbedtls/lws-genec.c:194:78: style: Parameter 'el' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/tls/mbedtls/mbedtls-extensions.c:407:6: style: Variable 'r' is assigned a value that is never used. [unreadVariable] libwebsockets-4.3.3/lib/tls/mbedtls/mbedtls-client.c:289:8: style: Variable 'peer' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/tls/mbedtls/mbedtls-session.c:114:39: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/tls/mbedtls/mbedtls-tls.c:47:52: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/tls/mbedtls/mbedtls-ssl.c:300:45: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_pkey.c:177:9: style: Condition '!ret' is always false [knownConditionTrueFalse] libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_pkey.c:176:33: note: Calling function 'SSL_CTX_use_PrivateKey' returns 1 libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_pkey.c:176:33: note: Assignment 'ret=SSL_CTX_use_PrivateKey(ctx,pk)', assigned value is 1 libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_pkey.c:177:9: note: Condition '!ret' is always false libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_pkey.c:206:9: style: Condition '!ret' is always false [knownConditionTrueFalse] libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_pkey.c:205:29: note: Calling function 'SSL_use_PrivateKey' returns 1 libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_pkey.c:205:29: note: Assignment 'ret=SSL_use_PrivateKey(ssl,pk)', assigned value is 1 libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_pkey.c:206:9: note: Condition '!ret' is always false libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_pkey.c:222:42: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_pkey.c:230:38: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_x509.c:269:9: style: Condition '!ret' is always false [knownConditionTrueFalse] libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_x509.c:268:34: note: Calling function 'SSL_CTX_use_certificate' returns 1 libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_x509.c:268:34: note: Assignment 'ret=SSL_CTX_use_certificate(ctx,x)', assigned value is 1 libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_x509.c:269:9: note: Condition '!ret' is always false libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_x509.c:297:9: style: Condition '!ret' is always false [knownConditionTrueFalse] libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_x509.c:296:30: note: Calling function 'SSL_use_certificate' returns 1 libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_x509.c:296:30: note: Assignment 'ret=SSL_use_certificate(ssl,x)', assigned value is 1 libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_x509.c:297:9: note: Condition '!ret' is always false libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_x509.c:137:56: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_x509.c:148:58: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_x509.c:313:43: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_x509.c:321:35: style: Parameter 'ssl' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_x509.c:336:46: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_x509.c:341:52: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_lib.c:1227:21: style: Variable 'alpn_protos[count]' is reassigned a value before the old one has been used. [redundantAssignment] libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_lib.c:1225:22: note: alpn_protos[count] is assigned libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_lib.c:1227:21: note: alpn_protos[count] is overwritten libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_lib.c:1165:43: style: Parameter 'ac' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/tls/openssl/lws-genaes.c:319:13: style: Parameter 'stream_block_16' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/platform/ssl_pm.c:84:38: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'ssl_platform_debug' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/platform/ssl_pm.c:200:41: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/platform/ssl_pm.c:84:38: note: Parameter 'ctx' can be declared as pointer to const libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/platform/ssl_pm.c:375:18: style: Variable 'x509_pm' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/platform/ssl_pm.c:386:18: style: Variable 'x509_pm' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/platform/ssl_pm.c:578:29: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/platform/ssl_pm.c:802:30: style: Parameter 'ssl' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/platform/ssl_pm.c:912:31: style: Parameter 'ssl' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/platform/ssl_pm.c:912:41: style: Parameter 'cb' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/platform/ssl_pm.c:913:43: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/platform/ssl_pm.c:925:17: style: Variable 'ssl_pm' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/tls/openssl/lws-genec.c:301:78: style: Parameter 'el' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/tls/openssl/openssl-session.c:127:39: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/tls/openssl/openssl-ssl.c:104:2: error: syntax error [syntaxError] libwebsockets-4.3.3/lib/tls/openssl/openssl-x509.c:38:45: style: Parameter 'as' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/lib/tls/tls-jit-trust.c:89:1: error: Unmatched '{'. Configuration: '__GNUC__=1'. [syntaxError] libwebsockets-4.3.3/lib/tls/tls-network.c:40:15: style: Variable 'wsi' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/lib/tls/openssl/openssl-client.c:197:7: style: Local variable 'err' shadows outer variable [shadowVariable] libwebsockets-4.3.3/lib/tls/openssl/openssl-client.c:93:9: note: Shadowed declaration libwebsockets-4.3.3/lib/tls/openssl/openssl-client.c:197:7: note: Shadow variable libwebsockets-4.3.3/lib/tls/openssl/openssl-client.c:93:13: style: Variable 'err' is assigned a value that is never used. [unreadVariable] libwebsockets-4.3.3/lwsws/main.c:328:2: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] libwebsockets-4.3.3/minimal-examples-lowlevel/raw/minimal-raw-client/main.c:42:23: style: Parameter 'in' can be declared as pointer to const. However it seems that 'callback_raw_test' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples-lowlevel/raw/minimal-raw-client/main.c:137:16: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples-lowlevel/raw/minimal-raw-client/main.c:42:23: note: Parameter 'in' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/abstract/protocols/smtp-client/main.c:51:20: style: Unused variable: email [unusedVariable] libwebsockets-4.3.3/lib/tls/tls.c:327:34: style: Variable 'opem' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-fts/main.c:77:13: style: Condition 'n>=0' is always true [knownConditionTrueFalse] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-fts/main.c:47:9: note: Assuming that condition 'n<0' is not redundant libwebsockets-4.3.3/minimal-examples/api-tests/api-test-fts/main.c:77:13: note: Condition 'n>=0' is always true libwebsockets-4.3.3/minimal-examples/api-tests/api-test-fts/main.c:125:9: style: Local variable 'n' shadows outer variable [shadowVariable] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-fts/main.c:33:6: note: Shadowed declaration libwebsockets-4.3.3/minimal-examples/api-tests/api-test-fts/main.c:125:9: note: Shadow variable libwebsockets-4.3.3/minimal-examples/api-tests/api-test-fts/main.c:168:16: style: Local variable 'n' shadows outer variable [shadowVariable] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-fts/main.c:33:6: note: Shadowed declaration libwebsockets-4.3.3/minimal-examples/api-tests/api-test-fts/main.c:168:16: note: Shadow variable libwebsockets-4.3.3/minimal-examples/api-tests/api-test-cose/sign.c:675:27: style: Variable 'res' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_cache/main.c:68:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_cache/main.c:69:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_sequencer/main.c:327:24: style: Variable 'seq' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_smd/main.c:108:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_smd/main.c:33:18: style: Parameter 'opaque' can be declared as pointer to const. However it seems that 'smd_cb1int' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_smd/main.c:229:10: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_smd/main.c:33:18: note: Parameter 'opaque' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_smd/main.c:34:11: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'smd_cb1int' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_smd/main.c:229:10: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_smd/main.c:34:11: note: Parameter 'buf' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_smd/main.c:47:18: style: Parameter 'opaque' can be declared as pointer to const. However it seems that 'smd_cb2int' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_smd/main.c:237:10: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_smd/main.c:47:18: note: Parameter 'opaque' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_smd/main.c:48:11: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'smd_cb2int' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_smd/main.c:237:10: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_smd/main.c:48:11: note: Parameter 'buf' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:710:18: style: Local variable 'buf' shadows outer variable [shadowVariable] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:517:10: note: Shadowed declaration libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:710:18: note: Shadow variable libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:712:7: style: Local variable 'n' shadows outer variable [shadowVariable] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:514:6: note: Shadowed declaration libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:712:7: note: Shadow variable libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:742:20: style: Local variable 'o' shadows outer variable [shadowVariable] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:524:15: note: Shadowed declaration libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:742:20: note: Shadow variable libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:772:21: style: Local variable 'a' shadows outer variable [shadowVariable] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:521:20: note: Shadowed declaration libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:772:21: note: Shadow variable libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:773:19: style: Local variable 'ctx' shadows outer variable [shadowVariable] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:520:18: note: Shadowed declaration libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:773:19: note: Shadow variable libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:774:7: style: Local variable 'm' shadows outer variable [shadowVariable] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:514:9: note: Shadowed declaration libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:774:7: note: Shadow variable libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:24:15: style: struct member 'sai_jig_gpio_t::name' is never used. [unusedStructMember] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:25:15: style: struct member 'sai_jig_gpio_t::wire' is never used. [unusedStructMember] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:27:8: style: struct member 'sai_jig_gpio_t::chip_idx' is never used. [unusedStructMember] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:28:8: style: struct member 'sai_jig_gpio_t::offset' is never used. [unusedStructMember] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:29:8: style: struct member 'sai_jig_gpio_t::safe' is never used. [unusedStructMember] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:34:19: style: struct member 'sai_jig_seq_item_t::gpio' is never used. [unusedStructMember] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:35:15: style: struct member 'sai_jig_seq_item_t::gpio_name' is never used. [unusedStructMember] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:36:8: style: struct member 'sai_jig_seq_item_t::value' is never used. [unusedStructMember] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:42:15: style: struct member 'sai_jig_sequence_t::name' is never used. [unusedStructMember] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:51:22: style: struct member 'sai_jig_target_t::current' is never used. [unusedStructMember] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:53:15: style: struct member 'sai_jig_target_t::name' is never used. [unusedStructMember] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:55:15: style: struct member 'sai_jig_target_t::wsi' is never used. [unusedStructMember] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:61:17: style: struct member 'sai_jig_t::ac_conf' is never used. [unusedStructMember] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:62:8: style: struct member 'sai_jig_t::port' is never used. [unusedStructMember] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:63:15: style: struct member 'sai_jig_t::iface' is never used. [unusedStructMember] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:64:22: style: struct member 'sai_jig_t::ctx' is never used. [unusedStructMember] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:349:9: style: struct member 'sai_target::someflag' is never used. [unusedStructMember] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:471:7: style: struct member 'xlws_wifi_creds::alg' is never used. [unusedStructMember] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_struct-json/main.c:472:8: style: struct member 'xlws_wifi_creds::bssid' is never used. [unusedStructMember] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lecp/main.c:4659:18: style: Local variable 'ctx' shadows outer variable [shadowVariable] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lecp/main.c:4608:18: note: Shadowed declaration libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lecp/main.c:4659:18: note: Shadow variable libwebsockets-4.3.3/minimal-examples/api-tests/api-test-secure-streams/main.c:305:22: style: Local variable 'context' shadows outer variable [shadowVariable] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-secure-streams/main.c:18:28: note: Shadowed declaration libwebsockets-4.3.3/minimal-examples/api-tests/api-test-secure-streams/main.c:305:22: note: Shadow variable libwebsockets-4.3.3/minimal-examples/api-tests/api-test-secure-streams/main.c:160:19: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'myss_tx_get' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-secure-streams/main.c:279:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/api-tests/api-test-secure-streams/main.c:160:19: note: Parameter 'userobj' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/api-tests/api-test-secure-streams/main.c:160:62: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'myss_tx_get' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-secure-streams/main.c:279:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/api-tests/api-test-secure-streams/main.c:160:62: note: Parameter 'buf' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/api-tests/api-test-secure-streams/main.c:160:75: style: Parameter 'len' can be declared as pointer to const. However it seems that 'myss_tx_get' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-secure-streams/main.c:279:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/api-tests/api-test-secure-streams/main.c:160:75: note: Parameter 'len' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/api-tests/api-test-secure-streams/main.c:161:11: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'myss_tx_get' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-secure-streams/main.c:279:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/api-tests/api-test-secure-streams/main.c:161:11: note: Parameter 'flags' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_tokenize/main.c:390:15: style: Local variable 'p' shadows outer variable [shadowVariable] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_tokenize/main.c:329:14: note: Shadowed declaration libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_tokenize/main.c:390:15: note: Shadow variable libwebsockets-4.3.3/minimal-examples/crypto/minimal-crypto-cose-key/main.c:214:21: style: Local variable 'ck' shadows outer variable [shadowVariable] libwebsockets-4.3.3/minimal-examples/crypto/minimal-crypto-cose-key/main.c:118:18: note: Shadowed declaration libwebsockets-4.3.3/minimal-examples/crypto/minimal-crypto-cose-key/main.c:214:21: note: Shadow variable libwebsockets-4.3.3/minimal-examples/crypto/minimal-crypto-cose-key/main.c:216:35: style: Variable 'ke' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/minimal-examples/crypto/minimal-crypto-jwk/main.c:167:5: error: Resource leak: fd [resourceLeak] libwebsockets-4.3.3/minimal-examples/dbus-server/minimal-dbus-server/main.c:44:24: error: There is an unknown macro here somewhere. Configuration is required. If DBUS_INTERFACE_INTROSPECTABLE is a macro then please configure it. [unknownMacro] libwebsockets-4.3.3/minimal-examples/crypto/minimal-crypto-cose-sign/main.c:369:9: style: Condition 'ke' is always true [knownConditionTrueFalse] libwebsockets-4.3.3/minimal-examples/crypto/minimal-crypto-cose-sign/main.c:84:42: style: Parameter 'cps' can be declared as pointer to const. However it seems that 'pay_cb' is a callback function, if 'cps' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/crypto/minimal-crypto-cose-sign/main.c:316:15: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/crypto/minimal-crypto-cose-sign/main.c:84:42: note: Parameter 'cps' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/crypto/minimal-crypto-cose-sign/main.c:84:53: style: Parameter 'opaque' can be declared as pointer to const. However it seems that 'pay_cb' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/crypto/minimal-crypto-cose-sign/main.c:316:15: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/crypto/minimal-crypto-cose-sign/main.c:84:53: note: Parameter 'opaque' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/dbus-server/minimal-dbus-ws-proxy/protocol_lws_minimal_dbus_ws_proxy.c:108:24: error: There is an unknown macro here somewhere. Configuration is required. If DBUS_INTERFACE_INTROSPECTABLE is a macro then please configure it. [unknownMacro] libwebsockets-4.3.3/minimal-examples/embedded/esp32/esp-c3dev/lws-button.c:447:45: style: Parameter 'bcs' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/minimal-examples/gtk/minimal-gtk/main.c:198:6: style: Local variable 'status' shadows outer variable [shadowVariable] libwebsockets-4.3.3/minimal-examples/gtk/minimal-gtk/main.c:4:12: note: Shadowed declaration libwebsockets-4.3.3/minimal-examples/gtk/minimal-gtk/main.c:198:6: note: Shadow variable libwebsockets-4.3.3/minimal-examples/gtk/minimal-gtk/main.c:7:24: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'print_hello' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/gtk/minimal-gtk/main.c:26:49: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/gtk/minimal-gtk/main.c:7:24: note: Parameter 'widget' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/gtk/minimal-gtk/main.c:35:39: style: Parameter 'mgr' can be declared as pointer to const. However it seems that 'system_notify_cb' is a callback function, if 'mgr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/gtk/minimal-gtk/main.c:134:7: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/gtk/minimal-gtk/main.c:35:39: note: Parameter 'mgr' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/http-client/minimal-http-client-attach/minimal-http-client-attach.c:247:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] libwebsockets-4.3.3/minimal-examples/http-client/minimal-http-client-h2-rxflow/minimal-http-client.c:151:39: style: Parameter 'mgr' can be declared as pointer to const. However it seems that 'system_notify_cb' is a callback function, if 'mgr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/http-client/minimal-http-client-h2-rxflow/minimal-http-client.c:239:7: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/http-client/minimal-http-client-h2-rxflow/minimal-http-client.c:151:39: note: Parameter 'mgr' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/http-client/minimal-http-client-multi/minimal-http-client-multi.c:388:3: error: Address of local auto-variable assigned to a function parameter. [autoVariables] libwebsockets-4.3.3/minimal-examples/http-client/minimal-http-client-multi/minimal-http-client-multi.c:412:22: style: Local variable 'context' shadows outer variable [shadowVariable] libwebsockets-4.3.3/minimal-examples/http-client/minimal-http-client-multi/minimal-http-client-multi.c:63:28: note: Shadowed declaration libwebsockets-4.3.3/minimal-examples/http-client/minimal-http-client-multi/minimal-http-client-multi.c:412:22: note: Shadow variable libwebsockets-4.3.3/minimal-examples/http-client/minimal-http-client-multi/minimal-http-client-multi.c:409:39: style: Parameter 'mgr' can be declared as pointer to const. However it seems that 'system_notify_cb' is a callback function, if 'mgr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/http-client/minimal-http-client-multi/minimal-http-client-multi.c:519:7: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/http-client/minimal-http-client-multi/minimal-http-client-multi.c:409:39: note: Parameter 'mgr' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/http-client/minimal-http-client-multi/minimal-http-client-multi.c:51:6: style: struct member 'cliuser::index' is never used. [unusedStructMember] libwebsockets-4.3.3/minimal-examples/http-client/minimal-http-client/minimal-http-client.c:219:39: style: Parameter 'mgr' can be declared as pointer to const. However it seems that 'system_notify_cb' is a callback function, if 'mgr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/http-client/minimal-http-client/minimal-http-client.c:341:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/http-client/minimal-http-client/minimal-http-client.c:219:39: note: Parameter 'mgr' can be declared as pointer to const libwebsockets-4.3.3/lib/tls/mbedtls/lws-genrsa.c:475:36: style: Variable 'end' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/glib.c:48:22: style: Parameter 'p' can be declared as pointer to const. However it seems that 'signal_cb_glib' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/glib.c:61:44: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/glib.c:48:22: note: Parameter 'p' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/libev.c:32:30: style: Parameter 'loop' can be declared as pointer to const. However it seems that 'signal_cb_ev' is a callback function, if 'loop' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/libev.c:44:33: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/libev.c:32:30: note: Parameter 'loop' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/libev.c:32:54: style: Parameter 'watcher' can be declared as pointer to const. However it seems that 'signal_cb_ev' is a callback function, if 'watcher' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/libev.c:44:33: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/libev.c:32:54: note: Parameter 'watcher' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/libsdevent.c:39:31: style: Parameter 'source' can be declared as pointer to const. However it seems that 'signal_cb_sd' is a callback function, if 'source' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/libsdevent.c:54:51: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/libsdevent.c:39:31: note: Parameter 'source' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/libsdevent.c:40:20: style: Parameter 'user' can be declared as pointer to const. However it seems that 'signal_cb_sd' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/libsdevent.c:54:51: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/libsdevent.c:40:20: note: Parameter 'user' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/libuv.c:38:27: style: Parameter 'watcher' can be declared as pointer to const. However it seems that 'signal_cb_uv' is a callback function, if 'watcher' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/libuv.c:52:34: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/libuv.c:38:27: note: Parameter 'watcher' can be declared as pointer to const libwebsockets-4.3.3/plugins/protocol_lws_status.c:207:5: style: Variable 'm' is reassigned a value before the old one has been used. [redundantAssignment] libwebsockets-4.3.3/plugins/protocol_lws_status.c:168:8: note: m is assigned libwebsockets-4.3.3/plugins/protocol_lws_status.c:207:5: note: m is overwritten libwebsockets-4.3.3/plugins/protocol_lws_mirror.c:126:11: style: Unsigned expression 'wai' can't be negative so it is unnecessary to test it. [unsignedPositive] libwebsockets-4.3.3/plugins/protocol_lws_mirror.c:117:24: note: Assignment 'worst=0', assigned value is 0 libwebsockets-4.3.3/plugins/protocol_lws_mirror.c:126:11: note: Unsigned positive libwebsockets-4.3.3/plugins/protocol_lws_mirror.c:118:39: style: Variable 'worst_pss' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/plugins/protocol_lws_mirror.c:195:25: style: Parameter 'in' can be declared as pointer to const. However it seems that 'callback_lws_mirror' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-demos/minimal-http-server-eventlib-demos.c:34:2: note: You might need to cast the function pointer here libwebsockets-4.3.3/plugins/protocol_lws_mirror.c:195:25: note: Parameter 'in' can be declared as pointer to const libwebsockets-4.3.3/plugins/protocol_post_demo.c:70:15: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'file_upload_cb' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/plugins/protocol_post_demo.c:190:6: note: You might need to cast the function pointer here libwebsockets-4.3.3/plugins/protocol_post_demo.c:70:15: note: Parameter 'buf' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-form-post-file/minimal-http-server-form-post-file.c:51:15: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'file_upload_cb' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-form-post-file/minimal-http-server-form-post-file.c:134:6: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-form-post-file/minimal-http-server-form-post-file.c:51:15: note: Parameter 'buf' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/embedded/esp32/esp-wrover-kit/main/lws-minimal-esp32.c:66:43: style: Parameter 'sul' can be declared as pointer to const. However it seems that 'completion_sul_cb' is a callback function, if 'sul' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/embedded/esp32/esp-wrover-kit/main/lws-minimal-esp32.c:99:43: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/embedded/esp32/esp-wrover-kit/main/lws-minimal-esp32.c:66:43: note: Parameter 'sul' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-sse-ring/minimal-http-server-sse-ring.c:139:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] libwebsockets-4.3.3/minimal-examples/http-client/minimal-http-client-jit-trust/minimal-http-client.c:355:39: style: Parameter 'mgr' can be declared as pointer to const. However it seems that 'system_notify_cb' is a callback function, if 'mgr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/http-client/minimal-http-client-jit-trust/minimal-http-client.c:410:7: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/http-client/minimal-http-client-jit-trust/minimal-http-client.c:355:39: note: Parameter 'mgr' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-tls/minimal-http-server-tls.c:80:41: style: Parameter 'siginfo' can be declared as pointer to const. However it seems that 'sigint_handler' is a callback function, if 'siginfo' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-tls/minimal-http-server-tls.c:105:22: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-tls/minimal-http-server-tls.c:80:41: note: Parameter 'siginfo' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/raw/minimal-raw-adopt-tcp/minimal-raw-adopt-tcp.c:161:3: error: Memory leak: sock.sockfd [memleak] libwebsockets-4.3.3/minimal-examples/mqtt-client/minimal-mqtt-client-multi/minimal-mqtt-client-multi.c:166:39: style: Parameter 'mgr' can be declared as pointer to const. However it seems that 'system_notify_cb' is a callback function, if 'mgr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/mqtt-client/minimal-mqtt-client-multi/minimal-mqtt-client-multi.c:386:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/mqtt-client/minimal-mqtt-client-multi/minimal-mqtt-client-multi.c:166:39: note: Parameter 'mgr' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/mqtt-client/minimal-mqtt-client/minimal-mqtt-client.c:138:39: style: Parameter 'mgr' can be declared as pointer to const. However it seems that 'system_notify_cb' is a callback function, if 'mgr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/mqtt-client/minimal-mqtt-client/minimal-mqtt-client.c:311:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/mqtt-client/minimal-mqtt-client/minimal-mqtt-client.c:138:39: note: Parameter 'mgr' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/raw/minimal-raw-netcat/minimal-raw-netcat.c:216:3: error: Memory leak: sock.sockfd [memleak] libwebsockets-4.3.3/minimal-examples/raw/minimal-raw-netcat/minimal-raw-netcat.c:42:23: style: Parameter 'in' can be declared as pointer to const. However it seems that 'callback_raw_test' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/raw/minimal-raw-netcat/minimal-raw-netcat.c:131:16: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/raw/minimal-raw-netcat/minimal-raw-netcat.c:42:23: note: Parameter 'in' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-alexa/alexa.c:533:22: style: Variable 'context' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-alexa/alexa.c:576:23: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'ss_avs_event_rx' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-alexa/alexa.c:662:17: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-alexa/alexa.c:576:23: note: Parameter 'userobj' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-alexa/alexa.c:582:23: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'ss_avs_event_tx' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-alexa/alexa.c:663:17: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-alexa/alexa.c:582:23: note: Parameter 'userobj' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-alexa/alexa.c:582:66: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'ss_avs_event_tx' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-alexa/alexa.c:663:17: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-alexa/alexa.c:582:66: note: Parameter 'buf' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-alexa/alexa.c:583:17: style: Parameter 'len' can be declared as pointer to const. However it seems that 'ss_avs_event_tx' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-alexa/alexa.c:663:17: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-alexa/alexa.c:583:17: note: Parameter 'len' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-alexa/alexa.c:583:27: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'ss_avs_event_tx' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-alexa/alexa.c:663:17: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-alexa/alexa.c:583:27: note: Parameter 'flags' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-client-tx/minimal-secure-streams-client-tx.c:166:15: style: Local variable 'p' shadows outer variable [shadowVariable] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-client-tx/minimal-secure-streams-client-tx.c:146:14: note: Shadowed declaration libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-client-tx/minimal-secure-streams-client-tx.c:166:15: note: Shadow variable libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-client-tx/minimal-secure-streams-client-tx.c:41:15: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'myss_rx' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-client-tx/minimal-secure-streams-client-tx.c:134:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-client-tx/minimal-secure-streams-client-tx.c:41:15: note: Parameter 'userobj' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-cpp/main.cxx:22:16: style: C-style pointer casting [cstyleCast] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-blob/minimal-secure-streams.c:245:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-blob/minimal-secure-streams.c:286:15: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-blob/minimal-secure-streams.c:432:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-blob/minimal-secure-streams.c:286:15: note: Parameter 'userobj' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-blob/minimal-secure-streams.c:286:58: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-blob/minimal-secure-streams.c:432:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-blob/minimal-secure-streams.c:286:58: note: Parameter 'buf' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-blob/minimal-secure-streams.c:286:71: style: Parameter 'len' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-blob/minimal-secure-streams.c:432:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-blob/minimal-secure-streams.c:286:71: note: Parameter 'len' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-blob/minimal-secure-streams.c:287:7: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-blob/minimal-secure-streams.c:432:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-blob/minimal-secure-streams.c:287:7: note: Parameter 'flags' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-metadata/minimal-secure-streams.c:175:15: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-metadata/minimal-secure-streams.c:239:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-metadata/minimal-secure-streams.c:175:15: note: Parameter 'userobj' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-metadata/minimal-secure-streams.c:175:58: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-metadata/minimal-secure-streams.c:239:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-metadata/minimal-secure-streams.c:175:58: note: Parameter 'buf' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-metadata/minimal-secure-streams.c:175:71: style: Parameter 'len' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-metadata/minimal-secure-streams.c:239:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-metadata/minimal-secure-streams.c:175:71: note: Parameter 'len' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-metadata/minimal-secure-streams.c:176:7: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-metadata/minimal-secure-streams.c:239:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-metadata/minimal-secure-streams.c:176:7: note: Parameter 'flags' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-perf/minimal-secure-streams.c:232:15: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-perf/minimal-secure-streams.c:375:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-perf/minimal-secure-streams.c:232:15: note: Parameter 'userobj' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-perf/minimal-secure-streams.c:232:58: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-perf/minimal-secure-streams.c:375:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-perf/minimal-secure-streams.c:232:58: note: Parameter 'buf' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-perf/minimal-secure-streams.c:232:71: style: Parameter 'len' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-perf/minimal-secure-streams.c:375:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-perf/minimal-secure-streams.c:232:71: note: Parameter 'len' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-perf/minimal-secure-streams.c:233:7: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-perf/minimal-secure-streams.c:375:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-perf/minimal-secure-streams.c:233:7: note: Parameter 'flags' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-proxy/main.c:157:22: style: Local variable 'context' shadows outer variable [shadowVariable] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-proxy/main.c:37:28: note: Shadowed declaration libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-proxy/main.c:157:22: note: Shadow variable libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-seq/minimal-secure-streams.c:175:15: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-seq/minimal-secure-streams.c:250:12: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-seq/minimal-secure-streams.c:175:15: note: Parameter 'userobj' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-seq/minimal-secure-streams.c:175:58: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-seq/minimal-secure-streams.c:250:12: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-seq/minimal-secure-streams.c:175:58: note: Parameter 'buf' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-seq/minimal-secure-streams.c:175:71: style: Parameter 'len' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-seq/minimal-secure-streams.c:250:12: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-seq/minimal-secure-streams.c:175:71: note: Parameter 'len' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-seq/minimal-secure-streams.c:176:7: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-seq/minimal-secure-streams.c:250:12: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-seq/minimal-secure-streams.c:176:7: note: Parameter 'flags' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-server/ss-client.c:46:15: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-server/ss-client.c:83:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-server/ss-client.c:46:15: note: Parameter 'userobj' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-server/ss-client.c:46:58: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-server/ss-client.c:83:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-server/ss-client.c:46:58: note: Parameter 'buf' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-server/ss-client.c:46:71: style: Parameter 'len' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-server/ss-client.c:83:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-server/ss-client.c:46:71: note: Parameter 'len' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-server/ss-client.c:47:7: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-server/ss-client.c:83:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-server/ss-client.c:47:7: note: Parameter 'flags' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-server/ss-server.c:87:14: style: Variable 'm' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-sigv4/ss-s3-ss.c:95:18: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-sigv4/ss-s3-ss.c:101:30: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-smd/multi.c:325:40: style: Parameter 'sul' can be declared as pointer to const. However it seems that 'sul_timeout_cb' is a callback function, if 'sul' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-smd/multi.c:404:45: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-smd/multi.c:325:40: note: Parameter 'sul' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-staticpolicy/minimal-secure-streams.c:82:15: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-staticpolicy/minimal-secure-streams.c:159:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-staticpolicy/minimal-secure-streams.c:82:15: note: Parameter 'userobj' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-staticpolicy/minimal-secure-streams.c:82:58: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-staticpolicy/minimal-secure-streams.c:159:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-staticpolicy/minimal-secure-streams.c:82:58: note: Parameter 'buf' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-staticpolicy/minimal-secure-streams.c:82:71: style: Parameter 'len' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-staticpolicy/minimal-secure-streams.c:159:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-staticpolicy/minimal-secure-streams.c:82:71: note: Parameter 'len' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-staticpolicy/minimal-secure-streams.c:83:7: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-staticpolicy/minimal-secure-streams.c:159:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-staticpolicy/minimal-secure-streams.c:83:7: note: Parameter 'flags' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-testsfail/minimal-secure-streams-testsfail.c:624:15: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-testsfail/minimal-secure-streams-testsfail.c:740:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-testsfail/minimal-secure-streams-testsfail.c:624:15: note: Parameter 'userobj' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-testsfail/minimal-secure-streams-testsfail.c:624:58: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-testsfail/minimal-secure-streams-testsfail.c:740:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-testsfail/minimal-secure-streams-testsfail.c:624:58: note: Parameter 'buf' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-testsfail/minimal-secure-streams-testsfail.c:624:71: style: Parameter 'len' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-testsfail/minimal-secure-streams-testsfail.c:740:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-testsfail/minimal-secure-streams-testsfail.c:624:71: note: Parameter 'len' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-testsfail/minimal-secure-streams-testsfail.c:625:7: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-testsfail/minimal-secure-streams-testsfail.c:740:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-testsfail/minimal-secure-streams-testsfail.c:625:7: note: Parameter 'flags' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-stress/minimal-secure-streams.c:584:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-stress/minimal-secure-streams.c:275:15: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-stress/minimal-secure-streams.c:415:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-stress/minimal-secure-streams.c:275:15: note: Parameter 'userobj' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-stress/minimal-secure-streams.c:275:58: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-stress/minimal-secure-streams.c:415:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-stress/minimal-secure-streams.c:275:58: note: Parameter 'buf' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-stress/minimal-secure-streams.c:275:71: style: Parameter 'len' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-stress/minimal-secure-streams.c:415:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-stress/minimal-secure-streams.c:275:71: note: Parameter 'len' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-stress/minimal-secure-streams.c:276:7: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-stress/minimal-secure-streams.c:415:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-stress/minimal-secure-streams.c:276:7: note: Parameter 'flags' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams/minimal-secure-streams.c:273:15: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams/minimal-secure-streams.c:471:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams/minimal-secure-streams.c:273:15: note: Parameter 'userobj' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams/minimal-secure-streams.c:273:58: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams/minimal-secure-streams.c:471:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams/minimal-secure-streams.c:273:58: note: Parameter 'buf' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams/minimal-secure-streams.c:273:71: style: Parameter 'len' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams/minimal-secure-streams.c:471:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams/minimal-secure-streams.c:273:71: note: Parameter 'len' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams/minimal-secure-streams.c:274:7: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams/minimal-secure-streams.c:471:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams/minimal-secure-streams.c:274:7: note: Parameter 'flags' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-threads/minimal-secure-streams-threads.c:114:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] libwebsockets-4.3.3/minimal-examples/ws-client/minimal-ws-client-binance/main.c:123:18: style: Local variable 'mco' shadows outer variable [shadowVariable] libwebsockets-4.3.3/minimal-examples/ws-client/minimal-ws-client-binance/main.c:40:3: note: Shadowed declaration libwebsockets-4.3.3/minimal-examples/ws-client/minimal-ws-client-binance/main.c:123:18: note: Shadow variable libwebsockets-4.3.3/minimal-examples/ws-client/minimal-ws-client-binance/main.c:176:18: style: Local variable 'mco' shadows outer variable [shadowVariable] libwebsockets-4.3.3/minimal-examples/ws-client/minimal-ws-client-binance/main.c:40:3: note: Shadowed declaration libwebsockets-4.3.3/minimal-examples/ws-client/minimal-ws-client-binance/main.c:176:18: note: Shadow variable libwebsockets-4.3.3/minimal-examples/ws-client/minimal-ws-client-binance/main.c:223:18: style: Local variable 'mco' shadows outer variable [shadowVariable] libwebsockets-4.3.3/minimal-examples/ws-client/minimal-ws-client-binance/main.c:40:3: note: Shadowed declaration libwebsockets-4.3.3/minimal-examples/ws-client/minimal-ws-client-binance/main.c:223:18: note: Shadow variable libwebsockets-4.3.3/minimal-examples/ws-client/minimal-ws-client-echo/protocol_lws_minimal_client_echo.c:190:30: style: Condition 'pmsg' is always true [knownConditionTrueFalse] libwebsockets-4.3.3/minimal-examples/ws-client/minimal-ws-client-tx/minimal-ws-client.c:124:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] libwebsockets-4.3.3/minimal-examples/ws-client/minimal-ws-client/minimal-ws-client.c:57:18: style: Local variable 'mco' shadows outer variable [shadowVariable] libwebsockets-4.3.3/minimal-examples/ws-client/minimal-ws-client/minimal-ws-client.c:26:3: note: Shadowed declaration libwebsockets-4.3.3/minimal-examples/ws-client/minimal-ws-client/minimal-ws-client.c:57:18: note: Shadow variable libwebsockets-4.3.3/minimal-examples/ws-client/minimal-ws-client/minimal-ws-client.c:92:18: style: Local variable 'mco' shadows outer variable [shadowVariable] libwebsockets-4.3.3/minimal-examples/ws-client/minimal-ws-client/minimal-ws-client.c:26:3: note: Shadowed declaration libwebsockets-4.3.3/minimal-examples/ws-client/minimal-ws-client/minimal-ws-client.c:92:18: note: Shadow variable libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-policy2c/minimal-secure-streams.c:641:10: style: The if condition is the same as the previous if condition [duplicateCondition] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-policy2c/minimal-secure-streams.c:639:10: note: First condition libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-policy2c/minimal-secure-streams.c:641:10: note: Second condition libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-policy2c/minimal-secure-streams.c:110:7: style: Local variable 'm' shadows outer variable [shadowVariable] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-policy2c/minimal-secure-streams.c:79:22: note: Shadowed declaration libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-policy2c/minimal-secure-streams.c:110:7: note: Shadow variable libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-policy2c/minimal-secure-streams.c:110:10: style: Local variable 'n' shadows outer variable [shadowVariable] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-policy2c/minimal-secure-streams.c:79:25: note: Shadowed declaration libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-policy2c/minimal-secure-streams.c:110:10: note: Shadow variable libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-policy2c/minimal-secure-streams.c:81:21: style: Variable 'md' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-policy2c/minimal-secure-streams.c:487:44: style: Variable 'last' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-broker/protocol_lws_minimal.c:78:22: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-broker/protocol_lws_minimal.c:78:22: style: Parameter 'in' can be declared as pointer to const. However it seems that 'callback_minimal' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-broker/minimal-ws-broker.c:26:2: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-broker/protocol_lws_minimal.c:78:22: note: Parameter 'in' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-raw-proxy/minimal-ws-raw-proxy.c:74:23: style: Parameter 'in' can be declared as pointer to const. However it seems that 'callback_proxy_ws_server' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-raw-proxy/minimal-ws-raw-proxy.c:366:21: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-raw-proxy/minimal-ws-raw-proxy.c:74:23: note: Parameter 'in' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-raw-proxy/minimal-ws-raw-proxy.c:235:24: style: Parameter 'in' can be declared as pointer to const. However it seems that 'callback_proxy_raw_client' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-raw-proxy/minimal-ws-raw-proxy.c:367:22: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-raw-proxy/minimal-ws-raw-proxy.c:235:24: note: Parameter 'in' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server-echo/protocol_lws_minimal_server_echo.c:150:30: style: Condition 'pmsg' is always true [knownConditionTrueFalse] libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server-pmd/protocol_lws_minimal.c:64:22: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server-pmd/protocol_lws_minimal.c:64:22: style: Parameter 'in' can be declared as pointer to const. However it seems that 'callback_minimal' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server-pmd/minimal-ws-server-pmd.c:25:2: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server-pmd/protocol_lws_minimal.c:64:22: note: Parameter 'in' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server-ring/protocol_lws_minimal.c:152:22: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server-ring/protocol_lws_minimal.c:152:22: style: Parameter 'in' can be declared as pointer to const. However it seems that 'callback_minimal' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server-ring/minimal-ws-server-ring.c:26:2: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server-ring/protocol_lws_minimal.c:152:22: note: Parameter 'in' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server-threadpool/protocol_lws_minimal_threadpool.c:125:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server-threadpool/protocol_lws_minimal_threadpool.c:162:43: style: Local variable 'pvo' shadows outer variable [shadowVariable] libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server-threadpool/minimal-ws-server-threadpool.c:79:48: note: Shadowed declaration libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server-threadpool/protocol_lws_minimal_threadpool.c:162:43: note: Shadow variable libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server-threads-foreign-libuv-smp/protocol_lws_minimal.c:133:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server-threads-smp/protocol_lws_minimal.c:130:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server-threads-smp/protocol_lws_minimal.c:153:43: style: Local variable 'pvo' shadows outer variable [shadowVariable] libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server-threads-smp/minimal-ws-server.c:83:48: note: Shadowed declaration libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server-threads-smp/protocol_lws_minimal.c:153:43: note: Shadow variable libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server-threads-smp/minimal-ws-server.c:106:22: style: Local variable 'context' shadows outer variable [shadowVariable] libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server-threads-smp/minimal-ws-server.c:43:28: note: Shadowed declaration libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server-threads-smp/minimal-ws-server.c:106:22: note: Shadow variable libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server-threads-smp/minimal-ws-server.c:103:39: style: Parameter 'mgr' can be declared as pointer to const. However it seems that 'system_notify_cb' is a callback function, if 'mgr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server-threads-smp/minimal-ws-server.c:139:10: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server-threads-smp/minimal-ws-server.c:103:39: note: Parameter 'mgr' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server-threads/protocol_lws_minimal.c:130:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server-threads/protocol_lws_minimal.c:153:43: style: Local variable 'pvo' shadows outer variable [shadowVariable] libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server-threads/minimal-ws-server.c:79:48: note: Shadowed declaration libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server-threads/protocol_lws_minimal.c:153:43: note: Shadow variable libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server-threads-foreign-libuv-smp/protocol_lws_minimal.c:156:43: style: Local variable 'pvo' shadows outer variable [shadowVariable] libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server-threads-foreign-libuv-smp/minimal-ws-server.c:85:48: note: Shadowed declaration libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server-threads-foreign-libuv-smp/protocol_lws_minimal.c:156:43: note: Shadow variable libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server/protocol_lws_minimal.c:64:22: style: Parameter 'in' can be declared as pointer to const. However it seems that 'callback_minimal' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server/minimal-ws-server.c:26:2: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server/protocol_lws_minimal.c:64:22: note: Parameter 'in' can be declared as pointer to const libwebsockets-4.3.3/plugin-standalone/protocol_example_standalone.c:62:22: style: Parameter 'in' can be declared as pointer to const. However it seems that 'callback_dumb_increment' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/plugin-standalone/protocol_example_standalone.c:130:3: note: You might need to cast the function pointer here libwebsockets-4.3.3/plugin-standalone/protocol_example_standalone.c:62:22: note: Parameter 'in' can be declared as pointer to const libwebsockets-4.3.3/minimal-examples/ws-server/minimal-ws-server/protocol_lws_minimal.c:64:22: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/plugins/protocol_lws_mirror.c:195:25: style: Parameter 'in' can be declared as pointer to const. However it seems that 'callback_lws_mirror' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/plugins/protocol_lws_mirror.c:488:2: note: You might need to cast the function pointer here libwebsockets-4.3.3/plugins/protocol_lws_mirror.c:195:25: note: Parameter 'in' can be declared as pointer to const libwebsockets-4.3.3/plugins/protocol_lws_mirror.c:69:6: style: struct member 'mirror_instance::messages_allocated' is never used. [unusedStructMember] libwebsockets-4.3.3/plugins/protocol_lws_raw_test.c:100:11: style: Parameter 'in' can be declared as pointer to const. However it seems that 'callback_raw_test' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/plugins/protocol_lws_raw_test.c:287:2: note: You might need to cast the function pointer here libwebsockets-4.3.3/plugins/protocol_lws_raw_test.c:100:11: note: Parameter 'in' can be declared as pointer to const libwebsockets-4.3.3/plugins/protocol_lws_openmetrics_export.c:82:22: style: struct member 'vhd::cx' is never used. [unusedStructMember] libwebsockets-4.3.3/plugins/protocol_lws_openmetrics_export.c:83:20: style: struct member 'vhd::vhost' is never used. [unusedStructMember] libwebsockets-4.3.3/plugins/protocol_lws_openmetrics_export.c:85:9: style: struct member 'vhd::ws_server_uri' is never used. [unusedStructMember] libwebsockets-4.3.3/plugins/protocol_lws_openmetrics_export.c:86:9: style: struct member 'vhd::metrics_proxy_path' is never used. [unusedStructMember] libwebsockets-4.3.3/plugins/protocol_lws_openmetrics_export.c:87:9: style: struct member 'vhd::ba_secret' is never used. [unusedStructMember] libwebsockets-4.3.3/plugins/protocol_lws_openmetrics_export.c:89:15: style: struct member 'vhd::proxy_side_bind_name' is never used. [unusedStructMember] libwebsockets-4.3.3/plugins/protocol_lws_openmetrics_export.c:96:9: style: struct member 'vhd::sanity' is never used. [unusedStructMember] libwebsockets-4.3.3/plugins/protocol_lws_openmetrics_export.c:102:15: style: struct member 'vhd::bind_partner_vhd' is never used. [unusedStructMember] libwebsockets-4.3.3/plugins/protocol_lws_openmetrics_export.c:104:15: style: struct member 'vhd::wsi' is never used. [unusedStructMember] libwebsockets-4.3.3/plugins/protocol_lws_openmetrics_export.c:105:12: style: struct member 'vhd::retry_count' is never used. [unusedStructMember] libwebsockets-4.3.3/plugins/acme-client/protocol_lws_acme_client.c:600:2: error: Address of local auto-variable assigned to a function parameter. [autoVariables] libwebsockets-4.3.3/plugins/protocol_lws_sshd_demo.c:149:29: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/plugins/protocol_lws_sshd_demo.c:210:40: style: Variable 'vhd' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/plugins/protocol_lws_sshd_demo.c:228:50: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'ssh_ops_set_server_key' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/plugins/protocol_lws_sshd_demo.c:371:22: note: You might need to cast the function pointer here libwebsockets-4.3.3/plugins/protocol_lws_sshd_demo.c:228:50: note: Parameter 'buf' can be declared as pointer to const libwebsockets-4.3.3/plugins/protocol_lws_sshd_demo.c:230:40: style: Variable 'vhd' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/plugins/acme-client/protocol_lws_acme_client.c:772:47: style: Variable 'failreason' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/plugins/acme-client/protocol_lws_acme_client.c:779:14: style: Variable 'cwsi' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/plugins/deaddrop/protocol_lws_deaddrop.c:155:8: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] libwebsockets-4.3.3/plugins/deaddrop/protocol_lws_deaddrop.c:115:20: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/plugins/deaddrop/protocol_lws_deaddrop.c:116:6: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/plugins/deaddrop/protocol_lws_deaddrop.c:265:15: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'file_upload_cb' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/plugins/deaddrop/protocol_lws_deaddrop.c:574:15: note: You might need to cast the function pointer here libwebsockets-4.3.3/plugins/deaddrop/protocol_lws_deaddrop.c:265:15: note: Parameter 'buf' can be declared as pointer to const libwebsockets-4.3.3/plugins/raw-proxy/protocol_lws_raw_proxy.c:119:14: style: Variable 'cwsi' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/plugins/ssh-base/crypto/sc25519.c:56:13: style: Variable 'q3' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/plugins/ssh-base/crypto/sc25519.c:72:10: style: Variable 'q2[33]' is assigned a value that is never used. [unreadVariable] libwebsockets-4.3.3/test-apps/android/app/src/main/jni/LwsService.cpp:240:63: style: Condition 'deny_deflate' is always false [knownConditionTrueFalse] libwebsockets-4.3.3/test-apps/android/app/src/main/jni/LwsService.cpp:244:62: style: Condition 'deny_deflate' is always false [knownConditionTrueFalse] libwebsockets-4.3.3/test-apps/android/app/src/main/jni/LwsService.cpp:248:61: style: Condition 'deny_mux' is always false [knownConditionTrueFalse] libwebsockets-4.3.3/test-apps/android/app/src/main/jni/LwsService.cpp:77:19: style: C-style pointer casting [cstyleCast] libwebsockets-4.3.3/test-apps/android/app/src/main/jni/LwsService.cpp:235:10: style: C-style pointer casting [cstyleCast] libwebsockets-4.3.3/test-apps/android/app/src/main/jni/LwsService.cpp:236:78: style: C-style pointer casting [cstyleCast] libwebsockets-4.3.3/test-apps/android/app/src/main/jni/LwsService.cpp:240:20: style: C-style pointer casting [cstyleCast] libwebsockets-4.3.3/test-apps/android/app/src/main/jni/LwsService.cpp:244:20: style: C-style pointer casting [cstyleCast] libwebsockets-4.3.3/test-apps/android/app/src/main/jni/LwsService.cpp:248:20: style: C-style pointer casting [cstyleCast] libwebsockets-4.3.3/test-apps/android/app/src/main/jni/LwsService.cpp:87:45: style: Parameter 'vm' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/test-apps/android/app/src/main/jni/LwsService.cpp:87:55: style: Parameter 'reserved' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/plugins/ssh-base/kex-25519.c:36:35: style: Parameter 'blob' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/plugins/ssh-base/kex-25519.c:124:11: style: Variable 'op' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/test-apps/test-lecp.c:108:8: style: Local variable 'n' shadows outer variable [shadowVariable] libwebsockets-4.3.3/test-apps/test-lecp.c:58:6: note: Shadowed declaration libwebsockets-4.3.3/test-apps/test-lecp.c:108:8: note: Shadow variable libwebsockets-4.3.3/test-apps/test-lecp.c:113:6: style: Variable 'p' is assigned a value that is never used. [unreadVariable] libwebsockets-4.3.3/test-apps/test-lejp.c:57:8: style: Local variable 'n' shadows outer variable [shadowVariable] libwebsockets-4.3.3/test-apps/test-lejp.c:48:6: note: Shadowed declaration libwebsockets-4.3.3/test-apps/test-lejp.c:57:8: note: Shadow variable libwebsockets-4.3.3/test-apps/test-lejp.c:62:6: style: Variable 'p' is assigned a value that is never used. [unreadVariable] libwebsockets-4.3.3/plugins/ssh-base/sshd.c:46:15: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] libwebsockets-4.3.3/plugins/ssh-base/sshd.c:82:28: style: Parameter 's' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/plugins/ssh-base/sshd.c:115:27: style: Parameter 'keys' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/plugins/ssh-base/sshd.c:466:50: style: Parameter 'pss' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/test-apps/test-client.c:449:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] libwebsockets-4.3.3/test-apps/test-client.c:485:23: style: Parameter 'in' can be declared as pointer to const. However it seems that 'callback_test_raw_client' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/test-apps/test-client.c:526:3: note: You might need to cast the function pointer here libwebsockets-4.3.3/test-apps/test-client.c:485:23: note: Parameter 'in' can be declared as pointer to const libwebsockets-4.3.3/test-apps/test-server.c:161:12: style: Condition 'c' is always true [knownConditionTrueFalse] libwebsockets-4.3.3/test-apps/test-server.c:416:20: style: Variable 'vhost' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/test-apps/test-sshd.c:261:50: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'ssh_ops_set_server_key' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/test-apps/test-sshd.c:614:22: note: You might need to cast the function pointer here libwebsockets-4.3.3/test-apps/test-sshd.c:261:50: note: Parameter 'buf' can be declared as pointer to const libwebsockets-4.3.3/test-apps/test-sshd.c:488:27: style: Variable 'd' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/test-apps/test-sshd.c:735:20: style: Variable 'vh_sshd' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/win32port/win32helpers/getopt_long.c:170:9: style: Parameter 'options' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/win32port/zlib/crc32.c:238:13: style: Condition '*((unsigned char*)(&endian))' is always true [knownConditionTrueFalse] libwebsockets-4.3.3/win32port/zlib/crc32.c:237:18: note: Assignment 'endian=1', assigned value is 1 libwebsockets-4.3.3/win32port/zlib/crc32.c:238:13: note: Condition '*((unsigned char*)(&endian))' is always true libwebsockets-4.3.3/win32port/zlib/gzread.c:525:24: style: Variable 'src' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/win32port/zlib/gzread.c:546:20: style: Variable 'eol' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/win32port/zlib/gzwrite.c:266:17: style:inconclusive: Function 'gzputs' argument 2 names different: declaration 's' definition 'str'. [funcArgNamesDifferent] libwebsockets-4.3.3/win32port/zlib/zlib.h:1274:28: note: Function 'gzputs' argument 2 names different: declaration 's' definition 'str'. libwebsockets-4.3.3/win32port/zlib/gzwrite.c:266:17: note: Function 'gzputs' argument 2 names different: declaration 's' definition 'str'. libwebsockets-4.3.3/win32port/zlib/infback.c:255:24: style: Variable 'from' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/win32port/zlib/inffast.c:73:24: style: Variable 'last' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/win32port/zlib/inffast.c:75:24: style: Variable 'beg' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/win32port/zlib/inffast.c:76:24: style: Variable 'end' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/win32port/zlib/inffast.c:83:24: style: Variable 'window' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/win32port/zlib/inflate.c:1465:17: style: Variable 'state->sane' is reassigned a value before the old one has been used. [redundantAssignment] libwebsockets-4.3.3/win32port/zlib/inflate.c:1461:17: note: state->sane is assigned libwebsockets-4.3.3/win32port/zlib/inflate.c:1465:17: note: state->sane is overwritten libwebsockets-4.3.3/win32port/zlib/inflate.c:601:24: style: Variable 'from' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/win32port/zlib/inflate.c:1324:20: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/win32port/zlib/inflate.c:1399:31: style: Variable 'state' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/win32port/zlib/inflate.c:1410:31: style: Variable 'state' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/win32port/zlib/deflate.c:705:36: style: Condition 's->pending==s->pending_buf_size' is always true [knownConditionTrueFalse] libwebsockets-4.3.3/win32port/zlib/deflate.c:699:32: note: Assuming that condition 's->pending==s->pending_buf_size' is not redundant libwebsockets-4.3.3/win32port/zlib/deflate.c:705:36: note: Condition 's->pending==s->pending_buf_size' is always true libwebsockets-4.3.3/win32port/zlib/deflate.c:734:36: style: Condition 's->pending==s->pending_buf_size' is always true [knownConditionTrueFalse] libwebsockets-4.3.3/win32port/zlib/deflate.c:728:32: note: Assuming that condition 's->pending==s->pending_buf_size' is not redundant libwebsockets-4.3.3/win32port/zlib/deflate.c:734:36: note: Condition 's->pending==s->pending_buf_size' is always true libwebsockets-4.3.3/win32port/zlib/deflate.c:765:36: style: Condition 's->pending==s->pending_buf_size' is always true [knownConditionTrueFalse] libwebsockets-4.3.3/win32port/zlib/deflate.c:759:32: note: Assuming that condition 's->pending==s->pending_buf_size' is not redundant libwebsockets-4.3.3/win32port/zlib/deflate.c:765:36: note: Condition 's->pending==s->pending_buf_size' is always true libwebsockets-4.3.3/win32port/zlib/deflate.c:504:12: style: Variable 'str' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/win32port/zlib/deflate.c:950:20: style: Variable 'ss' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/win32port/zlib/deflate.c:1090:11: style: Variable 'prev' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/win32port/zlib/deflate.c:1101:21: style: Variable 'strend' can be declared as pointer to const [constVariablePointer] libwebsockets-4.3.3/win32port/zlib/deflate.c:155:32: style: struct member 'static_tree_desc_s::dummy' is never used. [unusedStructMember] libwebsockets-4.3.3/win32port/zlib/deflate.c:348:30: style: Variable 'hash_head' is assigned a value that is never used. [unreadVariable] libwebsockets-4.3.3/win32port/zlib/deflate.c:1740:9: style: Variable 'bflush' is assigned a value that is never used. [unreadVariable] libwebsockets-4.3.3/win32port/zlib/zutil.c:305:31: style: Same expression on both sides of '-'. [duplicateExpression] libwebsockets-4.3.3/win32port/zlib/zutil.c:11:33: style: struct member 'internal_state::dummy' is never used. [unusedStructMember] libwebsockets-4.3.3/win32port/zlib/inftrees.c:34:21: style: Parameter 'lens' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/win32port/zlib/trees.c:1172:14: style:inconclusive: Function 'bi_reverse' argument 1 names different: declaration 'value' definition 'code'. [funcArgNamesDifferent] libwebsockets-4.3.3/win32port/zlib/trees.c:157:27: note: Function 'bi_reverse' argument 1 names different: declaration 'value' definition 'code'. libwebsockets-4.3.3/win32port/zlib/trees.c:1172:14: note: Function 'bi_reverse' argument 1 names different: declaration 'value' definition 'code'. libwebsockets-4.3.3/win32port/zlib/trees.c:1173:9: style:inconclusive: Function 'bi_reverse' argument 2 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] libwebsockets-4.3.3/win32port/zlib/trees.c:157:27: note: Function 'bi_reverse' argument 2 names different: declaration 'length' definition 'len'. libwebsockets-4.3.3/win32port/zlib/trees.c:1173:9: note: Function 'bi_reverse' argument 2 names different: declaration 'length' definition 'len'. libwebsockets-4.3.3/win32port/zlib/trees.c:461:14: style: Parameter 'tree' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/win32port/zlib/trees.c:584:11: style: Parameter 'bl_count' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/win32port/zlib/trees.c:1138:20: style: Parameter 's' can be declared as pointer to const [constParameterPointer] libwebsockets-4.3.3/win32port/zlib/trees.c:1224:15: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] diff: head libwebsockets-4.3.3/lib/abstract/protocols/smtp/smtp.c:353:30: style: Parameter 'abs1' can be declared as pointer to const. However it seems that 'lws_smtpc_compare' is a callback function, if 'abs1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/abstract/protocols/smtp/smtp.c:373:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/abstract/protocols/smtp/smtp.c:353:30: note: Parameter 'abs1' can be declared as pointer to const head libwebsockets-4.3.3/lib/abstract/protocols/smtp/smtp.c:353:47: style: Parameter 'abs2' can be declared as pointer to const. However it seems that 'lws_smtpc_compare' is a callback function, if 'abs2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/abstract/protocols/smtp/smtp.c:373:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/abstract/protocols/smtp/smtp.c:353:47: note: Parameter 'abs2' can be declared as pointer to const head libwebsockets-4.3.3/lib/abstract/protocols/smtp/smtp.c:359:33: style: Parameter 'abs' can be declared as pointer to const. However it seems that 'lws_smtpc_child_bind' is a callback function, if 'abs' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/abstract/protocols/smtp/smtp.c:381:16: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/abstract/protocols/smtp/smtp.c:359:33: note: Parameter 'abs' can be declared as pointer to const head libwebsockets-4.3.3/lib/abstract/transports/unit-test.c:517:30: style: Parameter 'abs1' can be declared as pointer to const. However it seems that 'lws_atcut_compare' is a callback function, if 'abs1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/abstract/transports/unit-test.c:528:14: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/abstract/transports/unit-test.c:517:30: note: Parameter 'abs1' can be declared as pointer to const head libwebsockets-4.3.3/lib/abstract/transports/unit-test.c:517:47: style: Parameter 'abs2' can be declared as pointer to const. However it seems that 'lws_atcut_compare' is a callback function, if 'abs2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/abstract/transports/unit-test.c:528:14: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/abstract/transports/unit-test.c:517:47: note: Parameter 'abs2' can be declared as pointer to const head libwebsockets-4.3.3/lib/core-net/close.c:326:32: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/core-net/socks5-client.c:110:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] head libwebsockets-4.3.3/lib/core-net/vhost.c:113:43: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/core-net/vhost.c:1181:60: style: Parameter 'vh' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/core-net/wsi.c:205:56: style: Parameter 'vh' can be declared as pointer to const [constParameterPointer] 2.13.0 libwebsockets-4.3.3/lib/core-net/wsi.c:446:33: style:inconclusive: Boolean expression '!wsi->rxflow_bitmap' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] head libwebsockets-4.3.3/lib/core-net/wsi.c:601:25: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/core-net/wsi.c:813:24: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/core/libwebsockets.c:240:45: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/core/logs.c:322:41: style: Parameter 'cx' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/core/lws_map.c:59:26: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/event-libs/uloop/uloop.c:212:40: style: Parameter 'context' can be declared as pointer to const. However it seems that 'elops_run_pt_uloop' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/event-libs/uloop/uloop.c:296:17: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/event-libs/uloop/uloop.c:212:40: note: Parameter 'context' can be declared as pointer to const head libwebsockets-4.3.3/lib/misc/cache-ttl/lws-cache-ttl.c:252:48: style: Parameter 'cache' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/misc/diskcache.c:90:21: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] head libwebsockets-4.3.3/lib/misc/diskcache.c:90:48: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] head libwebsockets-4.3.3/lib/misc/lws-struct-lejp.c:431:23: style: Variable 'coll' can be declared as pointer to const [constVariablePointer] head libwebsockets-4.3.3/lib/misc/lwsac/lwsac.c:278:26: style: Parameter 'head' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/misc/threadpool/threadpool.c:172:44: style: Parameter 'tp' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/freertos/esp32/drivers/netdev/wifi-esp32.c:431:60: style: Parameter 'nd' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/freertos/esp32/drivers/netdev/wifi-esp32.c:432:32: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/freertos/freertos-fds.c:28:74: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/freertos/freertos-fds.c:37:19: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/freertos/freertos-fds.c:45:44: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/freertos/freertos-fds.c:46:21: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/freertos/freertos-fds.c:46:45: style: Parameter 'pfd' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/freertos/freertos-init.c:34:52: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/freertos/freertos-misc.c:48:36: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/freertos/freertos-misc.c:48:51: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/freertos/freertos-misc.c:91:50: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/freertos/freertos-sockets.c:202:71: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/freertos/freertos-sockets.c:281:51: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/freertos/freertos-sockets.c:328:54: style: Parameter 'vhost' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/optee/lws-plat-optee.c:135:50: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/optee/lws-plat-optee.c:147:52: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/optee/lws-plat-optee.c:152:51: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/optee/lws-plat-optee.c:162:65: style: Parameter 'flags' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/optee/lws-plat-optee.c:168:36: style: Parameter 'fop_fd' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/optee/lws-plat-optee.c:180:57: style: Parameter 'amount' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/optee/lws-plat-optee.c:181:16: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/optee/lws-plat-optee.c:188:58: style: Parameter 'amount' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/optee/lws-plat-optee.c:189:17: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/optee/lws-plat-optee.c:197:35: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/optee/lws-plat-optee.c:222:49: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/optee/lws-plat-optee.c:228:48: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/optee/lws-plat-optee.c:240:47: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/optee/network.c:198:47: style: Parameter 'vhost' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/optee/network.c:205:39: style: Parameter 'vhost' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/optee/network.c:205:72: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/optee/network.c:215:71: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/optee/network.c:222:74: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/optee/network.c:231:19: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/optee/network.c:239:44: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/optee/network.c:240:21: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/optee/network.c:240:45: style: Parameter 'pfd' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/optee/network.c:246:51: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/optee/network.c:253:51: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/optee/network.c:266:54: style: Parameter 'vhost' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/optee/network.c:36:34: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/optee/network.c:42:34: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/optee/network.c:48:33: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/optee/network.c:81:39: style: Parameter 'fd' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/unix/unix-fds.c:260:44: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/unix/unix-fds.c:261:21: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/unix/unix-fds.c:261:45: style: Parameter 'pfd' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/unix/unix-init.c:224:52: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/unix/unix-misc.c:124:47: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/unix/unix-misc.c:97:39: style: Parameter 'vhost' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/unix/unix-sockets.c:583:54: style: Parameter 'vhost' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/unix/unix-spawn.c:74:33: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] head libwebsockets-4.3.3/lib/plat/windows/windows-file.c:156:39: style: Parameter 'vhost' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/windows/windows-init.c:135:52: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/windows/windows-init.c:31:50: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/windows/windows-plugins.c:154:43: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/windows/windows-plugins.c:169:47: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/windows/windows-resolv.c:79:47: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/windows/windows-sockets.c:224:19: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/windows/windows-sockets.c:250:44: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/windows/windows-sockets.c:250:65: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/windows/windows-sockets.c:251:29: style: Parameter 'pfd' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/plat/windows/windows-sockets.c:64:39: style: Parameter 'fd' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/roles/cgi/ops-cgi.c:84:37: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/roles/cgi/ops-cgi.c:90:35: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/roles/h1/ops-h1.c:1070:43: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/roles/h1/ops-h1.c:1087:45: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/roles/h1/ops-h1.c:1089:38: style: Parameter 'pt' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/roles/h2/hpack.c:421:39: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/roles/h2/http2.c:118:45: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/roles/listen/ops-listen.c:175:44: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/roles/ws/ops-ws.c:1924:43: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/roles/ws/ops-ws.c:1940:42: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/roles/ws/ops-ws.c:2007:41: style: Parameter 'vh' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/secure-streams/cpp/lssFile.cxx:42:18: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'lssfile_tx' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/secure-streams/cpp/lssFile.cxx:118:41: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/secure-streams/cpp/lssFile.cxx:42:18: note: Parameter 'userobj' can be declared as pointer to const head libwebsockets-4.3.3/lib/secure-streams/cpp/lssFile.cxx:42:60: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'lssfile_tx' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/secure-streams/cpp/lssFile.cxx:118:41: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/secure-streams/cpp/lssFile.cxx:42:60: note: Parameter 'buf' can be declared as pointer to const head libwebsockets-4.3.3/lib/secure-streams/cpp/lssFile.cxx:42:73: style: Parameter 'len' can be declared as pointer to const. However it seems that 'lssfile_tx' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/secure-streams/cpp/lssFile.cxx:118:41: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/secure-streams/cpp/lssFile.cxx:42:73: note: Parameter 'len' can be declared as pointer to const head libwebsockets-4.3.3/lib/secure-streams/cpp/lssFile.cxx:43:9: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'lssfile_tx' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/secure-streams/cpp/lssFile.cxx:118:41: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/secure-streams/cpp/lssFile.cxx:43:9: note: Parameter 'flags' can be declared as pointer to const head libwebsockets-4.3.3/lib/secure-streams/cpp/lssMsg.cxx:30:17: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'lssmsg_rx' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/secure-streams/cpp/lssMsg.cxx:54:25: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/secure-streams/cpp/lssMsg.cxx:30:17: note: Parameter 'userobj' can be declared as pointer to const head libwebsockets-4.3.3/lib/secure-streams/cpp/lssMsg.cxx:36:17: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'lssmsg_tx' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/secure-streams/cpp/lssMsg.cxx:54:36: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/secure-streams/cpp/lssMsg.cxx:36:17: note: Parameter 'userobj' can be declared as pointer to const head libwebsockets-4.3.3/lib/secure-streams/cpp/lssMsg.cxx:36:59: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'lssmsg_tx' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/secure-streams/cpp/lssMsg.cxx:54:36: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/secure-streams/cpp/lssMsg.cxx:36:59: note: Parameter 'buf' can be declared as pointer to const head libwebsockets-4.3.3/lib/secure-streams/cpp/lssMsg.cxx:36:72: style: Parameter 'len' can be declared as pointer to const. However it seems that 'lssmsg_tx' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/secure-streams/cpp/lssMsg.cxx:54:36: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/secure-streams/cpp/lssMsg.cxx:36:72: note: Parameter 'len' can be declared as pointer to const head libwebsockets-4.3.3/lib/secure-streams/cpp/lssMsg.cxx:37:9: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'lssmsg_tx' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/secure-streams/cpp/lssMsg.cxx:54:36: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/secure-streams/cpp/lssMsg.cxx:37:9: note: Parameter 'flags' can be declared as pointer to const head libwebsockets-4.3.3/lib/secure-streams/cpp/lssMsg.cxx:46:20: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'lssmsg_state' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/secure-streams/cpp/lssMsg.cxx:54:47: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/secure-streams/cpp/lssMsg.cxx:46:20: note: Parameter 'userobj' can be declared as pointer to const head libwebsockets-4.3.3/lib/secure-streams/cpp/lssMsg.cxx:46:35: style: Parameter 'h_src' can be declared as pointer to const. However it seems that 'lssmsg_state' is a callback function, if 'h_src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/secure-streams/cpp/lssMsg.cxx:54:47: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/secure-streams/cpp/lssMsg.cxx:46:35: note: Parameter 'h_src' can be declared as pointer to const head libwebsockets-4.3.3/lib/secure-streams/plugins/ssp-h1url/h1url.c:16:40: style: Parameter 'ss' can be declared as pointer to const. However it seems that 'ssp_h1url_create' is a callback function, if 'ss' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/secure-streams/plugins/ssp-h1url/h1url.c:37:14: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/secure-streams/plugins/ssp-h1url/h1url.c:16:40: note: Parameter 'ss' can be declared as pointer to const head libwebsockets-4.3.3/lib/secure-streams/plugins/ssp-h1url/h1url.c:16:50: style: Parameter 'info' can be declared as pointer to const. However it seems that 'ssp_h1url_create' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/secure-streams/plugins/ssp-h1url/h1url.c:37:14: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/secure-streams/plugins/ssp-h1url/h1url.c:16:50: note: Parameter 'info' can be declared as pointer to const head libwebsockets-4.3.3/lib/secure-streams/plugins/ssp-h1url/h1url.c:22:41: style: Parameter 'ss' can be declared as pointer to const. However it seems that 'ssp_h1url_destroy' is a callback function, if 'ss' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/secure-streams/plugins/ssp-h1url/h1url.c:38:14: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/secure-streams/plugins/ssp-h1url/h1url.c:22:41: note: Parameter 'ss' can be declared as pointer to const head libwebsockets-4.3.3/lib/secure-streams/plugins/ssp-h1url/h1url.c:28:39: style: Parameter 'ss' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/secure-streams/plugins/ssp-h1url/h1url.c:28:49: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/secure-streams/secure-streams-process.c:68:37: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/secure-streams/system/fetch-policy/fetch-policy.c:63:26: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'ss_fetch_policy_tx' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/secure-streams/system/fetch-policy/fetch-policy.c:148:17: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/secure-streams/system/fetch-policy/fetch-policy.c:63:26: note: Parameter 'userobj' can be declared as pointer to const head libwebsockets-4.3.3/lib/secure-streams/system/fetch-policy/fetch-policy.c:63:69: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'ss_fetch_policy_tx' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/secure-streams/system/fetch-policy/fetch-policy.c:148:17: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/secure-streams/system/fetch-policy/fetch-policy.c:63:69: note: Parameter 'buf' can be declared as pointer to const head libwebsockets-4.3.3/lib/secure-streams/system/fetch-policy/fetch-policy.c:64:14: style: Parameter 'len' can be declared as pointer to const. However it seems that 'ss_fetch_policy_tx' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/secure-streams/system/fetch-policy/fetch-policy.c:148:17: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/secure-streams/system/fetch-policy/fetch-policy.c:64:14: note: Parameter 'len' can be declared as pointer to const head libwebsockets-4.3.3/lib/secure-streams/system/fetch-policy/fetch-policy.c:64:24: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'ss_fetch_policy_tx' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/secure-streams/system/fetch-policy/fetch-policy.c:148:17: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/secure-streams/system/fetch-policy/fetch-policy.c:64:24: note: Parameter 'flags' can be declared as pointer to const head libwebsockets-4.3.3/lib/tls/mbedtls/mbedtls-session.c:114:39: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/tls/mbedtls/mbedtls-ssl.c:300:45: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/tls/mbedtls/mbedtls-tls.c:47:52: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_pkey.c:222:42: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_pkey.c:230:38: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_x509.c:137:56: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_x509.c:148:58: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_x509.c:313:43: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_x509.c:321:35: style: Parameter 'ssl' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_x509.c:336:46: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/library/ssl_x509.c:341:52: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/platform/ssl_pm.c:578:29: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/platform/ssl_pm.c:802:30: style: Parameter 'ssl' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/platform/ssl_pm.c:84:38: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'ssl_platform_debug' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/platform/ssl_pm.c:200:41: note: You might need to cast the function pointer here libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/platform/ssl_pm.c:84:38: note: Parameter 'ctx' can be declared as pointer to const head libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/platform/ssl_pm.c:912:31: style: Parameter 'ssl' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/platform/ssl_pm.c:912:41: style: Parameter 'cb' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/tls/mbedtls/wrapper/platform/ssl_pm.c:913:43: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/tls/openssl/openssl-session.c:127:39: style: Parameter 'wsi' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/lib/tls/openssl/openssl-x509.c:38:45: style: Parameter 'as' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_smd/main.c:33:18: style: Parameter 'opaque' can be declared as pointer to const. However it seems that 'smd_cb1int' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_smd/main.c:229:10: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_smd/main.c:33:18: note: Parameter 'opaque' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_smd/main.c:34:11: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'smd_cb1int' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_smd/main.c:229:10: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_smd/main.c:34:11: note: Parameter 'buf' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_smd/main.c:47:18: style: Parameter 'opaque' can be declared as pointer to const. However it seems that 'smd_cb2int' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_smd/main.c:237:10: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_smd/main.c:47:18: note: Parameter 'opaque' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_smd/main.c:48:11: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'smd_cb2int' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_smd/main.c:237:10: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/api-tests/api-test-lws_smd/main.c:48:11: note: Parameter 'buf' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/api-tests/api-test-secure-streams/main.c:160:19: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'myss_tx_get' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-secure-streams/main.c:279:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/api-tests/api-test-secure-streams/main.c:160:19: note: Parameter 'userobj' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/api-tests/api-test-secure-streams/main.c:160:62: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'myss_tx_get' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-secure-streams/main.c:279:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/api-tests/api-test-secure-streams/main.c:160:62: note: Parameter 'buf' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/api-tests/api-test-secure-streams/main.c:160:75: style: Parameter 'len' can be declared as pointer to const. However it seems that 'myss_tx_get' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-secure-streams/main.c:279:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/api-tests/api-test-secure-streams/main.c:160:75: note: Parameter 'len' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/api-tests/api-test-secure-streams/main.c:161:11: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'myss_tx_get' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/api-tests/api-test-secure-streams/main.c:279:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/api-tests/api-test-secure-streams/main.c:161:11: note: Parameter 'flags' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/crypto/minimal-crypto-cose-sign/main.c:84:42: style: Parameter 'cps' can be declared as pointer to const. However it seems that 'pay_cb' is a callback function, if 'cps' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/crypto/minimal-crypto-cose-sign/main.c:316:15: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/crypto/minimal-crypto-cose-sign/main.c:84:42: note: Parameter 'cps' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/crypto/minimal-crypto-cose-sign/main.c:84:53: style: Parameter 'opaque' can be declared as pointer to const. However it seems that 'pay_cb' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/crypto/minimal-crypto-cose-sign/main.c:316:15: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/crypto/minimal-crypto-cose-sign/main.c:84:53: note: Parameter 'opaque' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/embedded/esp32/esp-wrover-kit/main/lws-minimal-esp32.c:66:43: style: Parameter 'sul' can be declared as pointer to const. However it seems that 'completion_sul_cb' is a callback function, if 'sul' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/embedded/esp32/esp-wrover-kit/main/lws-minimal-esp32.c:99:43: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/embedded/esp32/esp-wrover-kit/main/lws-minimal-esp32.c:66:43: note: Parameter 'sul' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/gtk/minimal-gtk/main.c:7:24: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'print_hello' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/gtk/minimal-gtk/main.c:26:49: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/gtk/minimal-gtk/main.c:7:24: note: Parameter 'widget' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/http-client/minimal-http-client-h2-rxflow/minimal-http-client.c:151:39: style: Parameter 'mgr' can be declared as pointer to const. However it seems that 'system_notify_cb' is a callback function, if 'mgr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/http-client/minimal-http-client-h2-rxflow/minimal-http-client.c:239:7: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/http-client/minimal-http-client-h2-rxflow/minimal-http-client.c:151:39: note: Parameter 'mgr' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/http-client/minimal-http-client-jit-trust/minimal-http-client.c:355:39: style: Parameter 'mgr' can be declared as pointer to const. However it seems that 'system_notify_cb' is a callback function, if 'mgr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/http-client/minimal-http-client-jit-trust/minimal-http-client.c:410:7: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/http-client/minimal-http-client-jit-trust/minimal-http-client.c:355:39: note: Parameter 'mgr' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/http-client/minimal-http-client-multi/minimal-http-client-multi.c:409:39: style: Parameter 'mgr' can be declared as pointer to const. However it seems that 'system_notify_cb' is a callback function, if 'mgr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/http-client/minimal-http-client-multi/minimal-http-client-multi.c:519:7: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/http-client/minimal-http-client-multi/minimal-http-client-multi.c:409:39: note: Parameter 'mgr' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/http-client/minimal-http-client/minimal-http-client.c:219:39: style: Parameter 'mgr' can be declared as pointer to const. However it seems that 'system_notify_cb' is a callback function, if 'mgr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/http-client/minimal-http-client/minimal-http-client.c:341:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/http-client/minimal-http-client/minimal-http-client.c:219:39: note: Parameter 'mgr' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/glib.c:48:22: style: Parameter 'p' can be declared as pointer to const. However it seems that 'signal_cb_glib' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/glib.c:61:44: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/glib.c:48:22: note: Parameter 'p' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/libev.c:32:30: style: Parameter 'loop' can be declared as pointer to const. However it seems that 'signal_cb_ev' is a callback function, if 'loop' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/libev.c:44:33: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/libev.c:32:30: note: Parameter 'loop' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/libsdevent.c:39:31: style: Parameter 'source' can be declared as pointer to const. However it seems that 'signal_cb_sd' is a callback function, if 'source' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/libsdevent.c:54:51: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/libsdevent.c:39:31: note: Parameter 'source' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/libsdevent.c:40:20: style: Parameter 'user' can be declared as pointer to const. However it seems that 'signal_cb_sd' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/libsdevent.c:54:51: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/libsdevent.c:40:20: note: Parameter 'user' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/libuv.c:38:27: style: Parameter 'watcher' can be declared as pointer to const. However it seems that 'signal_cb_uv' is a callback function, if 'watcher' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/libuv.c:52:34: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/http-server/minimal-http-server-eventlib-foreign/libuv.c:38:27: note: Parameter 'watcher' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/mqtt-client/minimal-mqtt-client/minimal-mqtt-client.c:138:39: style: Parameter 'mgr' can be declared as pointer to const. However it seems that 'system_notify_cb' is a callback function, if 'mgr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/mqtt-client/minimal-mqtt-client/minimal-mqtt-client.c:311:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/mqtt-client/minimal-mqtt-client/minimal-mqtt-client.c:138:39: note: Parameter 'mgr' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-alexa/alexa.c:576:23: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'ss_avs_event_rx' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-alexa/alexa.c:662:17: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-alexa/alexa.c:576:23: note: Parameter 'userobj' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-alexa/alexa.c:582:23: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'ss_avs_event_tx' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-alexa/alexa.c:663:17: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-alexa/alexa.c:582:23: note: Parameter 'userobj' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-alexa/alexa.c:582:66: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'ss_avs_event_tx' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-alexa/alexa.c:663:17: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-alexa/alexa.c:582:66: note: Parameter 'buf' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-alexa/alexa.c:583:17: style: Parameter 'len' can be declared as pointer to const. However it seems that 'ss_avs_event_tx' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-alexa/alexa.c:663:17: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-alexa/alexa.c:583:17: note: Parameter 'len' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-alexa/alexa.c:583:27: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'ss_avs_event_tx' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-alexa/alexa.c:663:17: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-alexa/alexa.c:583:27: note: Parameter 'flags' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-blob/minimal-secure-streams.c:286:15: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-blob/minimal-secure-streams.c:432:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-blob/minimal-secure-streams.c:286:15: note: Parameter 'userobj' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-blob/minimal-secure-streams.c:286:58: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-blob/minimal-secure-streams.c:432:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-blob/minimal-secure-streams.c:286:58: note: Parameter 'buf' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-blob/minimal-secure-streams.c:286:71: style: Parameter 'len' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-blob/minimal-secure-streams.c:432:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-blob/minimal-secure-streams.c:286:71: note: Parameter 'len' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-blob/minimal-secure-streams.c:287:7: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-blob/minimal-secure-streams.c:432:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-blob/minimal-secure-streams.c:287:7: note: Parameter 'flags' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-client-tx/minimal-secure-streams-client-tx.c:41:15: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'myss_rx' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-client-tx/minimal-secure-streams-client-tx.c:134:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-client-tx/minimal-secure-streams-client-tx.c:41:15: note: Parameter 'userobj' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-metadata/minimal-secure-streams.c:175:15: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-metadata/minimal-secure-streams.c:239:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-metadata/minimal-secure-streams.c:175:15: note: Parameter 'userobj' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-metadata/minimal-secure-streams.c:175:58: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-metadata/minimal-secure-streams.c:239:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-metadata/minimal-secure-streams.c:175:58: note: Parameter 'buf' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-metadata/minimal-secure-streams.c:175:71: style: Parameter 'len' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-metadata/minimal-secure-streams.c:239:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-metadata/minimal-secure-streams.c:175:71: note: Parameter 'len' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-metadata/minimal-secure-streams.c:176:7: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-metadata/minimal-secure-streams.c:239:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-metadata/minimal-secure-streams.c:176:7: note: Parameter 'flags' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-perf/minimal-secure-streams.c:232:15: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-perf/minimal-secure-streams.c:375:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-perf/minimal-secure-streams.c:232:15: note: Parameter 'userobj' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-perf/minimal-secure-streams.c:232:58: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-perf/minimal-secure-streams.c:375:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-perf/minimal-secure-streams.c:232:58: note: Parameter 'buf' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-perf/minimal-secure-streams.c:232:71: style: Parameter 'len' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-perf/minimal-secure-streams.c:375:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-perf/minimal-secure-streams.c:232:71: note: Parameter 'len' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-perf/minimal-secure-streams.c:233:7: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-perf/minimal-secure-streams.c:375:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-perf/minimal-secure-streams.c:233:7: note: Parameter 'flags' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-seq/minimal-secure-streams.c:175:15: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-seq/minimal-secure-streams.c:250:12: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-seq/minimal-secure-streams.c:175:15: note: Parameter 'userobj' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-seq/minimal-secure-streams.c:175:58: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-seq/minimal-secure-streams.c:250:12: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-seq/minimal-secure-streams.c:175:58: note: Parameter 'buf' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-seq/minimal-secure-streams.c:175:71: style: Parameter 'len' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-seq/minimal-secure-streams.c:250:12: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-seq/minimal-secure-streams.c:175:71: note: Parameter 'len' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-seq/minimal-secure-streams.c:176:7: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-seq/minimal-secure-streams.c:250:12: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-seq/minimal-secure-streams.c:176:7: note: Parameter 'flags' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-server/ss-client.c:46:15: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-server/ss-client.c:83:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-server/ss-client.c:46:15: note: Parameter 'userobj' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-server/ss-client.c:46:58: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-server/ss-client.c:83:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-server/ss-client.c:46:58: note: Parameter 'buf' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-server/ss-client.c:46:71: style: Parameter 'len' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-server/ss-client.c:83:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-server/ss-client.c:46:71: note: Parameter 'len' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-server/ss-client.c:47:7: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-server/ss-client.c:83:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-server/ss-client.c:47:7: note: Parameter 'flags' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-smd/multi.c:325:40: style: Parameter 'sul' can be declared as pointer to const. However it seems that 'sul_timeout_cb' is a callback function, if 'sul' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-smd/multi.c:404:45: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-smd/multi.c:325:40: note: Parameter 'sul' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-staticpolicy/minimal-secure-streams.c:82:15: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-staticpolicy/minimal-secure-streams.c:159:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-staticpolicy/minimal-secure-streams.c:82:15: note: Parameter 'userobj' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-staticpolicy/minimal-secure-streams.c:82:58: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-staticpolicy/minimal-secure-streams.c:159:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-staticpolicy/minimal-secure-streams.c:82:58: note: Parameter 'buf' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-staticpolicy/minimal-secure-streams.c:82:71: style: Parameter 'len' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-staticpolicy/minimal-secure-streams.c:159:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-staticpolicy/minimal-secure-streams.c:82:71: note: Parameter 'len' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-staticpolicy/minimal-secure-streams.c:83:7: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-staticpolicy/minimal-secure-streams.c:159:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-staticpolicy/minimal-secure-streams.c:83:7: note: Parameter 'flags' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-stress/minimal-secure-streams.c:275:15: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-stress/minimal-secure-streams.c:415:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-stress/minimal-secure-streams.c:275:15: note: Parameter 'userobj' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-stress/minimal-secure-streams.c:275:58: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-stress/minimal-secure-streams.c:415:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-stress/minimal-secure-streams.c:275:58: note: Parameter 'buf' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-stress/minimal-secure-streams.c:275:71: style: Parameter 'len' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-stress/minimal-secure-streams.c:415:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-stress/minimal-secure-streams.c:275:71: note: Parameter 'len' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-stress/minimal-secure-streams.c:276:7: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-stress/minimal-secure-streams.c:415:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-stress/minimal-secure-streams.c:276:7: note: Parameter 'flags' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-testsfail/minimal-secure-streams-testsfail.c:624:15: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-testsfail/minimal-secure-streams-testsfail.c:740:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-testsfail/minimal-secure-streams-testsfail.c:624:15: note: Parameter 'userobj' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-testsfail/minimal-secure-streams-testsfail.c:624:58: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-testsfail/minimal-secure-streams-testsfail.c:740:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-testsfail/minimal-secure-streams-testsfail.c:624:58: note: Parameter 'buf' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-testsfail/minimal-secure-streams-testsfail.c:624:71: style: Parameter 'len' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-testsfail/minimal-secure-streams-testsfail.c:740:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-testsfail/minimal-secure-streams-testsfail.c:624:71: note: Parameter 'len' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-testsfail/minimal-secure-streams-testsfail.c:625:7: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-testsfail/minimal-secure-streams-testsfail.c:740:11: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams-testsfail/minimal-secure-streams-testsfail.c:625:7: note: Parameter 'flags' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams/minimal-secure-streams.c:273:15: style: Parameter 'userobj' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'userobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams/minimal-secure-streams.c:471:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams/minimal-secure-streams.c:273:15: note: Parameter 'userobj' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams/minimal-secure-streams.c:273:58: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams/minimal-secure-streams.c:471:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams/minimal-secure-streams.c:273:58: note: Parameter 'buf' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams/minimal-secure-streams.c:273:71: style: Parameter 'len' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams/minimal-secure-streams.c:471:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams/minimal-secure-streams.c:273:71: note: Parameter 'len' can be declared as pointer to const head libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams/minimal-secure-streams.c:274:7: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'myss_tx' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams/minimal-secure-streams.c:471:13: note: You might need to cast the function pointer here libwebsockets-4.3.3/minimal-examples/secure-streams/minimal-secure-streams/minimal-secure-streams.c:274:7: note: Parameter 'flags' can be declared as pointer to const head libwebsockets-4.3.3/test-apps/android/app/src/main/jni/LwsService.cpp:87:45: style: Parameter 'vm' can be declared as pointer to const [constParameterPointer] head libwebsockets-4.3.3/test-apps/android/app/src/main/jni/LwsService.cpp:87:55: style: Parameter 'reserved' can be declared as pointer to const [constParameterPointer] 2.13.0 libwebsockets-4.3.3/win32port/zlib/deflate.c:705:36: style: Condition 's->pending==s->pending_buf_size' is always true [knownConditionTrueFalse] libwebsockets-4.3.3/win32port/zlib/deflate.c:699:32: note: Assuming condition 's->pending==s->pending_buf_size' is true libwebsockets-4.3.3/win32port/zlib/deflate.c:705:36: note: Condition 's->pending==s->pending_buf_size' is always true head libwebsockets-4.3.3/win32port/zlib/deflate.c:705:36: style: Condition 's->pending==s->pending_buf_size' is always true [knownConditionTrueFalse] libwebsockets-4.3.3/win32port/zlib/deflate.c:699:32: note: Assuming that condition 's->pending==s->pending_buf_size' is not redundant libwebsockets-4.3.3/win32port/zlib/deflate.c:705:36: note: Condition 's->pending==s->pending_buf_size' is always true 2.13.0 libwebsockets-4.3.3/win32port/zlib/deflate.c:734:36: style: Condition 's->pending==s->pending_buf_size' is always true [knownConditionTrueFalse] libwebsockets-4.3.3/win32port/zlib/deflate.c:728:32: note: Assuming condition 's->pending==s->pending_buf_size' is true libwebsockets-4.3.3/win32port/zlib/deflate.c:734:36: note: Condition 's->pending==s->pending_buf_size' is always true head libwebsockets-4.3.3/win32port/zlib/deflate.c:734:36: style: Condition 's->pending==s->pending_buf_size' is always true [knownConditionTrueFalse] libwebsockets-4.3.3/win32port/zlib/deflate.c:728:32: note: Assuming that condition 's->pending==s->pending_buf_size' is not redundant libwebsockets-4.3.3/win32port/zlib/deflate.c:734:36: note: Condition 's->pending==s->pending_buf_size' is always true 2.13.0 libwebsockets-4.3.3/win32port/zlib/deflate.c:765:36: style: Condition 's->pending==s->pending_buf_size' is always true [knownConditionTrueFalse] libwebsockets-4.3.3/win32port/zlib/deflate.c:759:32: note: Assuming condition 's->pending==s->pending_buf_size' is true libwebsockets-4.3.3/win32port/zlib/deflate.c:765:36: note: Condition 's->pending==s->pending_buf_size' is always true head libwebsockets-4.3.3/win32port/zlib/deflate.c:765:36: style: Condition 's->pending==s->pending_buf_size' is always true [knownConditionTrueFalse] libwebsockets-4.3.3/win32port/zlib/deflate.c:759:32: note: Assuming that condition 's->pending==s->pending_buf_size' is not redundant libwebsockets-4.3.3/win32port/zlib/deflate.c:765:36: note: Condition 's->pending==s->pending_buf_size' is always true head libwebsockets-4.3.3/win32port/zlib/inflate.c:1324:20: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] DONE