2022-06-20 15:31 ftp://ftp.de.debian.org/debian/pool/main/z/zabbix/zabbix_6.0.3+dfsg.orig.tar.xz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j4 platform: Linux-5.10.0-15-amd64-x86_64-with-glibc2.31 python: 3.9.2 client-version: 1.3.24 compiler: g++ (Debian 10.2.1-6) 10.2.1 20210110 cppcheck: head 2.8 head-info: ff50a01 (2022-06-20 09:17:11 +0200) count: 242 243 elapsed-time: 192.0 403.1 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: zabbix-6.0.3/src/libs/zbxalgo/vector.c:25:1: style: Parameter 'value' can be declared as pointer to const [constParameter] zabbix-6.0.3/src/libs/zbxalgo/vector.c:28:1: style: Parameter 'value' can be declared as pointer to const [constParameter] zabbix-6.0.3/src/libs/zbxalgo/vector.c:29:1: style: Parameter 'value' can be declared as pointer to const [constParameter] zabbix-6.0.3/src/libs/zbxalgo/vector.c:30:1: style: Parameter 'value' can be declared as pointer to const [constParameter] zabbix-6.0.3/src/libs/zbxdbhigh/template.h:29:1: error: There is an unknown macro here somewhere. Configuration is required. If ZBX_PTR_VECTOR_DECL is a macro then please configure it. [unknownMacro] zabbix-6.0.3/src/libs/zbxalgo/prediction.c:1071:8: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] zabbix-6.0.3/src/libs/zbxalgo/prediction.c:1079:56: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] zabbix-6.0.3/src/libs/zbxcommon/str.c:2052:0: error: #error "zbx_utf8_char_len() is not synchronized with ZBX_MAX_BYTES_IN_UTF8_CHAR" [preprocessorErrorDirective] zabbix-6.0.3/src/libs/zbxcommon/variant.c:26:1: style: Parameter 'value' can be declared as pointer to const [constParameter] zabbix-6.0.3/src/libs/zbxcommshigh/comms.c:64:9: error: Uninitialized variable: ret [uninitvar] zabbix-6.0.3/src/libs/zbxcommshigh/comms.c:43:16: note: Assuming condition is false zabbix-6.0.3/src/libs/zbxcommshigh/comms.c:64:9: note: Uninitialized variable: ret zabbix-6.0.3/src/libs/zbxcomms/comms.c:169:21: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] zabbix-6.0.3/src/libs/zbxcomms/comms.c:852:18: style: Condition 'max_uint32<=len' is always true [knownConditionTrueFalse] zabbix-6.0.3/src/libs/zbxcomms/comms.c:803:34: note: Assignment 'max_uint32=~(zbx_uint32_t)0', assigned value is -1 zabbix-6.0.3/src/libs/zbxcomms/comms.c:852:18: note: Condition 'max_uint32<=len' is always true zabbix-6.0.3/src/libs/zbxcomms/comms.c:852:39: style: Condition 'max_uint32<=reserved' is always true [knownConditionTrueFalse] zabbix-6.0.3/src/libs/zbxcomms/comms.c:803:34: note: Assignment 'max_uint32=~(zbx_uint32_t)0', assigned value is -1 zabbix-6.0.3/src/libs/zbxcomms/comms.c:852:39: note: Condition 'max_uint32<=reserved' is always true zabbix-6.0.3/src/libs/zbxconf/cfg.c:274:22: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] zabbix-6.0.3/src/libs/zbxconf/cfg.c:543:2: error: Used file that is not opened. [useClosedFile] zabbix-6.0.3/src/libs/zbxconf/cfg.c:547:2: error: Used file that is not opened. [useClosedFile] zabbix-6.0.3/src/libs/zbxconf/cfg.c:552:2: error: Used file that is not opened. [useClosedFile] zabbix-6.0.3/src/libs/zbxconf/cfg.c:556:2: error: Used file that is not opened. [useClosedFile] zabbix-6.0.3/src/libs/zbxcommon/misc.c:374:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] zabbix-6.0.3/src/libs/zbxcommon/misc.c:439:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] zabbix-6.0.3/src/libs/zbxcommon/misc.c:727:58: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] zabbix-6.0.3/src/libs/zbxcommon/misc.c:758:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] zabbix-6.0.3/src/libs/zbxcommon/misc.c:1694:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] zabbix-6.0.3/src/libs/zbxcommon/misc.c:1702:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] zabbix-6.0.3/src/libs/zbxcommon/misc.c:1764:15: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] zabbix-6.0.3/src/libs/zbxcommon/misc.c:1782:14: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] zabbix-6.0.3/src/libs/zbxcommon/misc.c:1789:14: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] zabbix-6.0.3/src/libs/zbxcommon/misc.c:235:8: style: Condition '0!=rc' is always true [knownConditionTrueFalse] zabbix-6.0.3/src/libs/zbxcommon/misc.c:164:13: note: Assignment 'rc=-1', assigned value is -1 zabbix-6.0.3/src/libs/zbxcommon/misc.c:235:8: note: Condition '0!=rc' is always true zabbix-6.0.3/src/libs/zbxcommon/misc.c:2950:13: style: Condition '' '==*str' is always false [knownConditionTrueFalse] zabbix-6.0.3/src/libs/zbxcommon/misc.c:2944:12: note: Assuming that condition '*str<'0'' is not redundant zabbix-6.0.3/src/libs/zbxcommon/misc.c:2950:13: note: Condition '' '==*str' is always false zabbix-6.0.3/src/libs/zbxcommon/misc.c:531:57: style: Parameter 'old' can be declared as pointer to const [constParameter] zabbix-6.0.3/src/libs/zbxcommon/misc.c:566:57: style: Parameter 'old' can be declared as pointer to const [constParameter] zabbix-6.0.3/src/libs/zbxcommon/misc.c:1019:13: style: Variable 'mon_table' can be declared as const array [constVariable] zabbix-6.0.3/src/libs/zbxcommon/misc.c:75:28: style: struct member 'zbx_custom_interval::flexible' is never used. [unusedStructMember] zabbix-6.0.3/src/libs/zbxcommon/misc.c:76:28: style: struct member 'zbx_custom_interval::scheduling' is never used. [unusedStructMember] zabbix-6.0.3/src/libs/zbxcrypto/md5.c:192:11: style: Variable 'xbuf[i]' is assigned a value that is never used. [unreadVariable] zabbix-6.0.3/src/libs/zbxdbcache/dbconfig.c:977:0: error: #error "row indexes below are based on assumption of six trigger severity levels" [preprocessorErrorDirective] zabbix-6.0.3/src/libs/zbxdbcache/dbcache.c:3906:1: error: There is an unknown macro here somewhere. Configuration is required. If ZBX_MEM_FUNC_IMPL is a macro then please configure it. [unknownMacro] zabbix-6.0.3/src/libs/zbxdbcache/valuecache.c:75:1: error: There is an unknown macro here somewhere. Configuration is required. If ZBX_MEM_FUNC_IMPL is a macro then please configure it. [unknownMacro] zabbix-6.0.3/src/libs/zbxdbcache/dbconfig_maintenance.c:548:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] zabbix-6.0.3/src/libs/zbxdbcache/dbconfig_maintenance.c:559:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] zabbix-6.0.3/src/libs/zbxdbcache/dbconfig_maintenance.c:572:11: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] zabbix-6.0.3/src/libs/zbxdbcache/dbconfig_maintenance.c:584:11: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] zabbix-6.0.3/src/libs/zbxdbcache/dbconfig_maintenance.c:655:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] zabbix-6.0.3/src/libs/zbxdbcache/dbconfig_maintenance.c:660:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] zabbix-6.0.3/src/libs/zbxdbhigh/db.c:1692:74: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] zabbix-6.0.3/src/libs/zbxdbhigh/db.c:2050:25: error: Uninitialized variable: result [uninitvar] zabbix-6.0.3/src/libs/zbxdbhigh/db.c:2174:25: error: Uninitialized variable: result [uninitvar] zabbix-6.0.3/src/libs/zbxdbhigh/db.c:2215:25: error: Uninitialized variable: result [uninitvar] zabbix-6.0.3/src/libs/zbxdbhigh/db.c:2059:12: style: Unused variable: result [unusedVariable] zabbix-6.0.3/src/libs/zbxdbhigh/dbschema.c:1655:72: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade.c:30:14: style: struct member 'zbx_db_version_t::description' is never used. [unusedStructMember] zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_2010.c:520:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_4030.c:283:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_4030.c:292:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_4030.c:318:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_5030.c:5742:41: error: There is an unknown macro here somewhere. Configuration is required. If ZBX_STR is a macro then please configure it. [unknownMacro] zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_4050.c:896:20: style: Variable 'index' is reassigned a value before the old one has been used. [redundantAssignment] zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_4050.c:893:9: note: index is assigned zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_4050.c:896:20: note: index is overwritten zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_4050.c:734:1: style: Parameter 'value' can be declared as pointer to const [constParameter] zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_4050.c:736:1: style: Parameter 'value' can be declared as pointer to const [constParameter] zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_4050.c:802:56: error: Uninitialized struct member: id.hostid [uninitStructMember] zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_4050.c:802:56: error: Uninitialized struct member: id.ip [uninitStructMember] zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_4050.c:802:56: error: Uninitialized struct member: id.dns [uninitStructMember] zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_4050.c:802:56: error: Uninitialized struct member: id.port [uninitStructMember] zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_4050.c:802:56: error: Uninitialized struct member: id.type [uninitStructMember] zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_4050.c:802:56: error: Uninitialized struct member: id.main [uninitStructMember] zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_4050.c:802:56: error: Uninitialized struct member: id.useip [uninitStructMember] zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_5010.c:494:1: style: Parameter 'value' can be declared as pointer to const [constParameter] zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_5010.c:496:1: style: Parameter 'value' can be declared as pointer to const [constParameter] zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_5010.c:527:50: style: Parameter 'array' can be declared as pointer to const [constParameter] zabbix-6.0.3/src/libs/zbxdiag/diag.c:613:62: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] zabbix-6.0.3/src/libs/zbxdiag/diag.c:616:78: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] zabbix-6.0.3/src/libs/zbxdiag/diag.c:619:88: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] zabbix-6.0.3/src/libs/zbxdiag/diag.c:622:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] zabbix-6.0.3/src/libs/zbxdiag/diag.c:625:81: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] zabbix-6.0.3/src/libs/zbxdiag/diag.c:628:45: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] zabbix-6.0.3/src/libs/zbxdiag/diag.c:277:69: error: Uninitialized variable: &data_mem [uninitvar] zabbix-6.0.3/src/libs/zbxdiag/diag.c:278:71: error: Uninitialized variable: &index_mem [uninitvar] zabbix-6.0.3/src/libs/zbxembed/duk_config.h:346:0: error: #error cannot figure out gcc version [preprocessorErrorDirective] zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_5050.c:1392:1: style: Parameter 'value' can be declared as pointer to const [constParameter] zabbix-6.0.3/src/libs/zbxeval/calc.c:33:1: style: Parameter 'value' can be declared as pointer to const [constParameter] zabbix-6.0.3/src/libs/zbxeval/misc.c:196:29: error: Uninitialized variable: buffer [uninitvar] zabbix-6.0.3/src/libs/zbxeval/misc.c:165:70: note: Assignment 'buffer=buffer_static', assigned value is zabbix-6.0.3/src/libs/zbxeval/misc.c:174:16: note: Assuming condition is false zabbix-6.0.3/src/libs/zbxeval/misc.c:196:29: note: Uninitialized variable: buffer zabbix-6.0.3/src/libs/zbxeval/parse.c:25:1: style: Parameter 'value' can be declared as pointer to const [constParameter] zabbix-6.0.3/src/libs/zbxhistory/history.c:26:1: style: Parameter 'value' can be declared as pointer to const [constParameter] zabbix-6.0.3/src/libs/zbxeval/execute.c:1048:20: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] zabbix-6.0.3/src/libs/zbxeval/execute.c:1088:20: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] zabbix-6.0.3/src/libs/zbxeval/execute.c:1157:20: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] zabbix-6.0.3/src/libs/zbxeval/execute.c:1197:20: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] zabbix-6.0.3/src/libs/zbxjson/json.c:797:19: style: Condition '0xd800<=num' is always true [knownConditionTrueFalse] zabbix-6.0.3/src/libs/zbxjson/json.c:790:19: note: Assuming that condition '0xd7ff>=num' is not redundant zabbix-6.0.3/src/libs/zbxjson/json.c:797:19: note: Condition '0xd800<=num' is always true zabbix-6.0.3/src/libs/zbxmedia/email.c:155:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] zabbix-6.0.3/src/libs/zbxmedia/email.c:264:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] zabbix-6.0.3/src/libs/zbxmedia/email.c:330:15: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] zabbix-6.0.3/src/libs/zbxmedia/email.c:211:15: style: Condition '0==len' is always true [knownConditionTrueFalse] zabbix-6.0.3/src/libs/zbxmedia/email.c:176:10: note: Assuming that condition '1==len' is not redundant zabbix-6.0.3/src/libs/zbxmedia/email.c:211:15: note: Condition '0==len' is always true zabbix-6.0.3/src/libs/zbxnix/daemon.c:329:9: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] zabbix-6.0.3/src/libs/zbxnix/daemon.c:202:69: style: Parameter 'context' can be declared as pointer to const [constParameter] zabbix-6.0.3/src/libs/zbxnix/daemon.c:278:68: style: Parameter 'context' can be declared as pointer to const [constParameter] zabbix-6.0.3/src/libs/zbxnix/fatal.c:268:6: style: Unused variable: i [unusedVariable] zabbix-6.0.3/src/libs/zbxnix/sighandler.c:33:65: style: Parameter 'context' can be declared as pointer to const [constParameter] zabbix-6.0.3/src/libs/zbxnix/sighandler.c:83:54: style: Parameter 'siginfo' can be declared as pointer to const [constParameter] zabbix-6.0.3/src/libs/zbxnix/sighandler.c:83:69: style: Parameter 'context' can be declared as pointer to const [constParameter] zabbix-6.0.3/src/libs/zbxregexp/zbxregexp.c:37:0: error: #error "must use pcre or pcre2!" [preprocessorErrorDirective] zabbix-6.0.3/src/libs/zbxnix/sighandler.c:95:73: style: Parameter 'context' can be declared as pointer to const [constParameter] zabbix-6.0.3/src/libs/zbxnix/sighandler.c:142:69: style: Parameter 'context' can be declared as pointer to const [constParameter] zabbix-6.0.3/src/libs/zbxjson/jsonpath.c:38:1: style: Parameter 'value' can be declared as pointer to const [constParameter] zabbix-6.0.3/src/libs/zbxserver/evalfunc.c:2987:0: error: failed to expand 'CHECK_MONOTONICITY', Invalid ## usage when expanding 'CHECK_MONOTONICITY': Unexpected token '>' [preprocessorErrorDirective] zabbix-6.0.3/src/libs/zbxserver/get_host_from_event.c:87:16: error: There is an unknown macro here somewhere. Configuration is required. If ZBX_SQL_NULLCMP is a macro then please configure it. [unknownMacro] zabbix-6.0.3/src/zabbix_server/vmware/vmware.h:106:1: error: There is an unknown macro here somewhere. Configuration is required. If ZBX_PTR_VECTOR_DECL is a macro then please configure it. [unknownMacro] zabbix-6.0.3/src/libs/zbxsys/mutexs.c:42:22: style: union member 'semun::buf' is never used. [unusedStructMember] zabbix-6.0.3/src/libs/zbxsys/mutexs.c:43:24: style: union member 'semun::array' is never used. [unusedStructMember] zabbix-6.0.3/src/libs/zbxsys/mutexs.c:44:21: style: union member 'semun::__buf' is never used. [unusedStructMember] zabbix-6.0.3/src/libs/zbxsys/mutexs.c:447:19: style: Variable 'sem_lock.sem_num' is assigned a value that is never used. [unreadVariable] zabbix-6.0.3/src/libs/zbxsys/mutexs.c:448:18: style: Variable 'sem_lock.sem_op' is assigned a value that is never used. [unreadVariable] zabbix-6.0.3/src/libs/zbxsys/mutexs.c:449:19: style: Variable 'sem_lock.sem_flg' is assigned a value that is never used. [unreadVariable] zabbix-6.0.3/src/libs/zbxsys/mutexs.c:499:21: style: Variable 'sem_unlock.sem_num' is assigned a value that is never used. [unreadVariable] zabbix-6.0.3/src/libs/zbxsys/mutexs.c:500:20: style: Variable 'sem_unlock.sem_op' is assigned a value that is never used. [unreadVariable] zabbix-6.0.3/src/libs/zbxsys/mutexs.c:501:21: style: Variable 'sem_unlock.sem_flg' is assigned a value that is never used. [unreadVariable] zabbix-6.0.3/src/libs/zbxsysinfo/aix/diskspace.c:209:25: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] zabbix-6.0.3/src/libs/zbxsysinfo/aix/proc.c:107:26: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] zabbix-6.0.3/src/libs/zbxsysinfo/aix/proc.c:304:26: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] zabbix-6.0.3/src/libs/zbxsysinfo/common/dir.c:753:27: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] zabbix-6.0.3/src/libs/zbxsysinfo/common/dir.c:1127:27: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] zabbix-6.0.3/src/libs/zbxsysinfo/freebsd/cpu.c:178:9: style: Condition '0>=(cpu_num=get_cpu_num(1))' is always true [knownConditionTrueFalse] zabbix-6.0.3/src/libs/zbxsysinfo/common/file.c:1154:23: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] zabbix-6.0.3/src/libs/zbxsysinfo/common/file.c:1163:23: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] zabbix-6.0.3/src/libs/zbxsysinfo/common/file.c:1547:21: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] zabbix-6.0.3/src/libs/zbxsysinfo/common/file.c:1558:21: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] zabbix-6.0.3/src/libs/zbxsysinfo/freebsd/diskio.c:119:11: style: Condition ''\0'!=*pd' is always true [knownConditionTrueFalse] zabbix-6.0.3/src/libs/zbxsysinfo/freebsd/proc.c:136:26: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] zabbix-6.0.3/src/libs/zbxsysinfo/freebsd/proc.c:386:26: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] zabbix-6.0.3/src/libs/zbxsysinfo/hpux/hostname.c:42:8: style: The comparison '0 == hostbufsize' is always true. [knownConditionTrueFalse] zabbix-6.0.3/src/libs/zbxsysinfo/hpux/hostname.c:31:23: note: 'hostbufsize' is assigned value '0' here. zabbix-6.0.3/src/libs/zbxsysinfo/hpux/hostname.c:42:8: note: The comparison '0 == hostbufsize' is always true. zabbix-6.0.3/src/libs/zbxsysinfo/hpux/proc.c:75:26: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] zabbix-6.0.3/src/libs/zbxsysinfo/hpux/net.c:79:53: style: Condition '0!=ifc.ifc_len' is always false [knownConditionTrueFalse] zabbix-6.0.3/src/libs/zbxsysinfo/hpux/net.c:77:16: note: Assignment 'ifc.ifc_len=0', assigned value is 0 zabbix-6.0.3/src/libs/zbxsysinfo/hpux/net.c:79:53: note: Condition '0!=ifc.ifc_len' is always false zabbix-6.0.3/src/libs/zbxsysinfo/linux/diskio.c:323:29: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] zabbix-6.0.3/src/libs/zbxsysinfo/linux/net.c:598:28: style: Redundant condition: If 'EXPR == ' '', the comparison 'EXPR != '\0'' is always true. [redundantCondition] zabbix-6.0.3/src/libs/zbxsysinfo/linux/net.c:250:13: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] zabbix-6.0.3/src/libs/zbxsysinfo/linux/hardware.c:437:12: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] zabbix-6.0.3/src/libs/zbxsysinfo/linux/sensors.c:331:30: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] zabbix-6.0.3/src/libs/zbxsysinfo/linux/sensors.c:378:33: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_macros.c:45:1: style: Parameter 'value' can be declared as pointer to const [constParameter] zabbix-6.0.3/src/libs/zbxsysinfo/linux/software.c:237:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] zabbix-6.0.3/src/libs/zbxsysinfo/linux/software.c:254:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] zabbix-6.0.3/src/libs/zbxsysinfo/linux/software.c:96:14: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] zabbix-6.0.3/src/libs/zbxsysinfo/linux/software.c:97:12: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] zabbix-6.0.3/src/libs/zbxsysinfo/netbsd/cpu.c:64:9: style: Condition '-1==(cpu_num=get_cpu_num())' is always true [knownConditionTrueFalse] zabbix-6.0.3/src/libs/zbxsysinfo/netbsd/cpu.c:175:9: style: Condition '0>=(cpu_num=get_cpu_num())' is always true [knownConditionTrueFalse] zabbix-6.0.3/src/libs/zbxsysinfo/netbsd/memory.c:170:6: style: Local variable 'mib' shadows outer variable [shadowVariable] zabbix-6.0.3/src/libs/zbxsysinfo/netbsd/memory.c:26:14: note: Shadowed declaration zabbix-6.0.3/src/libs/zbxsysinfo/netbsd/memory.c:170:6: note: Shadow variable zabbix-6.0.3/src/libs/zbxsysinfo/netbsd/memory.c:190:7: style: Local variable 'mib' shadows outer variable [shadowVariable] zabbix-6.0.3/src/libs/zbxsysinfo/netbsd/memory.c:26:14: note: Shadowed declaration zabbix-6.0.3/src/libs/zbxsysinfo/netbsd/memory.c:190:7: note: Shadow variable zabbix-6.0.3/src/libs/zbxsysinfo/netbsd/proc.c:86:26: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] zabbix-6.0.3/src/libs/zbxsysinfo/netbsd/proc.c:214:26: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] zabbix-6.0.3/src/libs/zbxsysinfo/netbsd/proc.c:32:15: style: Unused variable: ret [unusedVariable] zabbix-6.0.3/src/libs/zbxsysinfo/netbsd/proc.c:33:10: style: Unused variable: len [unusedVariable] zabbix-6.0.3/src/libs/zbxsysinfo/openbsd/cpu.c:62:9: style: Condition '-1==(cpu_num=get_cpu_num())' is always true [knownConditionTrueFalse] zabbix-6.0.3/src/libs/zbxsysinfo/openbsd/cpu.c:175:9: style: Condition '0>=(cpu_num=get_cpu_num())' is always true [knownConditionTrueFalse] zabbix-6.0.3/src/libs/zbxsysinfo/openbsd/memory.c:133:6: style: Local variable 'mib' shadows outer variable [shadowVariable] zabbix-6.0.3/src/libs/zbxsysinfo/openbsd/memory.c:24:13: note: Shadowed declaration zabbix-6.0.3/src/libs/zbxsysinfo/openbsd/memory.c:133:6: note: Shadow variable zabbix-6.0.3/src/libs/zbxsysinfo/openbsd/memory.c:153:7: style: Local variable 'mib' shadows outer variable [shadowVariable] zabbix-6.0.3/src/libs/zbxsysinfo/openbsd/memory.c:24:13: note: Shadowed declaration zabbix-6.0.3/src/libs/zbxsysinfo/openbsd/memory.c:153:7: note: Shadow variable zabbix-6.0.3/src/libs/zbxsysinfo/openbsd/proc.c:144:26: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] zabbix-6.0.3/src/libs/zbxsysinfo/openbsd/proc.c:320:26: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] zabbix-6.0.3/src/libs/zbxsysinfo/osf/proc.c:52:26: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] zabbix-6.0.3/src/libs/zbxsysinfo/osf/proc.c:85:28: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] zabbix-6.0.3/src/libs/zbxsysinfo/osf/proc.c:176:26: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] zabbix-6.0.3/src/libs/zbxsysinfo/osf/proc.c:209:28: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] zabbix-6.0.3/src/libs/zbxsysinfo/linux/proc.c:385:26: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] zabbix-6.0.3/src/libs/zbxsysinfo/linux/proc.c:523:28: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] zabbix-6.0.3/src/libs/zbxsysinfo/linux/proc.c:744:26: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] zabbix-6.0.3/src/libs/zbxsysinfo/linux/proc.c:790:28: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] zabbix-6.0.3/src/libs/zbxsysinfo/linux/proc.c:1240:28: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] zabbix-6.0.3/src/libs/zbxsysinfo/linux/proc.c:1302:26: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] zabbix-6.0.3/src/libs/zbxsysinfo/solaris/cpu.c:233:2: style:inconclusive: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] zabbix-6.0.3/src/libs/zbxsysinfo/solaris/cpu.c:161:14: style: Variable 'per_cpu' is assigned a value that is never used. [unreadVariable] zabbix-6.0.3/src/libs/zbxsysinfo/solaris/cpu.c:178:11: style: Variable 'per_cpu' is assigned a value that is never used. [unreadVariable] zabbix-6.0.3/src/libs/zbxsysinfo/solaris/proc.c:414:26: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] zabbix-6.0.3/src/libs/zbxsysinfo/solaris/proc.c:479:28: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] zabbix-6.0.3/src/libs/zbxsysinfo/solaris/proc.c:579:26: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] zabbix-6.0.3/src/libs/zbxsysinfo/solaris/proc.c:659:28: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] zabbix-6.0.3/src/libs/zbxsysinfo/solaris/proc.c:796:28: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] zabbix-6.0.3/src/libs/zbxsysinfo/solaris/proc.c:863:26: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] zabbix-6.0.3/src/libs/zbxsysinfo/win32/proc.c:38:7: style: Variable 'iUse' is not assigned a value. [unassignedVariable] zabbix-6.0.3/src/libs/zbxsysinfo/solaris/proc.c:788:20: style: Variable 'fd' is assigned a value that is never used. [unreadVariable] zabbix-6.0.3/src/libs/zbxwin32/service.c:213:43: error: There is an unknown macro here somewhere. Configuration is required. If TEXT is a macro then please configure it. [unknownMacro] zabbix-6.0.3/src/zabbix_agent/logfiles/persistent_state.h:55:1: error: There is an unknown macro here somewhere. Configuration is required. If ZBX_VECTOR_DECL is a macro then please configure it. [unknownMacro] zabbix-6.0.3/src/libs/zbxtrends/baseline.c:55:12: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] zabbix-6.0.3/src/libs/zbxtrends/baseline.c:135:12: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] zabbix-6.0.3/src/zabbix_agent/eventlog.h:27:0: error: #error "This module is only available for Windows OS" [preprocessorErrorDirective] zabbix-6.0.3/src/zabbix_agent/perfstat.h:24:0: error: #error "This module is only available for Windows OS" [preprocessorErrorDirective] zabbix-6.0.3/src/zabbix_get/zabbix_get.c:78:64: error: There is an unknown macro here somewhere. Configuration is required. If ZBX_STR is a macro then please configure it. [unknownMacro] zabbix-6.0.3/src/libs/zbxwin32/fatal.c:112:38: style: Parameter 'pctx' can be declared as pointer to const [constParameter] zabbix-6.0.3/src/zabbix_agent/diskdevices.c:32:90: style: Parameter 'dstat' can be declared as pointer to const [constParameter] zabbix-6.0.3/src/zabbix_sender/zabbix_sender.c:161:64: error: There is an unknown macro here somewhere. Configuration is required. If ZBX_STR is a macro then please configure it. [unknownMacro] zabbix-6.0.3/src/zabbix_agent/cpustat.c:345:78: style: Parameter 'counter' can be declared as pointer to const [constParameter] zabbix-6.0.3/src/zabbix_agent/cpustat.c:374:7: style: Unused variable: idx [unusedVariable] zabbix-6.0.3/src/zabbix_agent/stats.c:111:1: style: Label 'return_one' is not used. [unusedLabel] zabbix-6.0.3/src/libs/zbxtrends/trends.c:243:7: style: Variable 'period_hours' can be declared as const array [constVariable] zabbix-6.0.3/src/libs/zbxwin32/perfmon.c:141:8: style: Condition '0!=first_call' is always true [knownConditionTrueFalse] zabbix-6.0.3/src/libs/zbxwin32/perfmon.c:134:45: note: Assignment 'first_call=1', assigned value is 1 zabbix-6.0.3/src/libs/zbxwin32/perfmon.c:141:8: note: Condition '0!=first_call' is always true zabbix-6.0.3/src/libs/zbxsysinfo/sysinfo.c:263:6: style: Unused variable: i [unusedVariable] zabbix-6.0.3/src/libs/zbxsysinfo/win32/wmi.cpp:46:1: style: C-style pointer casting [cstyleCast] zabbix-6.0.3/src/libs/zbxsysinfo/sysinfo.c:264:7: style: Unused variable: error [unusedVariable] zabbix-6.0.3/src/libs/zbxsysinfo/win32/wmi.cpp:49:1: style: C-style pointer casting [cstyleCast] zabbix-6.0.3/src/libs/zbxsysinfo/win32/wmi.cpp:161:11: style: C-style pointer casting [cstyleCast] zabbix-6.0.3/src/libs/zbxsysinfo/win32/wmi.cpp:184:13: style: C-style pointer casting [cstyleCast] zabbix-6.0.3/src/libs/zbxsysinfo/win32/wmi.cpp:244:14: style: C-style pointer casting [cstyleCast] zabbix-6.0.3/src/libs/zbxsysinfo/win32/wmi.cpp:252:13: style: C-style pointer casting [cstyleCast] zabbix-6.0.3/src/libs/zbxsysinfo/win32/wmi.cpp:415:36: style: C-style pointer casting [cstyleCast] zabbix-6.0.3/src/libs/zbxsysinfo/win32/wmi.cpp:526:48: style: C-style pointer casting [cstyleCast] zabbix-6.0.3/src/libs/zbxsysinfo/win32/wmi.cpp:564:11: style: C-style pointer casting [cstyleCast] zabbix-6.0.3/src/libs/zbxsysinfo/win32/wmi.cpp:589:24: style: C-style pointer casting [cstyleCast] zabbix-6.0.3/src/libs/zbxsysinfo/win32/wmi.cpp:592:22: style: C-style pointer casting [cstyleCast] zabbix-6.0.3/src/libs/zbxsysinfo/win32/wmi.cpp:595:22: style: C-style pointer casting [cstyleCast] zabbix-6.0.3/src/libs/zbxsysinfo/win32/wmi.cpp:598:22: style: C-style pointer casting [cstyleCast] zabbix-6.0.3/src/libs/zbxsysinfo/win32/wmi.cpp:601:22: style: C-style pointer casting [cstyleCast] zabbix-6.0.3/src/libs/zbxsysinfo/win32/wmi.cpp:604:23: style: C-style pointer casting [cstyleCast] zabbix-6.0.3/src/libs/zbxsysinfo/win32/wmi.cpp:607:23: style: C-style pointer casting [cstyleCast] zabbix-6.0.3/src/libs/zbxsysinfo/win32/wmi.cpp:610:23: style: C-style pointer casting [cstyleCast] zabbix-6.0.3/src/libs/zbxsysinfo/win32/wmi.cpp:613:23: style: C-style pointer casting [cstyleCast] zabbix-6.0.3/src/libs/zbxsysinfo/win32/wmi.cpp:616:22: style: C-style pointer casting [cstyleCast] zabbix-6.0.3/src/libs/zbxsysinfo/win32/wmi.cpp:619:22: style: C-style pointer casting [cstyleCast] zabbix-6.0.3/src/libs/zbxsysinfo/win32/wmi.cpp:622:22: style: C-style pointer casting [cstyleCast] zabbix-6.0.3/src/libs/zbxsysinfo/win32/wmi.cpp:634:24: style: C-style pointer casting [cstyleCast] zabbix-6.0.3/src/libs/zbxsysinfo/win32/wmi.cpp:646:24: style: C-style pointer casting [cstyleCast] zabbix-6.0.3/src/libs/zbxsysinfo/win32/wmi.cpp:649:32: style: C-style pointer casting [cstyleCast] zabbix-6.0.3/src/libs/zbxsysinfo/win32/wmi.cpp:702:12: style: C-style pointer casting [cstyleCast] zabbix-6.0.3/src/libs/zbxsysinfo/win32/wmi.cpp:823:31: style: C-style pointer casting [cstyleCast] zabbix-6.0.3/src/libs/zbxsysinfo/win32/wmi.cpp:862:6: style: C-style pointer casting [cstyleCast] zabbix-6.0.3/src/libs/zbxsysinfo/win32/wmi.cpp:46:1: style: Parameter 'value' can be declared as pointer to const [constParameter] zabbix-6.0.3/src/zabbix_server/discoverer/discoverer.c:748:34: error: syntax error [syntaxError] zabbix-6.0.3/src/zabbix_server/escalator/escalator.c:3259:36: error: syntax error [syntaxError] zabbix-6.0.3/src/zabbix_server/events.c:1247:26: error: There is an unknown macro here somewhere. Configuration is required. If ZBX_STR is a macro then please configure it. [unknownMacro] zabbix-6.0.3/src/zabbix_server/ha/ha_manager.c:600:53: error: There is an unknown macro here somewhere. Configuration is required. If ZBX_DB_TIMESTAMP is a macro then please configure it. [unknownMacro] zabbix-6.0.3/src/zabbix_server/housekeeper/housekeeper.c:1033:42: error: There is an unknown macro here somewhere. Configuration is required. If ZBX_STR is a macro then please configure it. [unknownMacro] zabbix-6.0.3/src/zabbix_server/httppoller/httppoller.c:51:37: error: syntax error [syntaxError] zabbix-6.0.3/src/zabbix_server/httppoller/httptest.c:1058:37: error: syntax error [syntaxError] zabbix-6.0.3/src/zabbix_server/preprocessor/item_preproc.h:35:1: error: There is an unknown macro here somewhere. Configuration is required. If ZBX_VECTOR_DECL is a macro then please configure it. [unknownMacro] zabbix-6.0.3/src/zabbix_server/preprocessor/preproc_manager.c:517:21: style: Parameter 'client' can be declared as pointer to const [constParameter] zabbix-6.0.3/src/zabbix_server/reporter/report_writer.c:40:8: style: struct member 'zbx_buffer_t::data' is never used. [unusedStructMember] zabbix-6.0.3/src/zabbix_server/reporter/report_writer.c:41:9: style: struct member 'zbx_buffer_t::alloc' is never used. [unusedStructMember] zabbix-6.0.3/src/zabbix_server/reporter/report_writer.c:42:9: style: struct member 'zbx_buffer_t::offset' is never used. [unusedStructMember] zabbix-6.0.3/src/zabbix_server/reporter/report_manager.c:628:54: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] zabbix-6.0.3/src/zabbix_server/reporter/report_manager.c:674:20: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] zabbix-6.0.3/src/zabbix_server/reporter/report_manager.c:90:1: style: Parameter 'value' can be declared as pointer to const [constParameter] zabbix-6.0.3/src/zabbix_server/timer/timer.c:260:34: error: syntax error [syntaxError] zabbix-6.0.3/src/zabbix_server/trapper/nodecommand.c:44:19: style: Variable 'result' is assigned a value that is never used. [unreadVariable] zabbix-6.0.3/src/zabbix_server/trapper/trapper.c:472:15: style: Local variable 'users_offline' shadows outer variable [shadowVariable] zabbix-6.0.3/src/zabbix_server/trapper/trapper.c:516:4: note: Shadowed declaration zabbix-6.0.3/src/zabbix_server/trapper/trapper.c:472:15: note: Shadow variable zabbix-6.0.3/src/zabbix_server/trapper/trapper.c:472:30: style: Local variable 'users_online' shadows outer variable [shadowVariable] zabbix-6.0.3/src/zabbix_server/trapper/trapper.c:515:86: note: Shadowed declaration zabbix-6.0.3/src/zabbix_server/trapper/trapper.c:472:30: note: Shadow variable zabbix-6.0.3/src/libs/zbxserver/expression.c:57:1: style: Parameter 'value' can be declared as pointer to const [constParameter] diff: head zabbix-6.0.3/src/libs/zbxalgo/vector.c:25:1: style: Parameter 'value' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/libs/zbxalgo/vector.c:25:1: style: Parameter 'value' can be declared with const [constParameter] head zabbix-6.0.3/src/libs/zbxalgo/vector.c:28:1: style: Parameter 'value' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/libs/zbxalgo/vector.c:28:1: style: Parameter 'value' can be declared with const [constParameter] head zabbix-6.0.3/src/libs/zbxalgo/vector.c:29:1: style: Parameter 'value' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/libs/zbxalgo/vector.c:29:1: style: Parameter 'value' can be declared with const [constParameter] head zabbix-6.0.3/src/libs/zbxalgo/vector.c:30:1: style: Parameter 'value' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/libs/zbxalgo/vector.c:30:1: style: Parameter 'value' can be declared with const [constParameter] head zabbix-6.0.3/src/libs/zbxcommon/misc.c:1019:13: style: Variable 'mon_table' can be declared as const array [constVariable] 2.8 zabbix-6.0.3/src/libs/zbxcommon/misc.c:1019:13: style: Variable 'mon_table' can be declared with const [constVariable] head zabbix-6.0.3/src/libs/zbxcommon/misc.c:2950:13: style: Condition '' '==*str' is always false [knownConditionTrueFalse] zabbix-6.0.3/src/libs/zbxcommon/misc.c:2944:12: note: Assuming that condition '*str<'0'' is not redundant zabbix-6.0.3/src/libs/zbxcommon/misc.c:2950:13: note: Condition '' '==*str' is always false head zabbix-6.0.3/src/libs/zbxcommon/misc.c:531:57: style: Parameter 'old' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/libs/zbxcommon/misc.c:531:57: style: Parameter 'old' can be declared with const [constParameter] head zabbix-6.0.3/src/libs/zbxcommon/misc.c:566:57: style: Parameter 'old' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/libs/zbxcommon/misc.c:566:57: style: Parameter 'old' can be declared with const [constParameter] head zabbix-6.0.3/src/libs/zbxcommon/variant.c:26:1: style: Parameter 'value' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/libs/zbxcommon/variant.c:26:1: style: Parameter 'value' can be declared with const [constParameter] 2.8 zabbix-6.0.3/src/libs/zbxdbcache/dbsync.c:70:34: style: Parameter 'str' can be declared with const [constParameter] head zabbix-6.0.3/src/libs/zbxdbhigh/dbschema.c:1655:72: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_4050.c:734:1: style: Parameter 'value' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_4050.c:734:1: style: Parameter 'value' can be declared with const [constParameter] head zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_4050.c:736:1: style: Parameter 'value' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_4050.c:736:1: style: Parameter 'value' can be declared with const [constParameter] head zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_5010.c:494:1: style: Parameter 'value' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_5010.c:494:1: style: Parameter 'value' can be declared with const [constParameter] head zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_5010.c:496:1: style: Parameter 'value' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_5010.c:496:1: style: Parameter 'value' can be declared with const [constParameter] head zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_5010.c:527:50: style: Parameter 'array' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_5010.c:527:50: style: Parameter 'array' can be declared with const [constParameter] head zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_5050.c:1392:1: style: Parameter 'value' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_5050.c:1392:1: style: Parameter 'value' can be declared with const [constParameter] head zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_macros.c:45:1: style: Parameter 'value' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/libs/zbxdbupgrade/dbupgrade_macros.c:45:1: style: Parameter 'value' can be declared with const [constParameter] head zabbix-6.0.3/src/libs/zbxeval/calc.c:33:1: style: Parameter 'value' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/libs/zbxeval/calc.c:33:1: style: Parameter 'value' can be declared with const [constParameter] head zabbix-6.0.3/src/libs/zbxeval/parse.c:25:1: style: Parameter 'value' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/libs/zbxeval/parse.c:25:1: style: Parameter 'value' can be declared with const [constParameter] head zabbix-6.0.3/src/libs/zbxhistory/history.c:26:1: style: Parameter 'value' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/libs/zbxhistory/history.c:26:1: style: Parameter 'value' can be declared with const [constParameter] head zabbix-6.0.3/src/libs/zbxjson/jsonpath.c:38:1: style: Parameter 'value' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/libs/zbxjson/jsonpath.c:38:1: style: Parameter 'value' can be declared with const [constParameter] head zabbix-6.0.3/src/libs/zbxnix/daemon.c:202:69: style: Parameter 'context' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/libs/zbxnix/daemon.c:202:69: style: Parameter 'context' can be declared with const [constParameter] head zabbix-6.0.3/src/libs/zbxnix/daemon.c:278:68: style: Parameter 'context' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/libs/zbxnix/daemon.c:278:68: style: Parameter 'context' can be declared with const [constParameter] head zabbix-6.0.3/src/libs/zbxnix/sighandler.c:142:69: style: Parameter 'context' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/libs/zbxnix/sighandler.c:142:69: style: Parameter 'context' can be declared with const [constParameter] head zabbix-6.0.3/src/libs/zbxnix/sighandler.c:33:65: style: Parameter 'context' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/libs/zbxnix/sighandler.c:33:65: style: Parameter 'context' can be declared with const [constParameter] head zabbix-6.0.3/src/libs/zbxnix/sighandler.c:83:54: style: Parameter 'siginfo' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/libs/zbxnix/sighandler.c:83:54: style: Parameter 'siginfo' can be declared with const [constParameter] head zabbix-6.0.3/src/libs/zbxnix/sighandler.c:83:69: style: Parameter 'context' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/libs/zbxnix/sighandler.c:83:69: style: Parameter 'context' can be declared with const [constParameter] head zabbix-6.0.3/src/libs/zbxnix/sighandler.c:95:73: style: Parameter 'context' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/libs/zbxnix/sighandler.c:95:73: style: Parameter 'context' can be declared with const [constParameter] head zabbix-6.0.3/src/libs/zbxserver/expression.c:57:1: style: Parameter 'value' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/libs/zbxserver/expression.c:57:1: style: Parameter 'value' can be declared with const [constParameter] 2.8 zabbix-6.0.3/src/libs/zbxsysinfo/common/dir.c:216:23: error: Uninitialized variable: mode_str [uninitvar] head zabbix-6.0.3/src/libs/zbxsysinfo/win32/wmi.cpp:46:1: style: Parameter 'value' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/libs/zbxsysinfo/win32/wmi.cpp:46:1: style: Parameter 'value' can be declared with const [constParameter] head zabbix-6.0.3/src/libs/zbxtrends/trends.c:243:7: style: Variable 'period_hours' can be declared as const array [constVariable] 2.8 zabbix-6.0.3/src/libs/zbxtrends/trends.c:243:7: style: Variable 'period_hours' can be declared with const [constVariable] head zabbix-6.0.3/src/libs/zbxwin32/fatal.c:112:38: style: Parameter 'pctx' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/libs/zbxwin32/fatal.c:112:38: style: Parameter 'pctx' can be declared with const [constParameter] head zabbix-6.0.3/src/zabbix_agent/cpustat.c:345:78: style: Parameter 'counter' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/zabbix_agent/cpustat.c:345:78: style: Parameter 'counter' can be declared with const [constParameter] head zabbix-6.0.3/src/zabbix_agent/diskdevices.c:32:90: style: Parameter 'dstat' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/zabbix_agent/diskdevices.c:32:90: style: Parameter 'dstat' can be declared with const [constParameter] 2.8 zabbix-6.0.3/src/zabbix_server/alerter/alert_manager.c:340:49: style: Parameter 'str' can be declared with const [constParameter] head zabbix-6.0.3/src/zabbix_server/preprocessor/preproc_manager.c:517:21: style: Parameter 'client' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/zabbix_server/preprocessor/preproc_manager.c:517:21: style: Parameter 'client' can be declared with const [constParameter] head zabbix-6.0.3/src/zabbix_server/reporter/report_manager.c:90:1: style: Parameter 'value' can be declared as pointer to const [constParameter] 2.8 zabbix-6.0.3/src/zabbix_server/reporter/report_manager.c:90:1: style: Parameter 'value' can be declared with const [constParameter] DONE