2023-06-07 19:41 ftp://ftp.de.debian.org/debian/pool/main/j/janus/janus_1.1.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=libcurl --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 -j1 platform: Linux-5.15.0-73-generic-x86_64-with-glibc2.35 python: 3.10.6 client-version: 1.3.45 compiler: g++ (Ubuntu 12.1.0-2ubuntu1~22.04) 12.1.0 cppcheck: head 2.10 head-info: 3ff8ce3 (2023-06-07 20:46:14 +0200) count: 289 223 elapsed-time: 149.5 1077.7 head-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 37.8616s (avg. 0.701141s - 54 result(s)) valueFlowLifetime(tokenlist, symboldatabase, errorLogger, settings): 22.7683s (avg. 0.124417s - 183 result(s)) valueFlowUninit(tokenlist, symboldatabase, settings): 5.30165s (avg. 0.0410981s - 129 result(s)) valueFlowCondition(SimpleConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 4.34388s (avg. 0.0336735s - 129 result(s)) Tokenizer::simplifyTokens1::simplifyTokenList1: 3.2361s (avg. 0.0469s - 69 result(s)) Overall time: 85.8159s old-timing-info: Tokenizer::simplifyTokens1: 349.156s (avg. 5.06024s - 69 result(s)) Tokenizer::simplifyTokens1::ValueFlow: 341.765s (avg. 6.32899s - 54 result(s)) Tokenizer::simplifyTokens1::createSymbolDatabase: 3.41552s (avg. 0.0632504s - 54 result(s)) Tokenizer::createTokens: 1.28774s (avg. 0.0181372s - 71 result(s)) Condition::runChecks: 1.23242s (avg. 0.0228227s - 54 result(s)) Overall time: 700.618s head results: janus-gateway-1.1.2/fuzzers/engines/standalone.c:19:3: portability: %zd in format string (no. 2) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] janus-gateway-1.1.2/fuzzers/rtcp_fuzzer.c:26:11: style: Checking if unsigned expression 'size' is less than zero. [unsignedLessThanZero] janus-gateway-1.1.2/fuzzers/rtcp_fuzzer.c:36:10: style: Variable 'copy_data0' is not assigned a value. [unassignedVariable] janus-gateway-1.1.2/fuzzers/rtcp_fuzzer.c:38:22: style: Variable 'copy_data5' is not assigned a value. [unassignedVariable] janus-gateway-1.1.2/fuzzers/rtp_fuzzer.c:59:11: style: Checking if unsigned expression 'size' is less than zero. [unsignedLessThanZero] janus-gateway-1.1.2/fuzzers/rtp_fuzzer.c:42:34: style: Variable 'xtn_hdr' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/sdp-utils.h:214:22: error: There is an unknown macro here somewhere. Configuration is required. If janus_sdp_attribute_create is a macro then please configure it. [unknownMacro] janus-gateway-1.1.2/src/config.c:709:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] janus-gateway-1.1.2/src/config.c:447:68: style:inconclusive: Function 'janus_config_add' argument 2 names different: declaration 'parent' definition 'container'. [funcArgNamesDifferent] janus-gateway-1.1.2/src/config.h:140:68: note: Function 'janus_config_add' argument 2 names different: declaration 'parent' definition 'container'. janus-gateway-1.1.2/src/config.c:447:68: note: Function 'janus_config_add' argument 2 names different: declaration 'parent' definition 'container'. janus-gateway-1.1.2/src/config.c:466:71: style:inconclusive: Function 'janus_config_remove' argument 2 names different: declaration 'parent' definition 'container'. [funcArgNamesDifferent] janus-gateway-1.1.2/src/config.h:146:71: note: Function 'janus_config_remove' argument 2 names different: declaration 'parent' definition 'container'. janus-gateway-1.1.2/src/config.c:466:71: note: Function 'janus_config_remove' argument 2 names different: declaration 'parent' definition 'container'. janus-gateway-1.1.2/src/events/janus_gelfevh.c:203:17: style: Variable 'out_bytes' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/events/janus_mqttevh.c:446:61: style:inconclusive: Function 'janus_mqttevh_client_connect_failure_impl' argument 1 names different: declaration 'context' definition 'contexts'. [funcArgNamesDifferent] janus-gateway-1.1.2/src/events/janus_mqttevh.c:231:61: note: Function 'janus_mqttevh_client_connect_failure_impl' argument 1 names different: declaration 'context' definition 'contexts'. janus-gateway-1.1.2/src/events/janus_mqttevh.c:446:61: note: Function 'janus_mqttevh_client_connect_failure_impl' argument 1 names different: declaration 'context' definition 'contexts'. janus-gateway-1.1.2/src/events/janus_mqttevh.c:633:74: style:inconclusive: Function 'janus_mqttevh_client_destroy_context' argument 1 names different: declaration 'ctx' definition 'ptr'. [funcArgNamesDifferent] janus-gateway-1.1.2/src/events/janus_mqttevh.c:208:74: note: Function 'janus_mqttevh_client_destroy_context' argument 1 names different: declaration 'ctx' definition 'ptr'. janus-gateway-1.1.2/src/events/janus_mqttevh.c:633:74: note: Function 'janus_mqttevh_client_destroy_context' argument 1 names different: declaration 'ctx' definition 'ptr'. janus-gateway-1.1.2/src/events/janus_nanomsgevh.c:496:11: style: Local variable 'res' shadows outer variable [shadowVariable] janus-gateway-1.1.2/src/events/janus_nanomsgevh.c:477:7: note: Shadowed declaration janus-gateway-1.1.2/src/events/janus_nanomsgevh.c:496:11: note: Shadow variable janus-gateway-1.1.2/src/events/janus_nanomsgevh.c:397:12: style: Variable 'count' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/events/janus_nanomsgevh.c:459:10: style: Variable 'fds' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/events/janus_rabbitmqevh.c:568:12: style: Variable 'count' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/events/janus_wsevh.c:636:12: style: Variable 'count' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/ip-utils.c:281:72: style: Condition 'janus_ip_copy_ipv4((struct sockaddr_in*)&addr,&result->ipv4)==0' is always true [knownConditionTrueFalse] janus-gateway-1.1.2/src/ip-utils.c:281:27: note: Calling function 'janus_ip_copy_ipv4' returns 0 janus-gateway-1.1.2/src/ip-utils.c:281:72: note: Condition 'janus_ip_copy_ipv4((struct sockaddr_in*)&addr,&result->ipv4)==0' is always true janus-gateway-1.1.2/src/ip-utils.c:304:73: style: Condition 'janus_ip_copy_ipv6((struct sockaddr_in6*)&addr,&result->ipv6)==0' is always true [knownConditionTrueFalse] janus-gateway-1.1.2/src/ip-utils.c:304:27: note: Calling function 'janus_ip_copy_ipv6' returns 0 janus-gateway-1.1.2/src/ip-utils.c:304:73: note: Condition 'janus_ip_copy_ipv6((struct sockaddr_in6*)&addr,&result->ipv6)==0' is always true janus-gateway-1.1.2/src/ip-utils.c:73:73: style:inconclusive: Function 'janus_network_query_devices' argument 1 names different: declaration 'ifas' definition 'ifa'. [funcArgNamesDifferent] janus-gateway-1.1.2/src/ip-utils.h:114:73: note: Function 'janus_network_query_devices' argument 1 names different: declaration 'ifas' definition 'ifa'. janus-gateway-1.1.2/src/ip-utils.c:73:73: note: Function 'janus_network_query_devices' argument 1 names different: declaration 'ifas' definition 'ifa'. janus-gateway-1.1.2/src/ip-utils.c:174:23: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/ip-utils.c:179:24: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/loggers/janus_jsonlog.c:323:18: style: Variable 'json_len' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/loggers/janus_jsonlog.c:323:30: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/loggers/janus_jsonlog.c:323:43: style: Variable 'written' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/options.c:15:45: style:inconclusive: Function 'janus_options_parse' argument 1 names different: declaration 'opts' definition 'options'. [funcArgNamesDifferent] janus-gateway-1.1.2/src/options.h:66:45: note: Function 'janus_options_parse' argument 1 names different: declaration 'opts' definition 'options'. janus-gateway-1.1.2/src/options.c:15:45: note: Function 'janus_options_parse' argument 1 names different: declaration 'opts' definition 'options'. janus-gateway-1.1.2/src/plugins/janus_duktape.c:2387:81: style:inconclusive: Function 'janus_duktape_incoming_rtp' argument 2 names different: declaration 'packet' definition 'rtp_packet'. [funcArgNamesDifferent] janus-gateway-1.1.2/src/plugins/janus_duktape.c:224:81: note: Function 'janus_duktape_incoming_rtp' argument 2 names different: declaration 'packet' definition 'rtp_packet'. janus-gateway-1.1.2/src/plugins/janus_duktape.c:2387:81: note: Function 'janus_duktape_incoming_rtp' argument 2 names different: declaration 'packet' definition 'rtp_packet'. janus-gateway-1.1.2/src/plugins/janus_duktape.c:628:11: style: Local variable 'error' shadows outer variable [shadowVariable] janus-gateway-1.1.2/src/plugins/janus_duktape.c:563:15: note: Shadowed declaration janus-gateway-1.1.2/src/plugins/janus_duktape.c:628:11: note: Shadow variable janus-gateway-1.1.2/src/plugins/janus_duktape.c:2279:7: style: Local variable 'res' shadows outer variable [shadowVariable] janus-gateway-1.1.2/src/plugins/janus_duktape.c:2261:6: note: Shadowed declaration janus-gateway-1.1.2/src/plugins/janus_duktape.c:2279:7: note: Shadow variable janus-gateway-1.1.2/src/plugins/janus_duktape.c:2883:21: style: Local variable 'data' shadows outer argument [shadowArgument] janus-gateway-1.1.2/src/plugins/janus_duktape.c:2869:54: note: Shadowed declaration janus-gateway-1.1.2/src/plugins/janus_duktape.c:2883:21: note: Shadow variable janus-gateway-1.1.2/src/plugins/janus_duktape.c:474:23: style: Variable 'r' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/plugins/janus_lua.c:2061:77: style:inconclusive: Function 'janus_lua_incoming_rtp' argument 2 names different: declaration 'packet' definition 'rtp_packet'. [funcArgNamesDifferent] janus-gateway-1.1.2/src/plugins/janus_lua.c:225:77: note: Function 'janus_lua_incoming_rtp' argument 2 names different: declaration 'packet' definition 'rtp_packet'. janus-gateway-1.1.2/src/plugins/janus_lua.c:2061:77: note: Function 'janus_lua_incoming_rtp' argument 2 names different: declaration 'packet' definition 'rtp_packet'. janus-gateway-1.1.2/src/plugins/janus_lua.c:556:11: style: Local variable 'error' shadows outer variable [shadowVariable] janus-gateway-1.1.2/src/plugins/janus_lua.c:489:15: note: Shadowed declaration janus-gateway-1.1.2/src/plugins/janus_lua.c:556:11: note: Shadow variable janus-gateway-1.1.2/src/plugins/janus_lua.c:2511:21: style: Local variable 'data' shadows outer argument [shadowArgument] janus-gateway-1.1.2/src/plugins/janus_lua.c:2497:50: note: Shadowed declaration janus-gateway-1.1.2/src/plugins/janus_lua.c:2511:21: note: Shadow variable janus-gateway-1.1.2/src/plugins/janus_textroom.c:1532:24: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] janus-gateway-1.1.2/src/plugins/janus_textroom.c:2351:24: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] janus-gateway-1.1.2/src/plugins/janus_textroom.c:3102:12: style: Variable 'do_offer' is reassigned a value before the old one has been used. [redundantAssignment] janus-gateway-1.1.2/src/plugins/janus_textroom.c:3098:12: note: do_offer is assigned janus-gateway-1.1.2/src/plugins/janus_textroom.c:3102:12: note: do_offer is overwritten janus-gateway-1.1.2/src/plugins/janus_textroom.c:864:2: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] janus-gateway-1.1.2/src/plugins/janus_textroom.c:1410:24: style: Checking if unsigned expression 'len' is less than zero. [unsignedLessThanZero] janus-gateway-1.1.2/src/plugins/janus_textroom.c:1523:11: style: Local variable 'text' shadows outer argument [shadowArgument] janus-gateway-1.1.2/src/plugins/janus_textroom.c:1436:97: note: Shadowed declaration janus-gateway-1.1.2/src/plugins/janus_textroom.c:1523:11: note: Shadow variable janus-gateway-1.1.2/src/plugins/janus_textroom.c:1617:12: style: Local variable 'text' shadows outer argument [shadowArgument] janus-gateway-1.1.2/src/plugins/janus_textroom.c:1436:97: note: Shadowed declaration janus-gateway-1.1.2/src/plugins/janus_textroom.c:1617:12: note: Shadow variable janus-gateway-1.1.2/src/plugins/janus_textroom.c:1772:11: style: Local variable 'text' shadows outer argument [shadowArgument] janus-gateway-1.1.2/src/plugins/janus_textroom.c:1436:97: note: Shadowed declaration janus-gateway-1.1.2/src/plugins/janus_textroom.c:1772:11: note: Shadow variable janus-gateway-1.1.2/src/plugins/janus_textroom.c:2343:11: style: Local variable 'text' shadows outer argument [shadowArgument] janus-gateway-1.1.2/src/plugins/janus_textroom.c:1436:97: note: Shadowed declaration janus-gateway-1.1.2/src/plugins/janus_textroom.c:2343:11: note: Shadow variable janus-gateway-1.1.2/src/plugins/janus_textroom.c:2384:11: style: Local variable 'text' shadows outer argument [shadowArgument] janus-gateway-1.1.2/src/plugins/janus_textroom.c:1436:97: note: Shadowed declaration janus-gateway-1.1.2/src/plugins/janus_textroom.c:2384:11: note: Shadow variable janus-gateway-1.1.2/src/plugins/janus_textroom.c:3167:12: style: Local variable 'event' shadows outer variable [shadowVariable] janus-gateway-1.1.2/src/plugins/janus_textroom.c:3130:11: note: Shadowed declaration janus-gateway-1.1.2/src/plugins/janus_textroom.c:3167:12: note: Shadow variable janus-gateway-1.1.2/src/plugins/janus_textroom.c:906:22: style: Variable 'events' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/plugins/janus_textroom.c:912:22: style: Variable 'ids' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/plugins/janus_textroom.c:932:23: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/plugins/janus_textroom.c:936:23: style: Variable 'post' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/plugins/janus_textroom.c:1153:26: style: Variable 'session' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/plugins/janus_textroom.c:2461:11: style: Variable 'post' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/plugins/janus_voicemail.c:859:12: style: Local variable 'event' shadows outer variable [shadowVariable] janus-gateway-1.1.2/src/plugins/janus_voicemail.c:698:11: note: Shadowed declaration janus-gateway-1.1.2/src/plugins/janus_voicemail.c:859:12: note: Shadow variable janus-gateway-1.1.2/src/plugins/janus_voicemail.c:333:22: style: Variable 'events' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/plugins/janus_voicemail.c:470:27: style: Variable 'session' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/plugins/janus_voicemail.c:592:20: style: Variable 'rtp' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/postprocessing/janus-pp-rec.c:756:43: style: Redundant condition: data. '!data || (data && textdata)' is equivalent to '!data || textdata' [redundantCondition] janus-gateway-1.1.2/src/postprocessing/janus-pp-rec.c:914:35: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/postprocessing/janus-pp-rec.c:1542:23: style: Variable 'rtp' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/postprocessing/janus-pp-rec.c:1547:34: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/postprocessing/janus-pp-rec.c:1554:19: style: Variable 'extid' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/janus-pp-rec.c:1578:9: style: Variable 'hlen' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/mjr2pcap.c:190:12: style: Variable 'bytes' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/mjr2pcap.c:214:11: style: Variable 'bytes' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/mjr2pcap.c:235:10: style: Variable 'bytes' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/mjr2pcap.c:240:11: style: Variable 'bytes' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/mjr2pcap.c:366:12: style: Variable 'temp' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/pcap2mjr.c:203:25: style: Local variable 'header' shadows outer variable [shadowVariable] janus-gateway-1.1.2/src/postprocessing/pcap2mjr.c:73:20: note: Shadowed declaration janus-gateway-1.1.2/src/postprocessing/pcap2mjr.c:203:25: note: Shadow variable janus-gateway-1.1.2/src/postprocessing/pcap2mjr.c:324:10: style: Local variable 'res' shadows outer variable [shadowVariable] janus-gateway-1.1.2/src/postprocessing/pcap2mjr.c:189:9: note: Shadowed declaration janus-gateway-1.1.2/src/postprocessing/pcap2mjr.c:324:10: note: Shadow variable janus-gateway-1.1.2/src/postprocessing/pcap2mjr.c:311:11: style: Local variable 'res' shadows outer variable [shadowVariable] janus-gateway-1.1.2/src/postprocessing/pcap2mjr.c:189:9: note: Shadowed declaration janus-gateway-1.1.2/src/postprocessing/pcap2mjr.c:311:11: note: Shadow variable janus-gateway-1.1.2/src/postprocessing/pcap2mjr.c:235:30: style: Variable 'eth' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/postprocessing/pcap2mjr.c:241:23: style: Variable 'lcc' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/postprocessing/pcap2mjr.c:248:15: style: Variable 'v4' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/postprocessing/pcap2mjr.c:274:24: style: Variable 'rtp' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/postprocessing/pcap2mjr.c:344:11: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/pp-av1.c:217:15: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] janus-gateway-1.1.2/src/postprocessing/pp-av1.c:216:35: note: outer condition: tmp->ts>tmp->prev->ts janus-gateway-1.1.2/src/postprocessing/pp-av1.c:217:15: note: identical inner condition: tmp->ts>tmp->prev->ts janus-gateway-1.1.2/src/postprocessing/pp-av1.c:43:31: style: Parameter 'destination' can be declared as pointer to const [constParameterPointer] janus-gateway-1.1.2/src/postprocessing/pp-av1.c:345:72: style: Parameter 'working' can be declared as pointer to const [constParameterPointer] janus-gateway-1.1.2/src/postprocessing/pp-av1.c:122:36: style: Variable 'i' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/pp-av1.c:353:10: style: Variable 'len' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/pp-av1.c:353:24: style: Variable 'frameLen' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/pp-av1.c:353:48: style: Variable 'dataLen' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/pp-av1.c:354:15: style: Variable 'keyFrame' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/pp-av1.c:409:21: style: Variable 'obusize' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/pp-binary.c:45:75: style: Parameter 'working' can be declared as pointer to const [constParameterPointer] janus-gateway-1.1.2/src/postprocessing/pp-g711.c:161:73: style: Parameter 'working' can be declared as pointer to const [constParameterPointer] janus-gateway-1.1.2/src/postprocessing/pp-g711.c:28:7: style: struct member 'janus_pp_g711_wav::riff' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-g711.c:29:11: style: struct member 'janus_pp_g711_wav::len' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-g711.c:30:7: style: struct member 'janus_pp_g711_wav::wave' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-g711.c:31:7: style: struct member 'janus_pp_g711_wav::fmt' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-g711.c:32:11: style: struct member 'janus_pp_g711_wav::formatsize' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-g711.c:33:11: style: struct member 'janus_pp_g711_wav::format' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-g711.c:34:11: style: struct member 'janus_pp_g711_wav::channels' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-g711.c:35:11: style: struct member 'janus_pp_g711_wav::samplerate' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-g711.c:36:11: style: struct member 'janus_pp_g711_wav::avgbyterate' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-g711.c:37:11: style: struct member 'janus_pp_g711_wav::samplebytes' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-g711.c:38:11: style: struct member 'janus_pp_g711_wav::channelbits' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-g711.c:39:7: style: struct member 'janus_pp_g711_wav::data' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-g711.c:40:11: style: struct member 'janus_pp_g711_wav::blocksize' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-g711.c:225:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/pp-g722.c:117:73: style: Parameter 'working' can be declared as pointer to const [constParameterPointer] janus-gateway-1.1.2/src/postprocessing/pp-g722.c:33:7: style: struct member 'janus_pp_g722_wav::riff' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-g722.c:34:11: style: struct member 'janus_pp_g722_wav::len' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-g722.c:35:7: style: struct member 'janus_pp_g722_wav::wave' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-g722.c:36:7: style: struct member 'janus_pp_g722_wav::fmt' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-g722.c:37:11: style: struct member 'janus_pp_g722_wav::formatsize' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-g722.c:38:11: style: struct member 'janus_pp_g722_wav::format' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-g722.c:39:11: style: struct member 'janus_pp_g722_wav::channels' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-g722.c:40:11: style: struct member 'janus_pp_g722_wav::samplerate' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-g722.c:41:11: style: struct member 'janus_pp_g722_wav::avgbyterate' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-g722.c:42:11: style: struct member 'janus_pp_g722_wav::samplebytes' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-g722.c:43:11: style: struct member 'janus_pp_g722_wav::channelbits' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-g722.c:44:7: style: struct member 'janus_pp_g722_wav::data' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-g722.c:45:11: style: struct member 'janus_pp_g722_wav::blocksize' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-g722.c:213:16: style: Variable 'ch' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/pp-h264.c:247:15: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] janus-gateway-1.1.2/src/postprocessing/pp-h264.c:246:35: note: outer condition: tmp->ts>tmp->prev->ts janus-gateway-1.1.2/src/postprocessing/pp-h264.c:247:15: note: identical inner condition: tmp->ts>tmp->prev->ts janus-gateway-1.1.2/src/postprocessing/pp-h264.c:372:73: style: Parameter 'working' can be declared as pointer to const [constParameterPointer] janus-gateway-1.1.2/src/postprocessing/pp-h264.c:380:10: style: Variable 'len' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/pp-h264.c:380:24: style: Variable 'frameLen' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/pp-h264.c:381:15: style: Variable 'keyFrame' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/pp-h265.c:247:15: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] janus-gateway-1.1.2/src/postprocessing/pp-h265.c:246:35: note: outer condition: tmp->ts>tmp->prev->ts janus-gateway-1.1.2/src/postprocessing/pp-h265.c:247:15: note: identical inner condition: tmp->ts>tmp->prev->ts janus-gateway-1.1.2/src/postprocessing/pp-h265.c:349:14: style: Local variable 'unit' shadows outer variable [shadowVariable] janus-gateway-1.1.2/src/postprocessing/pp-h265.c:282:12: note: Shadowed declaration janus-gateway-1.1.2/src/postprocessing/pp-h265.c:349:14: note: Shadow variable janus-gateway-1.1.2/src/postprocessing/pp-h265.c:352:13: style: Local variable 'fbit' shadows outer variable [shadowVariable] janus-gateway-1.1.2/src/postprocessing/pp-h265.c:285:11: note: Shadowed declaration janus-gateway-1.1.2/src/postprocessing/pp-h265.c:352:13: note: Shadow variable janus-gateway-1.1.2/src/postprocessing/pp-h265.c:353:13: style: Local variable 'type' shadows outer variable [shadowVariable] janus-gateway-1.1.2/src/postprocessing/pp-h265.c:286:11: note: Shadowed declaration janus-gateway-1.1.2/src/postprocessing/pp-h265.c:353:13: note: Shadow variable janus-gateway-1.1.2/src/postprocessing/pp-h265.c:354:13: style: Local variable 'lid' shadows outer variable [shadowVariable] janus-gateway-1.1.2/src/postprocessing/pp-h265.c:287:11: note: Shadowed declaration janus-gateway-1.1.2/src/postprocessing/pp-h265.c:354:13: note: Shadow variable janus-gateway-1.1.2/src/postprocessing/pp-h265.c:355:13: style: Local variable 'tid' shadows outer variable [shadowVariable] janus-gateway-1.1.2/src/postprocessing/pp-h265.c:288:11: note: Shadowed declaration janus-gateway-1.1.2/src/postprocessing/pp-h265.c:355:13: note: Shadow variable janus-gateway-1.1.2/src/postprocessing/pp-h265.c:343:13: style: Variable 'end' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/postprocessing/pp-h265.c:455:73: style: Parameter 'working' can be declared as pointer to const [constParameterPointer] janus-gateway-1.1.2/src/postprocessing/pp-h265.c:532:14: style: Variable 'end' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/postprocessing/pp-h265.c:345:55: error: Uninitialized variable: payload_len [uninitvar] janus-gateway-1.1.2/src/postprocessing/pp-h265.c:534:43: error: Uninitialized variable: payload_len [uninitvar] janus-gateway-1.1.2/src/postprocessing/pp-h265.c:176:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/pp-h265.c:463:10: style: Variable 'len' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/pp-h265.c:463:24: style: Variable 'frameLen' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/pp-h265.c:464:15: style: Variable 'keyFrame' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/pp-l16.c:54:48: style:inconclusive: Function 'janus_pp_l16_create' argument 2 names different: declaration 'samplerate' definition 'rate'. [funcArgNamesDifferent] janus-gateway-1.1.2/src/postprocessing/pp-l16.h:21:48: note: Function 'janus_pp_l16_create' argument 2 names different: declaration 'samplerate' definition 'rate'. janus-gateway-1.1.2/src/postprocessing/pp-l16.c:54:48: note: Function 'janus_pp_l16_create' argument 2 names different: declaration 'samplerate' definition 'rate'. janus-gateway-1.1.2/src/postprocessing/pp-l16.c:92:72: style: Parameter 'working' can be declared as pointer to const [constParameterPointer] janus-gateway-1.1.2/src/postprocessing/pp-l16.c:28:7: style: struct member 'janus_pp_l16_wav::riff' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-l16.c:29:11: style: struct member 'janus_pp_l16_wav::len' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-l16.c:30:7: style: struct member 'janus_pp_l16_wav::wave' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-l16.c:31:7: style: struct member 'janus_pp_l16_wav::fmt' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-l16.c:32:11: style: struct member 'janus_pp_l16_wav::formatsize' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-l16.c:33:11: style: struct member 'janus_pp_l16_wav::format' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-l16.c:34:11: style: struct member 'janus_pp_l16_wav::channels' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-l16.c:35:11: style: struct member 'janus_pp_l16_wav::samplerate' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-l16.c:36:11: style: struct member 'janus_pp_l16_wav::avgbyterate' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-l16.c:37:11: style: struct member 'janus_pp_l16_wav::samplebytes' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-l16.c:38:11: style: struct member 'janus_pp_l16_wav::channelbits' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-l16.c:39:7: style: struct member 'janus_pp_l16_wav::data' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-l16.c:40:11: style: struct member 'janus_pp_l16_wav::blocksize' is never used. [unusedStructMember] janus-gateway-1.1.2/src/postprocessing/pp-options.c:17:57: style:inconclusive: Function 'janus_pprec_options_parse' argument 1 names different: declaration 'opts' definition 'options'. [funcArgNamesDifferent] janus-gateway-1.1.2/src/postprocessing/pp-options.h:48:57: note: Function 'janus_pprec_options_parse' argument 1 names different: declaration 'opts' definition 'options'. janus-gateway-1.1.2/src/postprocessing/pp-options.c:17:57: note: Function 'janus_pprec_options_parse' argument 1 names different: declaration 'opts' definition 'options'. janus-gateway-1.1.2/src/postprocessing/pp-opus.c:233:29: error:inconclusive: Overflow in pointer arithmetic, NULL pointer is subtracted. [nullPointerArithmetic] janus-gateway-1.1.2/src/postprocessing/pp-opus.c:180:18: note: Assignment 'payload=NULL', assigned value is 0 janus-gateway-1.1.2/src/postprocessing/pp-opus.c:233:29: note: Null pointer subtraction janus-gateway-1.1.2/src/postprocessing/pp-opus.c:58:32: style: Parameter 'destination' can be declared as pointer to const [constParameterPointer] janus-gateway-1.1.2/src/postprocessing/pp-opus.c:58:51: style: Parameter 'metadata' can be declared as pointer to const [constParameterPointer] janus-gateway-1.1.2/src/postprocessing/pp-opus.c:104:73: style: Parameter 'working' can be declared as pointer to const [constParameterPointer] janus-gateway-1.1.2/src/postprocessing/pp-opus.c:172:22: style: Variable 'length' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/pp-srt.c:62:72: style: Parameter 'working' can be declared as pointer to const [constParameterPointer] janus-gateway-1.1.2/src/postprocessing/pp-webm.c:50:32: style: Parameter 'destination' can be declared as pointer to const [constParameterPointer] janus-gateway-1.1.2/src/postprocessing/pp-webm.c:50:51: style: Parameter 'metadata' can be declared as pointer to const [constParameterPointer] janus-gateway-1.1.2/src/postprocessing/pp-webm.c:325:87: style: Parameter 'working' can be declared as pointer to const [constParameterPointer] janus-gateway-1.1.2/src/postprocessing/pp-webm.c:155:41: style: Variable 'wholepicid' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/pp-webm.c:167:12: style: Variable 'vp8pd' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/pp-webm.c:172:12: style: Variable 'vp8pd' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/pp-webm.c:238:40: style: Variable 'wholepicid' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/pp-webm.c:333:10: style: Variable 'len' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/pp-webm.c:333:24: style: Variable 'frameLen' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/pp-webm.c:334:15: style: Variable 'keyFrame' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/pp-webm.c:399:42: style: Variable 'wholepicid' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/pp-webm.c:415:13: style: Variable 'vp8pd' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/pp-webm.c:421:14: style: Variable 'skipped' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/pp-webm.c:422:13: style: Variable 'vp8pd' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/postprocessing/pp-webm.c:474:41: style: Variable 'wholepicid' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/record.c:450:20: style: Local variable 'header' shadows outer variable [shadowVariable] janus-gateway-1.1.2/src/record.c:37:20: note: Shadowed declaration janus-gateway-1.1.2/src/record.c:450:20: note: Shadow variable janus-gateway-1.1.2/src/record.c:442:10: style: Local variable 'now' shadows outer variable [shadowVariable] janus-gateway-1.1.2/src/record.c:352:9: note: Shadowed declaration janus-gateway-1.1.2/src/record.c:442:10: note: Shadow variable janus-gateway-1.1.2/src/record.c:460:11: style: Variable 'temp' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/rtcp.c:1713:8: style: Condition '!all_same' is always true [knownConditionTrueFalse] janus-gateway-1.1.2/src/rtcp.c:1711:7: note: Assuming that condition '!all_same' is not redundant janus-gateway-1.1.2/src/rtcp.c:1713:8: note: Condition '!all_same' is always true janus-gateway-1.1.2/src/rtcp.c:1759:15: style: Condition '!all_same' is always true [knownConditionTrueFalse] janus-gateway-1.1.2/src/rtcp.c:1711:7: note: Assuming that condition '!all_same' is not redundant janus-gateway-1.1.2/src/rtcp.c:1759:15: note: Condition '!all_same' is always true janus-gateway-1.1.2/src/rtcp.c:1708:15: style: Variable 'last_status' is reassigned a value before the old one has been used. [redundantAssignment] janus-gateway-1.1.2/src/rtcp.c:1690:17: note: last_status is assigned janus-gateway-1.1.2/src/rtcp.c:1708:15: note: last_status is overwritten janus-gateway-1.1.2/src/rtcp.c:1569:64: style:inconclusive: Function 'janus_rtcp_transport_wide_cc_feedback' argument 2 names different: declaration 'len' definition 'size'. [funcArgNamesDifferent] janus-gateway-1.1.2/src/rtcp.h:539:64: note: Function 'janus_rtcp_transport_wide_cc_feedback' argument 2 names different: declaration 'len' definition 'size'. janus-gateway-1.1.2/src/rtcp.c:1569:64: note: Function 'janus_rtcp_transport_wide_cc_feedback' argument 2 names different: declaration 'len' definition 'size'. janus-gateway-1.1.2/src/rtcp.c:679:21: style: Local variable 'rtcpfb' shadows outer variable [shadowVariable] janus-gateway-1.1.2/src/rtcp.c:648:20: note: Shadowed declaration janus-gateway-1.1.2/src/rtcp.c:679:21: note: Shadow variable janus-gateway-1.1.2/src/rtcp.c:1730:30: style: Local variable 'status' shadows outer variable [shadowVariable] janus-gateway-1.1.2/src/rtcp.c:1629:27: note: Shadowed declaration janus-gateway-1.1.2/src/rtcp.c:1730:30: note: Shadow variable janus-gateway-1.1.2/src/rtcp.c:1776:30: style: Local variable 'status' shadows outer variable [shadowVariable] janus-gateway-1.1.2/src/rtcp.c:1629:27: note: Shadowed declaration janus-gateway-1.1.2/src/rtcp.c:1776:30: note: Shadow variable janus-gateway-1.1.2/src/rtcp.c:616:46: style: Clarify calculation precedence for '>>' and '?'. [clarifyCalculation] janus-gateway-1.1.2/src/rtcp.c:1221:45: style: Clarify calculation precedence for '>>' and '?'. [clarifyCalculation] janus-gateway-1.1.2/src/rtcp.c:48:20: style: Variable 'header' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/rtcp.c:70:20: style: Variable 'sr' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/rtcp.c:75:20: style: Variable 'rr' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/rtcp.c:80:20: style: Variable 'rtcpfb' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/rtcp.c:85:20: style: Variable 'rtcpfb' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/rtcp.c:90:20: style: Variable 'xr' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/rtcp.c:145:20: style: Variable 'rtcpfb' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/rtcp.c:230:66: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] janus-gateway-1.1.2/src/rtcp.c:418:50: style: Parameter 'rtcp' can be declared as pointer to const [constParameterPointer] janus-gateway-1.1.2/src/rtcp.c:455:50: style: Parameter 'rtcp' can be declared as pointer to const [constParameterPointer] janus-gateway-1.1.2/src/rtcp.c:494:17: style: Variable 'rtcpfb' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/rtcp.c:830:20: style: Variable 'rtp' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/rtcp.c:912:69: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] janus-gateway-1.1.2/src/rtcp.c:916:75: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] janus-gateway-1.1.2/src/rtcp.c:920:70: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] janus-gateway-1.1.2/src/rtcp.c:924:76: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] janus-gateway-1.1.2/src/rtcp.c:934:65: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] janus-gateway-1.1.2/src/rtcp.c:946:74: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] janus-gateway-1.1.2/src/rtcp.c:1505:28: warning: Either the condition '*seqnr>=256' is redundant or there is signed integer overflow for expression '*seqnr<<24'. [integerOverflowCond] janus-gateway-1.1.2/src/rtcp.c:1494:2: note: Compound assignment '=', assigned value is 256 janus-gateway-1.1.2/src/rtcp.c:1494:18: note: Assignment to '*seqnr=*seqnr+1' janus-gateway-1.1.2/src/rtcp.c:1505:28: note: Integer overflow janus-gateway-1.1.2/src/rtcp.c:254:12: style: Variable 't' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/rtcp.c:254:20: style: Variable 'ss' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/rtcp.c:254:27: style: Variable 's' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/rtcp.c:254:39: style: Variable 'length' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/rtcp.c:303:17: style: Variable 'delta' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/rtcp.c:304:20: style: Variable 'delta_us' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/rtcp.c:606:20: style: Variable 'pid' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/rtcp.c:607:20: style: Variable 'blp' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/rtcp.c:608:17: style: Variable 'j' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/rtcp.c:751:26: style: Variable 'length' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/rtcp.c:751:37: style: Variable 'bytes' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/rtcp.c:753:16: style: Variable 'keep' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/rtcp.c:1210:19: style: Variable 'pid' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/rtcp.c:1211:19: style: Variable 'blp' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/rtcp.c:1212:16: style: Variable 'j' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/rtcp.c:1589:25: style: Variable 'reference_time' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/rtp.c:22:20: style: Variable 'header' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/rtp.c:29:20: style: Variable 'rtp' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/rtp.c:38:31: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/rtp.c:136:20: style: Variable 'rtp' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/rtp.c:144:31: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/rtp.c:404:20: style: Variable 'rtp' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/rtp.c:412:31: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/rtp.c:1089:20: style: Variable 'header' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/rtp.c:151:19: style: Variable 'extid' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/rtp.c:180:19: style: Variable 'extid' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/rtp.c:208:9: style: Variable 'hlen' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/rtp.c:419:19: style: Variable 'extid' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/rtp.c:440:19: style: Variable 'extid' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/rtp.c:460:9: style: Variable 'hlen' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/text2pcap.c:268:18: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] janus-gateway-1.1.2/src/text2pcap.c:249:12: style: Variable 'temp' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/text2pcap.c:297:11: style: Variable 'temp' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/transports/janus_http.c:673:22: style: Variable 'events' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/transports/janus_http.c:1021:71: style: Parameter 'request_id' can be declared as pointer to const. However it seems that 'janus_http_send_message' is a callback function, if 'request_id' is declared with const you might also need to cast function pointer(s). [constParameterCallback] janus-gateway-1.1.2/src/transports/janus_http.c:84:2: note: You might need to cast the function pointer here janus-gateway-1.1.2/src/transports/janus_http.c:1021:71: note: Parameter 'request_id' can be declared as pointer to const janus-gateway-1.1.2/src/transports/janus_http.c:1119:58: style: Parameter 'transport' can be declared as pointer to const. However it seems that 'janus_http_session_created' is a callback function, if 'transport' is declared with const you might also need to cast function pointer(s). [constParameterCallback] janus-gateway-1.1.2/src/transports/janus_http.c:84:2: note: You might need to cast the function pointer here janus-gateway-1.1.2/src/transports/janus_http.c:1119:58: note: Parameter 'transport' can be declared as pointer to const janus-gateway-1.1.2/src/transports/janus_http.c:420:28: style: Variable 'n' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/transports/janus_mqtt.c:431:27: style: Redundant initialization for 'keep_alive_interval_item'. The initialized value is overwritten before it is read. [redundantInitialization] janus-gateway-1.1.2/src/transports/janus_mqtt.c:430:46: note: keep_alive_interval_item is initialized janus-gateway-1.1.2/src/transports/janus_mqtt.c:431:27: note: keep_alive_interval_item is overwritten janus-gateway-1.1.2/src/transports/janus_mqtt.c:448:20: style: Redundant initialization for 'max_inflight_item'. The initialized value is overwritten before it is read. [redundantInitialization] janus-gateway-1.1.2/src/transports/janus_mqtt.c:447:39: note: max_inflight_item is initialized janus-gateway-1.1.2/src/transports/janus_mqtt.c:448:20: note: max_inflight_item is overwritten janus-gateway-1.1.2/src/transports/janus_mqtt.c:457:20: style: Redundant initialization for 'max_buffered_item'. The initialized value is overwritten before it is read. [redundantInitialization] janus-gateway-1.1.2/src/transports/janus_mqtt.c:456:39: note: max_buffered_item is initialized janus-gateway-1.1.2/src/transports/janus_mqtt.c:457:20: note: max_buffered_item is overwritten janus-gateway-1.1.2/src/transports/janus_mqtt.c:1170:1: style: Label 'done' is not used. [unusedLabel] janus-gateway-1.1.2/src/transports/janus_mqtt.c:1674:61: style:inconclusive: Function 'janus_mqtt_client_destroy_context' argument 1 names different: declaration 'ctx' definition 'ptr'. [funcArgNamesDifferent] janus-gateway-1.1.2/src/transports/janus_mqtt.c:210:61: note: Function 'janus_mqtt_client_destroy_context' argument 1 names different: declaration 'ctx' definition 'ptr'. janus-gateway-1.1.2/src/transports/janus_mqtt.c:1674:61: note: Function 'janus_mqtt_client_destroy_context' argument 1 names different: declaration 'ctx' definition 'ptr'. janus-gateway-1.1.2/src/transports/janus_mqtt.c:1455:7: style: Local variable 'rc' shadows outer argument [shadowArgument] janus-gateway-1.1.2/src/transports/janus_mqtt.c:1449:66: note: Shadowed declaration janus-gateway-1.1.2/src/transports/janus_mqtt.c:1455:7: note: Shadow variable janus-gateway-1.1.2/src/transports/janus_mqtt.c:1495:7: style: Local variable 'rc' shadows outer argument [shadowArgument] janus-gateway-1.1.2/src/transports/janus_mqtt.c:1489:72: note: Shadowed declaration janus-gateway-1.1.2/src/transports/janus_mqtt.c:1495:7: note: Shadow variable janus-gateway-1.1.2/src/transports/janus_mqtt.c:358:21: style: Variable 'events_item' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/transports/janus_mqtt.c:402:22: style: Variable 'verify' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/transports/janus_mqtt.c:619:21: style: Variable 'status_enabled_item' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/transports/janus_mqtt.c:649:22: style: Variable 'status_retain_item' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/transports/janus_nanomsg.c:558:11: style: Local variable 'res' shadows outer variable [shadowVariable] janus-gateway-1.1.2/src/transports/janus_nanomsg.c:539:7: note: Shadowed declaration janus-gateway-1.1.2/src/transports/janus_nanomsg.c:558:11: note: Shadow variable janus-gateway-1.1.2/src/transports/janus_nanomsg.c:571:10: style: Local variable 'res' shadows outer variable [shadowVariable] janus-gateway-1.1.2/src/transports/janus_nanomsg.c:539:7: note: Shadowed declaration janus-gateway-1.1.2/src/transports/janus_nanomsg.c:571:10: note: Shadow variable janus-gateway-1.1.2/src/transports/janus_nanomsg.c:186:22: style: Variable 'events' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/transports/janus_nanomsg.c:511:10: style: Variable 'fds' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/transports/janus_pfunix.c:718:11: style: Local variable 'res' shadows outer variable [shadowVariable] janus-gateway-1.1.2/src/transports/janus_pfunix.c:638:7: note: Shadowed declaration janus-gateway-1.1.2/src/transports/janus_pfunix.c:718:11: note: Shadow variable janus-gateway-1.1.2/src/transports/janus_pfunix.c:787:31: style: Local variable 'address' shadows outer variable [shadowVariable] janus-gateway-1.1.2/src/transports/janus_pfunix.c:754:25: note: Shadowed declaration janus-gateway-1.1.2/src/transports/janus_pfunix.c:787:31: note: Shadow variable janus-gateway-1.1.2/src/transports/janus_pfunix.c:269:22: style: Variable 'events' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/transports/janus_pfunix.c:591:10: style: Variable 'fds' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/transports/janus_rabbitmq.c:243:21: style: Variable 'events' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/transports/janus_websockets.c:712:24: warning: Logical conjunction always evaluates to false: pingpong_trigger && !(pingpong_timeout). [incorrectLogicOperator] janus-gateway-1.1.2/src/transports/janus_websockets.c:687:48: note: 'pingpong_timeout' is assigned value '0' here. janus-gateway-1.1.2/src/transports/janus_websockets.c:687:26: note: 'pingpong_trigger' is assigned value '0' here. janus-gateway-1.1.2/src/transports/janus_websockets.c:712:24: note: Logical conjunction always evaluates to false: pingpong_trigger && !(pingpong_timeout). janus-gateway-1.1.2/src/transports/janus_websockets.c:712:68: warning: Logical conjunction always evaluates to false: !(pingpong_trigger) && pingpong_timeout. [incorrectLogicOperator] janus-gateway-1.1.2/src/transports/janus_websockets.c:687:26: note: 'pingpong_trigger' is assigned value '0' here. janus-gateway-1.1.2/src/transports/janus_websockets.c:687:48: note: 'pingpong_timeout' is assigned value '0' here. janus-gateway-1.1.2/src/transports/janus_websockets.c:712:68: note: Logical conjunction always evaluates to false: !(pingpong_trigger) && pingpong_timeout. janus-gateway-1.1.2/src/transports/janus_websockets.c:712:24: style: Opposite expression on both sides of '&&'. [oppositeExpression] janus-gateway-1.1.2/src/transports/janus_websockets.c:687:48: note: 'pingpong_timeout' is assigned value '0' here. janus-gateway-1.1.2/src/transports/janus_websockets.c:687:26: note: 'pingpong_trigger' is assigned value '0' here. janus-gateway-1.1.2/src/transports/janus_websockets.c:712:24: note: Opposite expression on both sides of '&&'. janus-gateway-1.1.2/src/transports/janus_websockets.c:712:46: style: Same expression on both sides of '||' because 'pingpong_trigger&&!pingpong_timeout' and '!pingpong_trigger&&pingpong_timeout' represent the same value. [knownConditionTrueFalse] janus-gateway-1.1.2/src/transports/janus_websockets.c:687:48: note: 'pingpong_timeout' is assigned value '0' here. janus-gateway-1.1.2/src/transports/janus_websockets.c:687:26: note: 'pingpong_trigger' is assigned value '0' here. janus-gateway-1.1.2/src/transports/janus_websockets.c:712:46: note: Same expression on both sides of '||' because 'pingpong_trigger&&!pingpong_timeout' and '!pingpong_trigger&&pingpong_timeout' represent the same value. janus-gateway-1.1.2/src/transports/janus_websockets.c:305:25: style: Variable 'sa' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/transports/janus_websockets.c:314:26: style: Variable 'sa' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/transports/janus_websockets.c:579:22: style: Variable 'events' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/transports/janus_websockets.c:1125:21: style: Parameter 'in' can be declared as pointer to const. However it seems that 'janus_websockets_callback_http' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] janus-gateway-1.1.2/src/transports/janus_websockets.c:235:17: note: You might need to cast the function pointer here janus-gateway-1.1.2/src/transports/janus_websockets.c:1125:21: note: Parameter 'in' can be declared as pointer to const janus-gateway-1.1.2/src/transports/janus_websockets.c:489:13: style: Variable 'ipv4_only' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/transports/janus_websockets.c:1240:16: style: Variable 'methods[0]' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/utils.c:1015:4: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] janus-gateway-1.1.2/src/utils.c:266:11: style: Condition 'diff<0' is always false [knownConditionTrueFalse] janus-gateway-1.1.2/src/utils.c:233:33: note: Assignment 'diff=strlen(new_string)-strlen(old_string)', assigned value is greater than -1 janus-gateway-1.1.2/src/utils.c:266:11: note: Condition 'diff<0' is always false janus-gateway-1.1.2/src/utils.c:1105:5: style: Condition 'lbit' is always true [knownConditionTrueFalse] janus-gateway-1.1.2/src/utils.c:1080:5: note: Assuming that condition '!lbit' is not redundant janus-gateway-1.1.2/src/utils.c:1105:5: note: Condition 'lbit' is always true janus-gateway-1.1.2/src/utils.c:878:8: style: Local variable 'nal' shadows outer variable [shadowVariable] janus-gateway-1.1.2/src/utils.c:863:10: note: Shadowed declaration janus-gateway-1.1.2/src/utils.c:878:8: note: Shadow variable janus-gateway-1.1.2/src/utils.c:291:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] janus-gateway-1.1.2/src/utils.c:111:15: style: Variable 'n' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/utils.c:719:39: style: Variable 'wholepicid' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/utils.c:734:10: style: Variable 'vp8pd' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/utils.c:740:10: style: Variable 'vp8pd' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/utils.c:789:38: style: Variable 'wholepicid' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/utils.c:946:43: style: Variable 'wholepicid' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/utils.c:1015:10: style: Variable 'buffer' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/utils.c:1092:38: style: Variable 'wholepicid' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/utils.c:1217:17: style: Variable 'follow' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/utils.c:1218:21: style: Variable 'ts_offset' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/utils.c:1218:36: style: Variable 'block_len' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/utils.c:1255:19: style: Variable 'length' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/utils.c:1296:21: style: Variable 'red_block' is assigned a value that is never used. [unreadVariable] janus-gateway-1.1.2/src/utils.c:1342:17: style: Variable 'follow' is assigned a value that is never used. [unreadVariable] diff: head janus-gateway-1.1.2/fuzzers/rtp_fuzzer.c:42:34: style: Variable 'xtn_hdr' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/ip-utils.c:174:23: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/ip-utils.c:179:24: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/ip-utils.c:281:72: style: Condition 'janus_ip_copy_ipv4((struct sockaddr_in*)&addr,&result->ipv4)==0' is always true [knownConditionTrueFalse] janus-gateway-1.1.2/src/ip-utils.c:281:27: note: Calling function 'janus_ip_copy_ipv4' returns 0 janus-gateway-1.1.2/src/ip-utils.c:281:72: note: Condition 'janus_ip_copy_ipv4((struct sockaddr_in*)&addr,&result->ipv4)==0' is always true head janus-gateway-1.1.2/src/ip-utils.c:304:73: style: Condition 'janus_ip_copy_ipv6((struct sockaddr_in6*)&addr,&result->ipv6)==0' is always true [knownConditionTrueFalse] janus-gateway-1.1.2/src/ip-utils.c:304:27: note: Calling function 'janus_ip_copy_ipv6' returns 0 janus-gateway-1.1.2/src/ip-utils.c:304:73: note: Condition 'janus_ip_copy_ipv6((struct sockaddr_in6*)&addr,&result->ipv6)==0' is always true head janus-gateway-1.1.2/src/plugins/janus_textroom.c:1153:26: style: Variable 'session' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/plugins/janus_textroom.c:2461:11: style: Variable 'post' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/plugins/janus_textroom.c:906:22: style: Variable 'events' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/plugins/janus_textroom.c:912:22: style: Variable 'ids' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/plugins/janus_textroom.c:932:23: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/plugins/janus_textroom.c:936:23: style: Variable 'post' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/plugins/janus_voicemail.c:333:22: style: Variable 'events' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/plugins/janus_voicemail.c:470:27: style: Variable 'session' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/plugins/janus_voicemail.c:592:20: style: Variable 'rtp' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/postprocessing/janus-pp-rec.c:1542:23: style: Variable 'rtp' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/postprocessing/janus-pp-rec.c:1547:34: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] 2.10 janus-gateway-1.1.2/src/postprocessing/janus-pp-rec.c:593:15: style: Condition '!video' is always true [knownConditionTrueFalse] janus-gateway-1.1.2/src/postprocessing/janus-pp-rec.c:541:8: note: Assuming that condition 'video' is not redundant janus-gateway-1.1.2/src/postprocessing/janus-pp-rec.c:593:15: note: Condition '!video' is always true head janus-gateway-1.1.2/src/postprocessing/janus-pp-rec.c:914:35: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/postprocessing/pcap2mjr.c:235:30: style: Variable 'eth' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/postprocessing/pcap2mjr.c:241:23: style: Variable 'lcc' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/postprocessing/pcap2mjr.c:248:15: style: Variable 'v4' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/postprocessing/pcap2mjr.c:274:24: style: Variable 'rtp' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/postprocessing/pp-av1.c:345:72: style: Parameter 'working' can be declared as pointer to const [constParameterPointer] 2.10 janus-gateway-1.1.2/src/postprocessing/pp-av1.c:345:72: style: Parameter 'working' can be declared as pointer to const [constParameter] head janus-gateway-1.1.2/src/postprocessing/pp-av1.c:43:31: style: Parameter 'destination' can be declared as pointer to const [constParameterPointer] 2.10 janus-gateway-1.1.2/src/postprocessing/pp-av1.c:43:31: style: Parameter 'destination' can be declared as pointer to const [constParameter] head janus-gateway-1.1.2/src/postprocessing/pp-binary.c:45:75: style: Parameter 'working' can be declared as pointer to const [constParameterPointer] 2.10 janus-gateway-1.1.2/src/postprocessing/pp-binary.c:45:75: style: Parameter 'working' can be declared as pointer to const [constParameter] head janus-gateway-1.1.2/src/postprocessing/pp-g711.c:161:73: style: Parameter 'working' can be declared as pointer to const [constParameterPointer] 2.10 janus-gateway-1.1.2/src/postprocessing/pp-g711.c:161:73: style: Parameter 'working' can be declared as pointer to const [constParameter] head janus-gateway-1.1.2/src/postprocessing/pp-g722.c:117:73: style: Parameter 'working' can be declared as pointer to const [constParameterPointer] 2.10 janus-gateway-1.1.2/src/postprocessing/pp-g722.c:117:73: style: Parameter 'working' can be declared as pointer to const [constParameter] head janus-gateway-1.1.2/src/postprocessing/pp-h264.c:372:73: style: Parameter 'working' can be declared as pointer to const [constParameterPointer] 2.10 janus-gateway-1.1.2/src/postprocessing/pp-h264.c:372:73: style: Parameter 'working' can be declared as pointer to const [constParameter] head janus-gateway-1.1.2/src/postprocessing/pp-h265.c:343:13: style: Variable 'end' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/postprocessing/pp-h265.c:345:55: error: Uninitialized variable: payload_len [uninitvar] head janus-gateway-1.1.2/src/postprocessing/pp-h265.c:455:73: style: Parameter 'working' can be declared as pointer to const [constParameterPointer] 2.10 janus-gateway-1.1.2/src/postprocessing/pp-h265.c:455:73: style: Parameter 'working' can be declared as pointer to const [constParameter] head janus-gateway-1.1.2/src/postprocessing/pp-h265.c:532:14: style: Variable 'end' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/postprocessing/pp-h265.c:534:43: error: Uninitialized variable: payload_len [uninitvar] head janus-gateway-1.1.2/src/postprocessing/pp-l16.c:92:72: style: Parameter 'working' can be declared as pointer to const [constParameterPointer] 2.10 janus-gateway-1.1.2/src/postprocessing/pp-l16.c:92:72: style: Parameter 'working' can be declared as pointer to const [constParameter] head janus-gateway-1.1.2/src/postprocessing/pp-opus.c:104:73: style: Parameter 'working' can be declared as pointer to const [constParameterPointer] 2.10 janus-gateway-1.1.2/src/postprocessing/pp-opus.c:104:73: style: Parameter 'working' can be declared as pointer to const [constParameter] head janus-gateway-1.1.2/src/postprocessing/pp-opus.c:58:32: style: Parameter 'destination' can be declared as pointer to const [constParameterPointer] head janus-gateway-1.1.2/src/postprocessing/pp-opus.c:58:51: style: Parameter 'metadata' can be declared as pointer to const [constParameterPointer] head janus-gateway-1.1.2/src/postprocessing/pp-srt.c:62:72: style: Parameter 'working' can be declared as pointer to const [constParameterPointer] 2.10 janus-gateway-1.1.2/src/postprocessing/pp-srt.c:62:72: style: Parameter 'working' can be declared as pointer to const [constParameter] head janus-gateway-1.1.2/src/postprocessing/pp-webm.c:325:87: style: Parameter 'working' can be declared as pointer to const [constParameterPointer] 2.10 janus-gateway-1.1.2/src/postprocessing/pp-webm.c:325:87: style: Parameter 'working' can be declared as pointer to const [constParameter] head janus-gateway-1.1.2/src/postprocessing/pp-webm.c:50:32: style: Parameter 'destination' can be declared as pointer to const [constParameterPointer] head janus-gateway-1.1.2/src/postprocessing/pp-webm.c:50:51: style: Parameter 'metadata' can be declared as pointer to const [constParameterPointer] head janus-gateway-1.1.2/src/rtcp.c:145:20: style: Variable 'rtcpfb' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/rtcp.c:230:66: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] 2.10 janus-gateway-1.1.2/src/rtcp.c:230:66: style: Parameter 'ctx' can be declared as pointer to const [constParameter] head janus-gateway-1.1.2/src/rtcp.c:418:50: style: Parameter 'rtcp' can be declared as pointer to const [constParameterPointer] head janus-gateway-1.1.2/src/rtcp.c:455:50: style: Parameter 'rtcp' can be declared as pointer to const [constParameterPointer] head janus-gateway-1.1.2/src/rtcp.c:48:20: style: Variable 'header' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/rtcp.c:494:17: style: Variable 'rtcpfb' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/rtcp.c:70:20: style: Variable 'sr' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/rtcp.c:75:20: style: Variable 'rr' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/rtcp.c:80:20: style: Variable 'rtcpfb' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/rtcp.c:830:20: style: Variable 'rtp' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/rtcp.c:85:20: style: Variable 'rtcpfb' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/rtcp.c:90:20: style: Variable 'xr' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/rtcp.c:912:69: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] head janus-gateway-1.1.2/src/rtcp.c:916:75: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] head janus-gateway-1.1.2/src/rtcp.c:920:70: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] head janus-gateway-1.1.2/src/rtcp.c:924:76: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] head janus-gateway-1.1.2/src/rtcp.c:934:65: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] head janus-gateway-1.1.2/src/rtcp.c:946:74: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] head janus-gateway-1.1.2/src/rtp.c:1089:20: style: Variable 'header' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/rtp.c:136:20: style: Variable 'rtp' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/rtp.c:144:31: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/rtp.c:22:20: style: Variable 'header' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/rtp.c:29:20: style: Variable 'rtp' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/rtp.c:38:31: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/rtp.c:404:20: style: Variable 'rtp' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/rtp.c:412:31: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] 2.10 janus-gateway-1.1.2/src/transports/janus_http.c:1021:71: style: Parameter 'request_id' can be declared as pointer to const [constParameter] head janus-gateway-1.1.2/src/transports/janus_http.c:1021:71: style: Parameter 'request_id' can be declared as pointer to const. However it seems that 'janus_http_send_message' is a callback function, if 'request_id' is declared with const you might also need to cast function pointer(s). [constParameterCallback] janus-gateway-1.1.2/src/transports/janus_http.c:84:2: note: You might need to cast the function pointer here janus-gateway-1.1.2/src/transports/janus_http.c:1021:71: note: Parameter 'request_id' can be declared as pointer to const head janus-gateway-1.1.2/src/transports/janus_http.c:1119:58: style: Parameter 'transport' can be declared as pointer to const. However it seems that 'janus_http_session_created' is a callback function, if 'transport' is declared with const you might also need to cast function pointer(s). [constParameterCallback] janus-gateway-1.1.2/src/transports/janus_http.c:84:2: note: You might need to cast the function pointer here janus-gateway-1.1.2/src/transports/janus_http.c:1119:58: note: Parameter 'transport' can be declared as pointer to const head janus-gateway-1.1.2/src/transports/janus_http.c:673:22: style: Variable 'events' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/transports/janus_mqtt.c:358:21: style: Variable 'events_item' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/transports/janus_mqtt.c:402:22: style: Variable 'verify' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/transports/janus_mqtt.c:619:21: style: Variable 'status_enabled_item' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/transports/janus_mqtt.c:649:22: style: Variable 'status_retain_item' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/transports/janus_nanomsg.c:186:22: style: Variable 'events' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/transports/janus_pfunix.c:269:22: style: Variable 'events' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/transports/janus_rabbitmq.c:243:21: style: Variable 'events' can be declared as pointer to const [constVariablePointer] 2.10 janus-gateway-1.1.2/src/transports/janus_websockets.c:1125:21: style: Parameter 'in' can be declared as pointer to const [constParameter] head janus-gateway-1.1.2/src/transports/janus_websockets.c:1125:21: style: Parameter 'in' can be declared as pointer to const. However it seems that 'janus_websockets_callback_http' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] janus-gateway-1.1.2/src/transports/janus_websockets.c:235:17: note: You might need to cast the function pointer here janus-gateway-1.1.2/src/transports/janus_websockets.c:1125:21: note: Parameter 'in' can be declared as pointer to const head janus-gateway-1.1.2/src/transports/janus_websockets.c:305:25: style: Variable 'sa' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/transports/janus_websockets.c:314:26: style: Variable 'sa' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/transports/janus_websockets.c:579:22: style: Variable 'events' can be declared as pointer to const [constVariablePointer] head janus-gateway-1.1.2/src/utils.c:291:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] DONE