2024-04-24 03:41 ftp://ftp.de.debian.org/debian/pool/main/c/corosync/corosync_3.1.7.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=zlib --check-library --inconclusive --enable=style,information --inline-suppr --disable=missingInclude --suppress=unmatchedSuppression --template=daca2 --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j2 platform: Linux-6.6.15-amd64-x86_64-with-glibc2.37 python: 3.11.8 client-version: 1.3.53 compiler: g++ (Debian 13.2.0-13) 13.2.0 cppcheck: head 2.14.0 head-info: 7dab204 (2024-04-23 22:20:29 +0200) count: 743 743 elapsed-time: 2.7 2.7 head-timing-info: old-timing-info: head results: corosync-3.1.7/common_lib/error_conversion.c:42:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_LIBRARY [valueFlowBailoutIncompleteVar] corosync-3.1.7/common_lib/error_conversion.c:123:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/cfg.c:560:57: error: There is an unknown macro here somewhere. Configuration is required. If CS_PRI_NODE_ID is a macro then please configure it. [unknownMacro] corosync-3.1.7/exec/cmap.c:326:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/cmap.c:342:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/cmap.c:357:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_TRACK_ADD [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/cmap.c:373:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/cmap.c:393:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/cmap.c:434:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/cmap.c:448:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/cmap.c:455:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/cmap.c:497:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_ACCESS [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/cmap.c:519:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_ACCESS [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/cmap.c:549:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_NO_MEMORY [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/cmap.c:599:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_ACCESS [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/cmap.c:633:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_NO_SECTIONS [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/cmap.c:674:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/cmap.c:714:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/cmap.c:746:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MESSAGE_RES_CMAP_NOTIFY_CALLBACK [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/cmap.c:786:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_NO_MEMORY [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/cmap.c:851:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/cmap.c:880:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/cmap.c:941:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_TOO_MANY_GROUPS [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/cmap.c:1040:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/cmap.c:1094:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_TRACE [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/coroparse.c:155:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_GETPW_R_SIZE_MAX [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/coroparse.c:209:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_GETGR_R_SIZE_MAX [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/coroparse.c:303:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/coroparse.c:508:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/coroparse.c:540:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/coroparse.c:593:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_VALUETYPE_BINARY [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/coroparse.c:1510:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/coroparse.c:1580:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/coroparse.c:1660:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/cmap.c:1011:9: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/exec/cmap.c:1042:35: style: Variable 'item' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/exec/cpg.c:1309:75: error: There is an unknown macro here somewhere. Configuration is required. If CS_PRI_NODE_ID is a macro then please configure it. [unknownMacro] corosync-3.1.7/exec/coroparse.c:1477:9: warning: Assert statement calls a function which may have desired side effects: 'safe_atoq_range'. [assertWithSideEffect] corosync-3.1.7/exec/coroparse.c:1614:16: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] corosync-3.1.7/exec/coroparse.c:1616:12: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] corosync-3.1.7/exec/coroparse.c:471:6: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] corosync-3.1.7/exec/coroparse.c:1008:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] corosync-3.1.7/exec/coroparse.c:1020:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] corosync-3.1.7/exec/coroparse.c:1061:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] corosync-3.1.7/exec/coroparse.c:1199:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] corosync-3.1.7/exec/coroparse.c:1212:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] corosync-3.1.7/exec/coroparse.c:1225:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] corosync-3.1.7/exec/coroparse.c:1238:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] corosync-3.1.7/exec/coroparse.c:1247:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] corosync-3.1.7/exec/coroparse.c:1254:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] corosync-3.1.7/exec/coroparse.c:1262:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] corosync-3.1.7/exec/coroparse.c:1270:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] corosync-3.1.7/exec/coroparse.c:1278:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] corosync-3.1.7/exec/coroparse.c:1286:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] corosync-3.1.7/exec/coroparse.c:1294:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] corosync-3.1.7/exec/coroparse.c:1309:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] corosync-3.1.7/exec/coroparse.c:1309:5: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] corosync-3.1.7/exec/coroparse.c:1527:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] corosync-3.1.7/exec/coroparse.c:1538:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] corosync-3.1.7/exec/coroparse.c:360:10: style: Variable 'section' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/exec/coroparse.c:361:10: style: Variable 'after_section' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/exec/coroparse.c:430:10: style: Variable 'trimmed_line' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/exec/coroparse.c:582:10: style: Parameter 'key' can be declared as pointer to const. However it seems that 'main_config_parser_cb' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] corosync-3.1.7/exec/coroparse.c:1682:6: note: You might need to cast the function pointer here corosync-3.1.7/exec/coroparse.c:582:10: note: Parameter 'key' can be declared as pointer to const corosync-3.1.7/exec/coroparse.c:1503:10: style: Parameter 'value' can be declared as pointer to const. However it seems that 'uidgid_config_parser_cb' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] corosync-3.1.7/exec/coroparse.c:1635:8: note: You might need to cast the function pointer here corosync-3.1.7/exec/coroparse.c:1503:10: note: Parameter 'value' can be declared as pointer to const corosync-3.1.7/exec/coroparse.c:1577:8: style: Variable 'dirname_res' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/exec/coroparse.c:1579:17: style: Variable 'dirent' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/exec/icmap.c:131:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_TRACK_DELETE [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:154:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QB_MAP_NOTIFY_DELETED [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:194:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_NO_MEMORY [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:218:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmap_ro_access_item_list_head [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:231:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmap_track_list_head [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:293:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_KEYNAME_MINLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:337:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_VALUETYPE_BINARY [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:368:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_VALUETYPE_STRING [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:420:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_INVALID_PARAM [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:500:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_VALUETYPE_INT8 [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:506:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_VALUETYPE_UINT8 [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:512:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_VALUETYPE_INT16 [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:518:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_VALUETYPE_UINT16 [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:524:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_VALUETYPE_INT32 [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:530:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_VALUETYPE_UINT32 [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:536:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_VALUETYPE_INT64 [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:542:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_VALUETYPE_UINT64 [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:548:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_VALUETYPE_FLOAT [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:554:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_VALUETYPE_DOUBLE [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:561:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_INVALID_PARAM [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:638:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_INVALID_PARAM [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:669:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_INVALID_PARAM [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:704:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:742:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:784:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:799:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_VALUETYPE_INT8 [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:805:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_VALUETYPE_UINT8 [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:811:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_VALUETYPE_INT16 [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:817:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_VALUETYPE_UINT16 [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:823:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_VALUETYPE_INT32 [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:829:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_VALUETYPE_UINT32 [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:835:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_VALUETYPE_INT64 [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:841:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_VALUETYPE_UINT64 [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:847:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_VALUETYPE_FLOAT [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:853:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_VALUETYPE_DOUBLE [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:932:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:993:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:1169:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_INVALID_PARAM [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:1217:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:1230:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmap_ro_access_item_list_head [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:1277:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmap_ro_access_item_list_head [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/icmap.c:1309:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_NO_MEMORY [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/ipc_glue.c:177:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/ipc_glue.c:269:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/ipc_glue.c:325:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/ipc_glue.c:346:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/ipc_glue.c:395:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/ipc_glue.c:431:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_len [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/ipc_glue.c:498:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QB_FALSE [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/ipc_glue.c:592:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_WARNING [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/ipc_glue.c:612:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVICES_COUNT_MAX [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/ipc_glue.c:682:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_NOT_EXIST [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/ipc_glue.c:719:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVICES_COUNT_MAX [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/ipc_glue.c:745:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QB_IPC_NATIVE [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/ipc_glue.c:785:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/ipc_glue.c:652:58: style: Parameter 'context' can be declared as pointer to const. However it seems that 'cs_ipcs_fc_quorum_changed' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] corosync-3.1.7/exec/ipc_glue.c:824:33: note: You might need to cast the function pointer here corosync-3.1.7/exec/ipc_glue.c:652:58: note: Parameter 'context' can be declared as pointer to const corosync-3.1.7/exec/ipc_glue.c:675:71: style: Parameter 'conn_ptr' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/exec/ipc_glue.c:677:31: style: Variable 'cnx' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/exec/ipc_glue.c:254:7: style: Variable 'rest' is assigned a value that is never used. [unreadVariable] corosync-3.1.7/exec/ipc_glue.c:423:13: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] corosync-3.1.7/exec/icmap.c:175:9: style: Parameter 'value' can be declared as pointer to const. However it seems that 'icmap_map_free_cb' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] corosync-3.1.7/exec/icmap.c:203:51: note: You might need to cast the function pointer here corosync-3.1.7/exec/icmap.c:175:9: note: Parameter 'value' can be declared as pointer to const corosync-3.1.7/exec/icmap.c:391:21: style: Variable 'item1' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/exec/icmap.c:1124:21: style: Variable 'new_item' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/exec/icmap.c:1125:21: style: Variable 'old_item' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/exec/icmap.c:1275:31: style: Variable 'icmap_ro_ai' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/exec/logconfig.c:138:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/logconfig.c:261:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/logconfig.c:298:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/logconfig.c:362:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/logconfig.c:567:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/logconfig.c:670:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/logconfig.c:706:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_TRACK_ADD [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/logconfig.c:597:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] corosync-3.1.7/exec/logconfig.c:726:27: style: Variable 'error_reason' is assigned a value that is never used. [unreadVariable] corosync-3.1.7/exec/logconfig.c:730:16: style: Variable 'error_reason' is assigned a value that is never used. [unreadVariable] corosync-3.1.7/exec/logconfig.c:734:16: style: Variable 'error_reason' is assigned a value that is never used. [unreadVariable] corosync-3.1.7/exec/logsys.c:128:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_MAX_SUBSYS_COUNT [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/logsys.c:161:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_TRACE [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/logsys.c:264:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_MAX_SUBSYS_COUNT [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/logsys.c:279:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QB_LOG_TAG_LIBQB_MSG [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/logsys.c:290:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_MAX_SUBSYS_COUNT [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/logsys.c:312:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_MAX_SUBSYS_NAMELEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/logsys.c:440:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_MAX_SUBSYS_NAMELEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/logsys.c:489:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QB_LOG_CONF_ENABLED [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/logsys.c:516:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_MAX_SUBSYS_COUNT [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/logsys.c:557:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_MAX_SUBSYS_COUNT [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/logsys.c:612:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QB_LOG_STDERR [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/logsys.c:675:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QB_TRUE [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/logsys.c:702:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QB_TRUE [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/logsys.c:724:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_TRACE [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/logsys.c:772:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QB_LOG_CONF_ENABLED [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/logsys.c:784:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_WARNING [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/logsys.c:798:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_MAX_SUBSYS_COUNT [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/logsys.c:833:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QB_TRUE [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/logsys.c:872:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_MAX_SUBSYS_COUNT [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/logsys.c:948:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/main.c:704:34: error: There is an unknown macro here somewhere. Configuration is required. If CS_PRI_RING_ID_SEQ is a macro then please configure it. [unknownMacro] corosync-3.1.7/exec/mon.c:190:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_ERROR [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/mon.c:221:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/mon.c:242:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/mon.c:337:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_ERROR [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/mon.c:351:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/mon.c:381:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_ERROR [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/mon.c:392:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/mon.c:424:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_WARNING [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/mon.c:448:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/mon.c:154:57: style: Parameter 'fsm' can be declared as pointer to const. However it seems that 'mon_res_state_to_str' is a callback function, if 'fsm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] corosync-3.1.7/exec/mon.c:470:27: note: You might need to cast the function pointer here corosync-3.1.7/exec/mon.c:154:57: note: Parameter 'fsm' can be declared as pointer to const corosync-3.1.7/exec/mon.c:171:57: style: Parameter 'fsm' can be declared as pointer to const. However it seems that 'mon_res_event_to_str' is a callback function, if 'fsm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] corosync-3.1.7/exec/mon.c:471:27: note: You might need to cast the function pointer here corosync-3.1.7/exec/mon.c:171:57: note: Parameter 'fsm' can be declared as pointer to const corosync-3.1.7/exec/mon.c:324:16: style: Variable 'mem_stats' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/exec/mon.c:325:17: style: Variable 'swap_stats' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/exec/mon.c:373:17: style: Variable 'load_stats' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/exec/mon.c:244:16: style: Variable 'scanf_res' is assigned a value that is never used. [unreadVariable] corosync-3.1.7/exec/pload.c:186:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOTEM_AGREED [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/pload.c:202:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_base [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/pload.c:244:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MESSAGE_SIZE_MAX [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/pload.c:279:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_TRACK_ADD [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/pload.c:349:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_NOTICE [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/pload.c:342:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/exec/pload.c:342:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/exec/pload.c:325:56: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/exec/schedwrk.c:140:7: debug: Function::addArguments found argument 'schedwrk_fn' with varid 0. [varid0] corosync-3.1.7/exec/schedwrk.c:148:7: debug: Function::addArguments found argument 'schedwrk_fn' with varid 0. [varid0] corosync-3.1.7/exec/schedwrk.c:93:7: debug: Function::addArguments found argument 'schedwrk_fn' with varid 0. [varid0] corosync-3.1.7/exec/schedwrk.c:58:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable schedwrk_instance_database [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/schedwrk.c:105:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable schedwrk_instance_database [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/schedwrk.c:143:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable schedwrk_fn [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/schedwrk.c:151:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable schedwrk_fn [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/schedwrk.c:156:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable schedwrk_instance_database [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/service.c:124:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/service.c:186:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVICES_COUNT_MAX [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/service.c:209:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVICES_COUNT_MAX [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/service.c:266:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/service.c:352:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_ERROR [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/service.c:372:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_NOTICE [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/service.c:415:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QB_LOOP_HIGH [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/service.c:442:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QB_LOOP_HIGH [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/service.c:464:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QB_LOOP_HIGH [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/service.c:408:13: style: Condition 'called==0' is always true [knownConditionTrueFalse] corosync-3.1.7/exec/service.c:405:6: note: Assuming that condition 'called' is not redundant corosync-3.1.7/exec/service.c:408:13: note: Condition 'called==0' is always true corosync-3.1.7/exec/service.c:282:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] corosync-3.1.7/exec/service.c:118:26: style:inconclusive: Function 'corosync_service_link_and_init' argument 1 names different: declaration 'objdb' definition 'corosync_api'. [funcArgNamesDifferent] corosync-3.1.7/exec/service.h:52:26: note: Function 'corosync_service_link_and_init' argument 1 names different: declaration 'objdb' definition 'corosync_api'. corosync-3.1.7/exec/service.c:118:26: note: Function 'corosync_service_link_and_init' argument 1 names different: declaration 'objdb' definition 'corosync_api'. corosync-3.1.7/exec/service.c:119:26: style:inconclusive: Function 'corosync_service_link_and_init' argument 2 names different: declaration 'service_engine' definition 'service'. [funcArgNamesDifferent] corosync-3.1.7/exec/service.h:53:26: note: Function 'corosync_service_link_and_init' argument 2 names different: declaration 'service_engine' definition 'service'. corosync-3.1.7/exec/service.c:119:26: note: Function 'corosync_service_link_and_init' argument 2 names different: declaration 'service_engine' definition 'service'. corosync-3.1.7/exec/service.c:339:79: style:inconclusive: Function 'corosync_service_defaults_link_and_init' argument 1 names different: declaration 'objdb' definition 'corosync_api'. [funcArgNamesDifferent] corosync-3.1.7/exec/service.h:74:26: note: Function 'corosync_service_defaults_link_and_init' argument 1 names different: declaration 'objdb' definition 'corosync_api'. corosync-3.1.7/exec/service.c:339:79: note: Function 'corosync_service_defaults_link_and_init' argument 1 names different: declaration 'objdb' definition 'corosync_api'. corosync-3.1.7/exec/service.c:451:33: style:inconclusive: Function 'corosync_service_unlink_and_exit' argument 1 names different: declaration 'objdb' definition 'api'. [funcArgNamesDifferent] corosync-3.1.7/exec/service.h:59:26: note: Function 'corosync_service_unlink_and_exit' argument 1 names different: declaration 'objdb' definition 'api'. corosync-3.1.7/exec/service.c:451:33: note: Function 'corosync_service_unlink_and_exit' argument 1 names different: declaration 'objdb' definition 'api'. corosync-3.1.7/exec/stats.c:246:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_VALUETYPE_STRING [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/stats.c:292:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/stats.c:348:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_NOT_EXIST [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/stats.c:431:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/stats.c:449:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/stats.c:488:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOTEMPG_STATS_CLEAR_TRANSPORT [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/stats.c:517:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/stats.c:522:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/stats.c:572:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stats_tracker_list_head [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/stats.c:619:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/stats.c:649:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_TRACK_PREFIX [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/stats.c:705:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_TRACK_ADD [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/stats.c:733:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/stats.c:743:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/stats.c:756:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/stats.c:768:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/stats.c:778:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/sync.c:171:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_ERROR [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/sync.c:200:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/sync.c:262:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/sync.c:350:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOTEMPG_AGREED [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/sync.c:367:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOTEMPG_AGREED [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/sync.c:378:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROCESSOR_COUNT_MAX [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/sync.c:456:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVICES_COUNT_MAX [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/stats.c:387:8: warning: %d in format string (no. 2) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] corosync-3.1.7/exec/stats.c:401:8: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] corosync-3.1.7/exec/stats.c:464:3: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/exec/stats.c:466:3: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/exec/stats.c:771:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/exec/stats.c:781:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/exec/stats.c:289:57: style:inconclusive: Function 'stats_map_init' argument 1 names different: declaration 'api' definition 'corosync_api'. [funcArgNamesDifferent] corosync-3.1.7/exec/stats.h:35:57: note: Function 'stats_map_init' argument 1 names different: declaration 'api' definition 'corosync_api'. corosync-3.1.7/exec/stats.c:289:57: note: Function 'stats_map_init' argument 1 names different: declaration 'api' definition 'corosync_api'. corosync-3.1.7/exec/stats.c:236:11: style: Parameter 'stat_array' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/exec/stats.c:599:66: style: Parameter 'old_value' can be declared as pointer to const. However it seems that 'stats_map_notify_fn' is a callback function, if 'old_value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] corosync-3.1.7/exec/stats.c:708:27: note: You might need to cast the function pointer here corosync-3.1.7/exec/stats.c:599:66: note: Parameter 'old_value' can be declared as pointer to const corosync-3.1.7/exec/stats.c:599:83: style: Parameter 'value' can be declared as pointer to const. However it seems that 'stats_map_notify_fn' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] corosync-3.1.7/exec/stats.c:708:27: note: You might need to cast the function pointer here corosync-3.1.7/exec/stats.c:599:83: note: Parameter 'value' can be declared as pointer to const corosync-3.1.7/exec/stats.c:724:27: style: Variable 'tracker' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/exec/stats.c:765:68: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/exec/stats.c:775:68: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/exec/sync.c:321:32: style: Variable 'header' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/exec/sync.c:495:10: style: Variable 'res' is assigned a value that is never used. [unreadVariable] corosync-3.1.7/exec/timer.c:51:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QB_LOOP_MED [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/timer.c:65:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QB_LOOP_MED [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/timer.c:44:22: style:inconclusive: Function 'corosync_timer_add_absolute' argument 1 names different: declaration 'nanoseconds_from_epoch' definition 'nanosec_from_epoch'. [funcArgNamesDifferent] corosync-3.1.7/exec/timer.h:54:21: note: Function 'corosync_timer_add_absolute' argument 1 names different: declaration 'nanoseconds_from_epoch' definition 'nanosec_from_epoch'. corosync-3.1.7/exec/timer.c:44:22: note: Function 'corosync_timer_add_absolute' argument 1 names different: declaration 'nanoseconds_from_epoch' definition 'nanosec_from_epoch'. corosync-3.1.7/exec/timer.c:73:26: style:inconclusive: Function 'corosync_timer_delete' argument 1 names different: declaration 'handle' definition 'th'. [funcArgNamesDifferent] corosync-3.1.7/exec/timer.h:59:60: note: Function 'corosync_timer_delete' argument 1 names different: declaration 'handle' definition 'th'. corosync-3.1.7/exec/timer.c:73:26: note: Function 'corosync_timer_delete' argument 1 names different: declaration 'handle' definition 'th'. corosync-3.1.7/exec/timer.c:79:26: style:inconclusive: Function 'corosync_timer_expire_time_get' argument 1 names different: declaration 'handle' definition 'th'. [funcArgNamesDifferent] corosync-3.1.7/exec/timer.h:61:83: note: Function 'corosync_timer_expire_time_get' argument 1 names different: declaration 'handle' definition 'th'. corosync-3.1.7/exec/timer.c:79:26: note: Function 'corosync_timer_expire_time_get' argument 1 names different: declaration 'handle' definition 'th'. corosync-3.1.7/exec/totemconfig.c:1428:32: error: There is an unknown macro here somewhere. Configuration is required. If CS_PRI_NODE_ID is a macro then please configure it. [unknownMacro] corosync-3.1.7/exec/totemip.c:80:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemip.c:109:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_addr [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemip.c:126:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable totem_ip_address [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemip.c:140:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemip.c:166:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemip.c:206:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable totem_ip_address [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemip.c:236:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemip.c:258:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemip.c:269:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemip.c:322:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemip.c:428:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemip.c:460:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemip.c:520:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable totem_ip_if_address [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemip.c:553:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable totem_ip_if_address [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemknet.c:351:2: error: There is an unknown macro here somewhere. Configuration is required. If CS_PRI_NODE_ID is a macro then please configure it. [unknownMacro] corosync-3.1.7/exec/totemip.c:134:51: style: Parameter 'ip_addr' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/exec/totemip.c:264:66: style: Parameter 'ip_addr' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/exec/totemip.c:315:22: style: Variable 'sa' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/exec/totemip.c:316:23: style: Variable 'sa6' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/exec/totemip.c:529:50: style: Parameter 'bindnet' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/exec/totemnet.c:286:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_NOTICE [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totempg.c:612:3: error: There is an unknown macro here somewhere. Configuration is required. If CS_PRI_NODE_ID is a macro then please configure it. [unknownMacro] corosync-3.1.7/exec/totemsrp.c:2133:2: error: There is an unknown macro here somewhere. Configuration is required. If CS_PRI_RING_ID is a macro then please configure it. [unknownMacro] corosync-3.1.7/exec/totemudp.c:218:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UDP_RECEIVE_FRAME_SIZE_MAX [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudp.c:308:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_MAX_PERROR_MSG_LEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudp.c:360:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_MAX_PERROR_MSG_LEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudp.c:438:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_storage [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudp.c:553:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QB_LOOP_MED [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudp.c:712:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudp.c:1113:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_MAX_PERROR_MSG_LEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudp.c:1185:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UDP_RECEIVE_FRAME_SIZE_MAX [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudp.c:1218:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRAME_SIZE_MAX [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudp.c:1238:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QB_LOOP_MED [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudp.c:1271:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudp.c:1352:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable enabled [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudp.c:1371:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTERFACE_MAX [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudp.c:1383:89: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable family [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudp.c:1402:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable totem_ip_address [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudp.c:1428:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_storage [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudp.c:1495:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable totem_ip_address [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudpu.c:217:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UDP_RECEIVE_FRAME_SIZE_MAX [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudpu.c:311:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_MAX_PERROR_MSG_LEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudpu.c:377:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_MAX_PERROR_MSG_LEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudpu.c:491:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_storage [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudpu.c:614:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QB_LOOP_MED [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudpu.c:741:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudpu.c:813:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable enabled [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudpu.c:830:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTERFACE_MAX [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudpu.c:854:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_MAX_PERROR_MSG_LEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudpu.c:929:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_MAX_PERROR_MSG_LEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudpu.c:1005:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UDP_RECEIVE_FRAME_SIZE_MAX [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudpu.c:1051:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRAME_SIZE_MAX [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudpu.c:1071:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QB_LOOP_MED [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudpu.c:1145:89: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable family [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudpu.c:1166:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable totem_ip_address [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudpu.c:1191:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_storage [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudpu.c:1254:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudpu.c:1327:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_NOTICE [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudpu.c:1358:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_NOTICE [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudpu.c:1430:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QB_LOOP_MED [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/totemudp.c:1497:2: error: Memory leak: new_member [memleak] corosync-3.1.7/exec/totemudp.c:1354:41: style: Variable 'node_status->link_status[0].enabled' is reassigned a value before the old one has been used. [redundantAssignment] corosync-3.1.7/exec/totemudp.c:1352:40: note: node_status->link_status[0].enabled is assigned corosync-3.1.7/exec/totemudp.c:1354:41: note: node_status->link_status[0].enabled is overwritten corosync-3.1.7/exec/totemudp.c:1083:28: warning: Function 'totemudp_build_sockets' argument order different: declaration 'instance, bindnet_address, mcastaddress, sockets, bound_to' definition 'instance, mcast_address, bindnet_address, sockets, bound_to' [funcArgOrderDifferent] corosync-3.1.7/exec/totemudp.c:202:28: note: Function 'totemudp_build_sockets' argument order different: declaration 'instance, bindnet_address, mcastaddress, sockets, bound_to' definition 'instance, mcast_address, bindnet_address, sockets, bound_to' corosync-3.1.7/exec/totemudp.c:1083:28: note: Function 'totemudp_build_sockets' argument order different: declaration 'instance, bindnet_address, mcastaddress, sockets, bound_to' definition 'instance, mcast_address, bindnet_address, sockets, bound_to' corosync-3.1.7/exec/totemudp.c:1337:36: style:inconclusive: Function 'totemudp_nodestatus_get' argument 1 names different: declaration 'net_context' definition 'udp_context'. [funcArgNamesDifferent] corosync-3.1.7/exec/totemudp.h:95:43: note: Function 'totemudp_nodestatus_get' argument 1 names different: declaration 'net_context' definition 'udp_context'. corosync-3.1.7/exec/totemudp.c:1337:36: note: Function 'totemudp_nodestatus_get' argument 1 names different: declaration 'net_context' definition 'udp_context'. corosync-3.1.7/exec/totemudp.c:1477:8: style:inconclusive: Function 'totemudp_member_add' argument 1 names different: declaration 'udpu_context' definition 'udp_context'. [funcArgNamesDifferent] corosync-3.1.7/exec/totemudp.h:130:8: note: Function 'totemudp_member_add' argument 1 names different: declaration 'udpu_context' definition 'udp_context'. corosync-3.1.7/exec/totemudp.c:1477:8: note: Function 'totemudp_member_add' argument 1 names different: declaration 'udpu_context' definition 'udp_context'. corosync-3.1.7/exec/totemudp.c:1501:8: style:inconclusive: Function 'totemudp_member_remove' argument 1 names different: declaration 'udpu_context' definition 'udp_context'. [funcArgNamesDifferent] corosync-3.1.7/exec/totemudp.h:136:8: note: Function 'totemudp_member_remove' argument 1 names different: declaration 'udpu_context' definition 'udp_context'. corosync-3.1.7/exec/totemudp.c:1501:8: note: Function 'totemudp_member_remove' argument 1 names different: declaration 'udpu_context' definition 'udp_context'. corosync-3.1.7/exec/totemudp.c:1502:33: style:inconclusive: Function 'totemudp_member_remove' argument 2 names different: declaration 'member' definition 'token_target'. [funcArgNamesDifferent] corosync-3.1.7/exec/totemudp.h:137:33: note: Function 'totemudp_member_remove' argument 2 names different: declaration 'member' definition 'token_target'. corosync-3.1.7/exec/totemudp.c:1502:33: note: Function 'totemudp_member_remove' argument 2 names different: declaration 'member' definition 'token_target'. corosync-3.1.7/exec/totemudp.c:250:8: style: Parameter 'udp_context' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/exec/totemudp.c:673:68: style: Parameter 'instance' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/exec/totemudp.c:696:23: style: Variable 'mcast_sin6' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/exec/totemudp.c:1284:32: style: Parameter 'udp_context' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/exec/totemudp.c:1392:26: style: Variable 'member' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/exec/totemudp.c:1534:31: style: Parameter 'net_context' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/exec/totemudp.c:1544:8: style: Parameter 'udp_context' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/exec/totemudp.c:1545:23: style: Parameter 'totem_config' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/exec/totemudp.c:196:14: style: struct member 'work_item::msg' is never used. [unusedStructMember] corosync-3.1.7/exec/totemudp.c:197:15: style: struct member 'work_item::msg_len' is never used. [unusedStructMember] corosync-3.1.7/exec/totemudp.c:198:28: style: struct member 'work_item::instance' is never used. [unusedStructMember] corosync-3.1.7/exec/totemudpu.c:797:37: style:inconclusive: Function 'totemudpu_nodestatus_get' argument 1 names different: declaration 'net_context' definition 'udpu_context'. [funcArgNamesDifferent] corosync-3.1.7/exec/totemudpu.h:95:44: note: Function 'totemudpu_nodestatus_get' argument 1 names different: declaration 'net_context' definition 'udpu_context'. corosync-3.1.7/exec/totemudpu.c:797:37: note: Function 'totemudpu_nodestatus_get' argument 1 names different: declaration 'net_context' definition 'udpu_context'. corosync-3.1.7/exec/totemudpu.c:1340:33: style:inconclusive: Function 'totemudpu_member_remove' argument 2 names different: declaration 'member' definition 'token_target'. [funcArgNamesDifferent] corosync-3.1.7/exec/totemudpu.h:137:33: note: Function 'totemudpu_member_remove' argument 2 names different: declaration 'member' definition 'token_target'. corosync-3.1.7/exec/totemudpu.c:1340:33: note: Function 'totemudpu_member_remove' argument 2 names different: declaration 'member' definition 'token_target'. corosync-3.1.7/exec/totemudpu.c:245:8: style: Parameter 'udpu_context' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/exec/totemudpu.c:713:70: style: Parameter 'instance' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/exec/totemudpu.c:1081:33: style: Parameter 'udpu_context' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/exec/totemudpu.c:1088:33: style: Parameter 'udpu_context' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/exec/totemudpu.c:1156:27: style: Variable 'member' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/exec/totemudpu.c:1301:32: style: Parameter 'net_context' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/exec/totemudpu.c:1448:8: style: Parameter 'udpu_context' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/exec/totemudpu.c:1449:23: style: Parameter 'totem_config' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/exec/totemudpu.c:186:14: style: struct member 'work_item::msg' is never used. [unusedStructMember] corosync-3.1.7/exec/totemudpu.c:187:15: style: struct member 'work_item::msg_len' is never used. [unusedStructMember] corosync-3.1.7/exec/totemudpu.c:188:29: style: struct member 'work_item::instance' is never used. [unusedStructMember] corosync-3.1.7/exec/util.c:132:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_NOTICE [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/util.c:144:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_MAX_NAME_LENGTH [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/util.c:158:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_MAX_NAME_LENGTH [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/util.c:176:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/util.c:264:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/util.c:330:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/util.c:84:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/exec/util.c:91:27: style: Parameter 'name1' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/exec/util.c:91:45: style: Parameter 'name2' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/exec/util.c:155:43: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/exec/util.c:165:34: style: Parameter 'str1' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/exec/util.c:165:46: style: Parameter 'str2' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/exec/votequorum.c:479:68: error: There is an unknown macro here somewhere. Configuration is required. If CS_PRI_NODE_ID is a macro then please configure it. [unknownMacro] corosync-3.1.7/exec/vsf_ykd.c:172:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_base [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/vsf_ykd.c:203:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOTEM_AGREED [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/vsf_ykd.c:437:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_NOTICE [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/vsf_ykd.c:466:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOTEM_CONFIGURATION_REGULAR [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/vsf_quorum.c:154:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_PRI_NODE_ID [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/vsf_quorum.c:176:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_NOTICE [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/vsf_quorum.c:436:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/vsf_quorum.c:480:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/vsf_quorum.c:493:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/vsf_quorum.c:527:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MESSAGE_RES_QUORUM_NOTIFICATION [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/vsf_quorum.c:546:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MESSAGE_RES_QUORUM_V1_QUORUM_NOTIFICATION [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/vsf_quorum.c:553:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable res_lib_quorum_notification [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/vsf_quorum.c:602:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable res_lib_quorum_v1_nodelist_notification [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/vsf_quorum.c:679:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/vsf_quorum.c:695:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/vsf_quorum.c:740:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/vsf_quorum.c:763:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/vsf_quorum.c:781:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/vsf_ykd.c:512:26: style:inconclusive: Function 'ykd_init' argument 1 names different: declaration 'api' definition 'corosync_api'. [funcArgNamesDifferent] corosync-3.1.7/exec/vsf_ykd.h:41:40: note: Function 'ykd_init' argument 1 names different: declaration 'api' definition 'corosync_api'. corosync-3.1.7/exec/vsf_ykd.c:512:26: note: Function 'ykd_init' argument 1 names different: declaration 'api' definition 'corosync_api'. corosync-3.1.7/exec/vsf_ykd.c:255:16: style: Parameter 'member_list' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/exec/vsf_ykd.c:257:22: style: Parameter 'session' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/exec/vsf_ykd.c:347:21: style: Variable 'header' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/exec/wd.c:187:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_ERROR [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/wd.c:222:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/wd.c:278:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/wd.c:344:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_CRIT [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/wd.c:379:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_TRACK_ADD [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/wd.c:409:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_FALSE [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/wd.c:426:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/wd.c:504:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WDIOC_KEEPALIVE [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/wd.c:522:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/wd.c:551:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/wd.c:592:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WDIOC_GETTIMEOUT [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/wd.c:637:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/wd.c:694:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/wd.c:713:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/wd.c:759:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSYS_LEVEL_INFO [valueFlowBailoutIncompleteVar] corosync-3.1.7/exec/vsf_quorum.c:616:8: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] corosync-3.1.7/exec/vsf_quorum.c:264:2: error: Memory leak: pd [memleak] corosync-3.1.7/exec/vsf_quorum.c:170:40: style: Parameter 'ring_id' can be declared as pointer to const. However it seems that 'quorum_api_set_quorum' is a callback function, if 'ring_id' is declared with const you might also need to cast function pointer(s). [constParameterCallback] corosync-3.1.7/exec/vsf_quorum.c:447:27: note: You might need to cast the function pointer here corosync-3.1.7/exec/vsf_quorum.c:170:40: note: Parameter 'ring_id' can be declared as pointer to const corosync-3.1.7/exec/vsf_quorum.c:267:76: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/exec/wd.c:388:41: style: Condition 'ref!=NULL' is always true [knownConditionTrueFalse] corosync-3.1.7/exec/wd.c:531:8: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] corosync-3.1.7/exec/wd.c:559:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] corosync-3.1.7/exec/wd.c:151:56: style: Parameter 'fsm' can be declared as pointer to const. However it seems that 'wd_res_state_to_str' is a callback function, if 'fsm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] corosync-3.1.7/exec/wd.c:438:26: note: You might need to cast the function pointer here corosync-3.1.7/exec/wd.c:151:56: note: Parameter 'fsm' can be declared as pointer to const corosync-3.1.7/exec/wd.c:168:56: style: Parameter 'fsm' can be declared as pointer to const. However it seems that 'wd_res_event_to_str' is a callback function, if 'fsm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] corosync-3.1.7/exec/wd.c:439:26: note: You might need to cast the function pointer here corosync-3.1.7/exec/wd.c:168:56: note: Parameter 'fsm' can be declared as pointer to const corosync-3.1.7/exec/wd.c:421:58: style: Parameter 'res_name' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/lib/cfg.c:90:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cfg.c:133:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cfg_hdb [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cfg.c:158:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cfg_hdb [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cfg.c:260:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cfg_hdb [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cfg.c:296:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cfg_hdb [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cfg.c:387:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_INVALID_PARAM [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cfg.c:462:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable req_lib_cfg_trackstart [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cfg.c:496:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cfg_hdb [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cfg.c:531:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_MAX_NAME_LENGTH [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cfg.c:573:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cfg_hdb [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cfg.c:608:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cfg_hdb [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cfg.c:646:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_storage [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cfg.c:727:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cfg_hdb [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cfg.c:768:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cfg_hdb [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cfg.c:807:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cfg_hdb [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cfg.c:555:8: style: Variable 'error' is reassigned a value before the old one has been used. [redundantAssignment] corosync-3.1.7/lib/cfg.c:549:8: note: error is assigned corosync-3.1.7/lib/cfg.c:555:8: note: error is overwritten corosync-3.1.7/lib/cmap.c:95:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:135:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:180:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cmap_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:217:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cmap_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:244:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cmap_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:359:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cmap_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:378:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cmap_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:404:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_INVALID_PARAM [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:449:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_VALUETYPE_INT8 [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:454:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_VALUETYPE_UINT8 [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:459:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_VALUETYPE_INT16 [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:464:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_VALUETYPE_UINT16 [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:469:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_VALUETYPE_INT32 [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:474:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_VALUETYPE_UINT32 [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:479:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_VALUETYPE_INT64 [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:484:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_VALUETYPE_UINT64 [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:489:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_VALUETYPE_FLOAT [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:494:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_VALUETYPE_DOUBLE [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:501:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_INVALID_PARAM [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:516:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_INVALID_PARAM [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:568:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_INVALID_PARAM [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:655:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:670:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_VALUETYPE_INT8 [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:676:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_VALUETYPE_UINT8 [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:682:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_VALUETYPE_INT16 [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:688:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_VALUETYPE_UINT16 [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:694:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_VALUETYPE_INT32 [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:700:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_VALUETYPE_UINT32 [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:706:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_VALUETYPE_INT64 [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:712:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_VALUETYPE_UINT64 [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:718:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_VALUETYPE_FLOAT [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:724:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_VALUETYPE_DOUBLE [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:735:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:772:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_INVALID_PARAM [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:835:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_INVALID_PARAM [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:892:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_INVALID_PARAM [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:948:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cmap_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:994:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_INVALID_PARAM [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:1079:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cmap_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cpg.c:131:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_IPC_TIMEOUT_MS [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cpg.c:137:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpg_iteration_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cpg.c:159:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpg_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cpg.c:175:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpg_model_v1_data_t [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cpg.c:194:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPG_MODEL_V1 [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cpg.c:258:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpg_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cpg.c:301:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpg_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cpg.c:320:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpg_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cpg.c:339:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpg_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cpg.c:358:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpg_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cpg.c:384:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPG_MEMBERS_MAX [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cpg.c:654:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPG_MAX_NAME_LENGTH [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cpg.c:708:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPG_MAX_NAME_LENGTH [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cpg.c:756:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPG_MAX_NAME_LENGTH [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cpg.c:816:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpg_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cpg.c:851:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpg_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cpg.c:876:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cpg.c:950:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cpg.c:1011:100: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coroipcs_zc_header [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cpg.c:1064:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpg_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cpg.c:1118:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cpg.c:1205:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpg_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cpg.c:1253:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPG_MAX_NAME_LENGTH [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cpg.c:1343:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_INVALID_PARAM [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cpg.c:1392:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpg_iteration_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/cmap.c:104:8: style: Variable 'error' is assigned a value that is never used. [unreadVariable] corosync-3.1.7/lib/cpg.c:965:9: warning: Assert statement calls a function which may have desired side effects: 'memory_map'. [assertWithSideEffect] corosync-3.1.7/lib/cpg.c:1171:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] corosync-3.1.7/lib/cpg.c:908:15: style: Condition 'written==-1' is always false [knownConditionTrueFalse] corosync-3.1.7/lib/cpg.c:171:19: style: Parameter 'callbacks' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/lib/cpg.c:188:20: style: Parameter 'model_data' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/lib/cpg.c:1011:29: style: Variable 'header' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/lib/cpg.c:1061:29: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/lib/quorum.c:80:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable quorum_model_v0_data_t [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/quorum.c:106:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QUORUM_MODEL_V1 [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/quorum.c:215:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable quorum_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/quorum.c:247:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable quorum_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/quorum.c:286:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable quorum_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/quorum.c:306:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable quorum_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/quorum.c:325:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable quorum_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/quorum.c:348:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable quorum_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/quorum.c:388:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable quorum_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/quorum.c:439:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_DISPATCH_ONE_NONBLOCKING [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/sam.c:149:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAM_RECOVERY_POLICY_QUIT [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/sam.c:219:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/sam.c:241:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/sam.c:284:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_BAD_HANDLE [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/sam.c:355:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSIZE_MAX [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/sam.c:383:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSIZE_MAX [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/sam.c:404:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_LIBRARY [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/sam.c:434:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_INVALID_PARAM [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/sam.c:459:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/sam.c:510:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_BAD_HANDLE [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/sam.c:594:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_BAD_HANDLE [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/sam.c:641:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_BAD_HANDLE [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/sam.c:685:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_BAD_HANDLE [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/sam.c:703:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_BAD_HANDLE [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/sam.c:726:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_BAD_HANDLE [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/sam.c:749:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_BAD_HANDLE [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/sam.c:802:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/sam.c:833:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/sam.c:860:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAM_RECOVERY_POLICY_CMAP [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/sam.c:944:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/sam.c:976:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/sam.c:988:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAM_RECOVERY_POLICY_QUIT [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/sam.c:1003:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/sam.c:1061:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/sam.c:1215:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_BAD_HANDLE [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/sam.c:1361:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/sam.c:1408:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/quorum.c:75:22: style: Parameter 'callbacks' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/lib/quorum.c:93:23: style: Parameter 'model_data' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/lib/votequorum.c:80:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/votequorum.c:125:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable votequorum_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/votequorum.c:159:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable votequorum_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/votequorum.c:212:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable votequorum_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/votequorum.c:255:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable votequorum_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/votequorum.c:298:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable votequorum_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/votequorum.c:339:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable votequorum_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/votequorum.c:377:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable votequorum_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/votequorum.c:396:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable votequorum_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/votequorum.c:416:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable votequorum_handle_t_db [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/votequorum.c:447:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_DISPATCH_ONE_NONBLOCKING [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/votequorum.c:583:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VOTEQUORUM_QDEVICE_MAX_NAME_LEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/votequorum.c:632:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VOTEQUORUM_QDEVICE_MAX_NAME_LEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/votequorum.c:681:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VOTEQUORUM_QDEVICE_MAX_NAME_LEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/votequorum.c:729:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VOTEQUORUM_QDEVICE_MAX_NAME_LEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/votequorum.c:778:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VOTEQUORUM_QDEVICE_MAX_NAME_LEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/lib/votequorum.c:74:26: style: Parameter 'callbacks' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/lib/sam.c:840:6: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] corosync-3.1.7/lib/sam.c:833:6: note: err is assigned corosync-3.1.7/lib/sam.c:840:6: note: err is overwritten corosync-3.1.7/lib/sam.c:1024:6: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] corosync-3.1.7/lib/sam.c:1003:6: note: err is assigned corosync-3.1.7/lib/sam.c:1024:6: note: err is overwritten corosync-3.1.7/lib/sam.c:459:6: style: Variable 'err' is assigned a value that is never used. [unreadVariable] corosync-3.1.7/test/cpgbench.c:125:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPG_TYPE_AGREED [valueFlowBailoutIncompleteVar] corosync-3.1.7/test/cpgbench.c:152:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_DISPATCH_BLOCKING [valueFlowBailoutIncompleteVar] corosync-3.1.7/test/cpgbench.c:164:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] corosync-3.1.7/test/cpgbench.c:130:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/cpgbench.c:171:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/cpgbench.c:178:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/cpgbench.c:193:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/cpgbench.c:94:15: style: Parameter 'msg' can be declared as pointer to const. However it seems that 'cpg_bm_deliver_fn' is a callback function, if 'msg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] corosync-3.1.7/test/cpgbench.c:101:21: note: You might need to cast the function pointer here corosync-3.1.7/test/cpgbench.c:94:15: note: Parameter 'msg' can be declared as pointer to const corosync-3.1.7/test/cpgbound.c:89:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/test/cpgbenchzc.c:119:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPG_FLOW_CONTROL_DISABLED [valueFlowBailoutIncompleteVar] corosync-3.1.7/test/cpgbenchzc.c:166:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/test/cpgbound.c:115:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/cpgbound.c:119:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/cpgbenchzc.c:128:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/cpgbenchzc.c:135:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/cpgbenchzc.c:167:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/cpgbenchzc.c:172:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/cpgbound.c:53:15: style: Parameter 'm' can be declared as pointer to const. However it seems that 'cpg_deliver_fn' is a callback function, if 'm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] corosync-3.1.7/test/cpgbound.c:68:2: note: You might need to cast the function pointer here corosync-3.1.7/test/cpgbound.c:53:15: note: Parameter 'm' can be declared as pointer to const corosync-3.1.7/test/cpgbenchzc.c:86:15: style: Parameter 'msg' can be declared as pointer to const. However it seems that 'cpg_bm_deliver_fn' is a callback function, if 'msg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] corosync-3.1.7/test/cpgbenchzc.c:93:21: note: You might need to cast the function pointer here corosync-3.1.7/test/cpgbenchzc.c:86:15: note: Parameter 'msg' can be declared as pointer to const corosync-3.1.7/test/cpghum.c:253:68: error: There is an unknown macro here somewhere. Configuration is required. If CS_PRI_NODE_ID is a macro then please configure it. [unknownMacro] corosync-3.1.7/test/cpgverify.c:77:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] corosync-3.1.7/test/cpgverify.c:128:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] corosync-3.1.7/test/stress_cpgcontext.c:98:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/test/stress_cpgcontext.c:59:15: style: Parameter 'm' can be declared as pointer to const. However it seems that 'cpg_deliver_fn' is a callback function, if 'm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] corosync-3.1.7/test/stress_cpgcontext.c:74:2: note: You might need to cast the function pointer here corosync-3.1.7/test/stress_cpgcontext.c:59:15: note: Parameter 'm' can be declared as pointer to const corosync-3.1.7/test/stress_cpgcontext.c:49:15: style: struct member 'my_msg::msg_size' is never used. [unusedStructMember] corosync-3.1.7/test/stress_cpgcontext.c:50:16: style: struct member 'my_msg::sha1' is never used. [unusedStructMember] corosync-3.1.7/test/stress_cpgcontext.c:51:16: style: struct member 'my_msg::buffer' is never used. [unusedStructMember] corosync-3.1.7/test/stress_cpgfdget.c:96:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/test/stress_cpgfdget.c:59:15: style: Parameter 'm' can be declared as pointer to const. However it seems that 'cpg_deliver_fn' is a callback function, if 'm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] corosync-3.1.7/test/stress_cpgfdget.c:74:2: note: You might need to cast the function pointer here corosync-3.1.7/test/stress_cpgfdget.c:59:15: note: Parameter 'm' can be declared as pointer to const corosync-3.1.7/test/stress_cpgzc.c:103:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/test/stress_cpgfdget.c:49:15: style: struct member 'my_msg::msg_size' is never used. [unusedStructMember] corosync-3.1.7/test/stress_cpgfdget.c:50:16: style: struct member 'my_msg::sha1' is never used. [unusedStructMember] corosync-3.1.7/test/stress_cpgfdget.c:51:16: style: struct member 'my_msg::buffer' is never used. [unusedStructMember] corosync-3.1.7/test/stress_cpgfdget.c:106:7: style: Variable 'res' is assigned a value that is never used. [unreadVariable] corosync-3.1.7/test/stress_cpgzc.c:61:15: style: Parameter 'm' can be declared as pointer to const. However it seems that 'cpg_deliver_fn' is a callback function, if 'm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] corosync-3.1.7/test/stress_cpgzc.c:77:2: note: You might need to cast the function pointer here corosync-3.1.7/test/stress_cpgzc.c:61:15: note: Parameter 'm' can be declared as pointer to const corosync-3.1.7/test/stress_cpgzc.c:50:15: style: struct member 'my_msg::msg_size' is never used. [unusedStructMember] corosync-3.1.7/test/stress_cpgzc.c:51:16: style: struct member 'my_msg::sha1' is never used. [unusedStructMember] corosync-3.1.7/test/stress_cpgzc.c:52:16: style: struct member 'my_msg::buffer' is never used. [unusedStructMember] corosync-3.1.7/test/testcfg.c:49:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COROSYNC_CFG_SHUTDOWN_FLAG_NO [valueFlowBailoutIncompleteVar] corosync-3.1.7/test/testcfg.c:55:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/test/testcfg.c:73:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shutdown_callback [valueFlowBailoutIncompleteVar] corosync-3.1.7/test/testcfg.c:106:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testcpg.c:95:31: error: There is an unknown macro here somewhere. Configuration is required. If CS_PRI_NODE_ID is a macro then please configure it. [unknownMacro] corosync-3.1.7/test/testcpg2.c:56:38: error: There is an unknown macro here somewhere. Configuration is required. If CS_PRI_NODE_ID is a macro then please configure it. [unknownMacro] corosync-3.1.7/test/testcpgzc.c:84:61: error: There is an unknown macro here somewhere. Configuration is required. If CS_PRI_NODE_ID is a macro then please configure it. [unknownMacro] corosync-3.1.7/test/testquorum.c:25:26: error: There is an unknown macro here somewhere. Configuration is required. If CS_PRI_RING_ID_SEQ is a macro then please configure it. [unknownMacro] corosync-3.1.7/test/testquorummodel.c:26:26: error: There is an unknown macro here somewhere. Configuration is required. If CS_PRI_RING_ID is a macro then please configure it. [unknownMacro] corosync-3.1.7/test/testvotequorum1.c:94:19: error: There is an unknown macro here somewhere. Configuration is required. If CS_PRI_NODE_ID is a macro then please configure it. [unknownMacro] corosync-3.1.7/test/testsam.c:76:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] corosync-3.1.7/test/testsam.c:180:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] corosync-3.1.7/test/testsam.c:192:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] corosync-3.1.7/test/testsam.c:248:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] corosync-3.1.7/test/testsam.c:290:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] corosync-3.1.7/test/testsam.c:530:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] corosync-3.1.7/test/testsam.c:550:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] corosync-3.1.7/test/testsam.c:607:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] corosync-3.1.7/test/testsam.c:623:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] corosync-3.1.7/test/testsam.c:759:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/test/testsam.c:865:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/test/testsam.c:1110:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/test/testsam.c:1245:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] corosync-3.1.7/test/testvotequorum2.c:88:33: error: There is an unknown macro here somewhere. Configuration is required. If CS_PRI_RING_ID is a macro then please configure it. [unknownMacro] corosync-3.1.7/test/testzcgc.c:81:61: error: There is an unknown macro here somewhere. Configuration is required. If CS_PRI_NODE_ID is a macro then please configure it. [unknownMacro] corosync-3.1.7/test/testsam.c:90:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:98:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:101:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:110:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:119:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:122:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:129:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:208:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:215:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:218:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:226:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:231:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:262:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:269:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:422:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:429:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:440:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:456:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:467:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:474:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:485:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:501:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:512:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:564:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:572:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:581:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:593:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:645:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:652:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:655:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:663:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:668:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:672:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:696:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:703:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:706:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:714:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:719:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:805:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:812:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:826:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:842:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:845:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:934:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:954:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:974:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:990:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:1011:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:1016:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:1029:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:1049:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:1070:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:1134:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:1165:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:1185:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:1192:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] corosync-3.1.7/test/testsam.c:741:34: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'test7_thread' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] corosync-3.1.7/test/testsam.c:803:39: note: You might need to cast the function pointer here corosync-3.1.7/test/testsam.c:741:34: note: Parameter 'arg' can be declared as pointer to const corosync-3.1.7/tools/corosync-cfgtool.c:234:27: error: There is an unknown macro here somewhere. Configuration is required. If CS_PRI_NODE_ID is a macro then please configure it. [unknownMacro] corosync-3.1.7/tools/corosync-cpgtool.c:68:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTERFACE_MAX [valueFlowBailoutIncompleteVar] corosync-3.1.7/tools/corosync-cpgtool.c:122:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/tools/corosync-cpgtool.c:157:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/tools/corosync-cpgtool.c:224:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] corosync-3.1.7/tools/corosync-cpgtool.c:73:29: style: Variable 'ss' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/tools/corosync-cpgtool.c:76:10: style: Variable 'saddr' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/tools/corosync-keygen.c:62:40: error: There is an unknown macro here somewhere. Configuration is required. If COROSYSCONFDIR is a macro then please configure it. [unknownMacro] corosync-3.1.7/tools/corosync-cmapctl.c:167:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] corosync-3.1.7/tools/corosync-cmapctl.c:204:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/tools/corosync-cmapctl.c:423:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/tools/corosync-cmapctl.c:447:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/tools/corosync-cmapctl.c:503:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_TRACK_ADD [valueFlowBailoutIncompleteVar] corosync-3.1.7/tools/corosync-cmapctl.c:522:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_FALSE [valueFlowBailoutIncompleteVar] corosync-3.1.7/tools/corosync-cmapctl.c:571:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] corosync-3.1.7/tools/corosync-cmapctl.c:610:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/tools/corosync-cmapctl.c:784:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] corosync-3.1.7/tools/corosync-cmapctl.c:804:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/tools/corosync-cmapctl.c:819:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_MAP_DEFAULT [valueFlowBailoutIncompleteVar] corosync-3.1.7/tools/corosync-notifyd.c:989:27: error: There is an unknown macro here somewhere. Configuration is required. If CS_PRI_NODE_ID is a macro then please configure it. [unknownMacro] corosync-3.1.7/tools/corosync-quorumtool.c:239:57: error: There is an unknown macro here somewhere. Configuration is required. If CS_PRI_NODE_ID is a macro then please configure it. [unknownMacro] corosync-3.1.7/tools/util.c:21:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] corosync-3.1.7/vqsim/parser.c:324:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] corosync-3.1.7/vqsim/parser.c:348:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] corosync-3.1.7/vqsim/parser.c:387:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] corosync-3.1.7/vqsim/parser.c:406:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] corosync-3.1.7/tools/corosync-cmapctl.c:774:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] corosync-3.1.7/tools/corosync-cmapctl.c:789:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] corosync-3.1.7/tools/corosync-cmapctl.c:790:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] corosync-3.1.7/tools/corosync-cmapctl.c:586:8: error: Common realloc mistake: 'val' nulled but not freed upon failure [memleakOnRealloc] corosync-3.1.7/tools/corosync-cmapctl.c:159:37: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/tools/corosync-cmapctl.c:729:62: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/tools/corosync-cmapctl.c:737:8: style: Variable 'key_type_s' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/tools/corosync-cmapctl.c:738:8: style: Variable 'key_value_s' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/tools/corosync-cmapctl.c:802:53: style: Parameter 'clear_opt' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/vqsim/parser.c:142:32: style:inconclusive: Function 'parse_input_command' argument 1 names different: declaration 'cmd' definition 'rl_cmd'. [funcArgNamesDifferent] corosync-3.1.7/vqsim/vqsim.h:66:32: note: Function 'parse_input_command' argument 1 names different: declaration 'cmd' definition 'rl_cmd'. corosync-3.1.7/vqsim/parser.c:142:32: note: Function 'parse_input_command' argument 1 names different: declaration 'cmd' definition 'rl_cmd'. corosync-3.1.7/vqsim/parser.c:142:32: style: Parameter 'rl_cmd' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/vqsim/parser.c:199:25: warning: Uninitialized variable: argv [uninitvar] corosync-3.1.7/vqsim/parser.c:176:10: note: Assuming condition is false corosync-3.1.7/vqsim/parser.c:199:25: note: Uninitialized variable: argv corosync-3.1.7/vqsim/vqmain.c:121:30: error: There is an unknown macro here somewhere. Configuration is required. If CS_PRI_NODE_ID is a macro then please configure it. [unknownMacro] corosync-3.1.7/vqsim/vq_object.c:40:22: style: Variable 'vqi' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/vqsim/vq_object.c:46:22: style: Variable 'vqi' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/vqsim/vq_object.c:62:22: style: Variable 'vqi' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/vqsim/vq_object.c:77:64: style: Parameter 'ring_id' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/vqsim/vq_object.c:77:78: style: Parameter 'nodeids' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/vqsim/vq_object.c:79:22: style: Variable 'vqi' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/vqsim/vq_object.c:101:22: style: Variable 'vqi' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/vqsim/vq_object.c:118:22: style: Variable 'vqi' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/vqsim/vqsim_vq_engine.c:57:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] corosync-3.1.7/vqsim/vqsim_vq_engine.c:72:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QB_LOOP_MED [valueFlowBailoutIncompleteVar] corosync-3.1.7/vqsim/vqsim_vq_engine.c:96:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_base [valueFlowBailoutIncompleteVar] corosync-3.1.7/vqsim/vqsim_vq_engine.c:176:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] corosync-3.1.7/vqsim/vqsim_vq_engine.c:190:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] corosync-3.1.7/vqsim/vqsim_vq_engine.c:232:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] corosync-3.1.7/vqsim/vqsim_vq_engine.c:267:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QB_LOOP_MED [valueFlowBailoutIncompleteVar] corosync-3.1.7/vqsim/vqsim_vq_engine.c:316:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] corosync-3.1.7/vqsim/vqsim_vq_engine.c:338:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QB_LOOP_MED [valueFlowBailoutIncompleteVar] corosync-3.1.7/vqsim/vqsim_vq_engine.c:365:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] corosync-3.1.7/vqsim/vqsim_vq_engine.c:438:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_NONBLOCK [valueFlowBailoutIncompleteVar] corosync-3.1.7/vqsim/vqsim_vq_engine.c:198:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] corosync-3.1.7/vqsim/vqsim_vq_engine.c:166:62: style:inconclusive: Function 'corosync_service_link_and_init' argument 1 names different: declaration 'objdb' definition 'api'. [funcArgNamesDifferent] corosync-3.1.7/exec/service.h:52:26: note: Function 'corosync_service_link_and_init' argument 1 names different: declaration 'objdb' definition 'api'. corosync-3.1.7/vqsim/vqsim_vq_engine.c:166:62: note: Function 'corosync_service_link_and_init' argument 1 names different: declaration 'objdb' definition 'api'. corosync-3.1.7/vqsim/vqsim_vq_engine.c:433:56: style:inconclusive: Function 'fork_new_instance' argument 3 names different: declaration 'child_pid' definition 'childpid'. [funcArgNamesDifferent] corosync-3.1.7/vqsim/vqsim.h:63:56: note: Function 'fork_new_instance' argument 3 names different: declaration 'child_pid' definition 'childpid'. corosync-3.1.7/vqsim/vqsim_vq_engine.c:433:56: note: Function 'fork_new_instance' argument 3 names different: declaration 'child_pid' definition 'childpid'. corosync-3.1.7/vqsim/vqsim_vq_engine.c:110:45: style: Parameter 'conn' can be declared as pointer to const. However it seems that 'api_ipc_private_data_get' is a callback function, if 'conn' is declared with const you might also need to cast function pointer(s). [constParameterCallback] corosync-3.1.7/vqsim/vqsim_vq_engine.c:129:26: note: You might need to cast the function pointer here corosync-3.1.7/vqsim/vqsim_vq_engine.c:110:45: note: Parameter 'conn' can be declared as pointer to const corosync-3.1.7/vqsim/vqsim_vq_engine.c:114:40: style: Parameter 'conn' can be declared as pointer to const. However it seems that 'api_ipc_response_send' is a callback function, if 'conn' is declared with const you might also need to cast function pointer(s). [constParameterCallback] corosync-3.1.7/vqsim/vqsim_vq_engine.c:130:23: note: You might need to cast the function pointer here corosync-3.1.7/vqsim/vqsim_vq_engine.c:114:40: note: Parameter 'conn' can be declared as pointer to const corosync-3.1.7/vqsim/vqsim_vq_engine.c:116:33: style: Variable 'qb_header' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/vqsim/vqsim_vq_engine.c:142:43: style: Parameter 'ring_id' can be declared as pointer to const. However it seems that 'quorum_fn' is a callback function, if 'ring_id' is declared with const you might also need to cast function pointer(s). [constParameterCallback] corosync-3.1.7/vqsim/vqsim_vq_engine.c:230:38: note: You might need to cast the function pointer here corosync-3.1.7/vqsim/vqsim_vq_engine.c:142:43: note: Parameter 'ring_id' can be declared as pointer to const corosync-3.1.7/vqsim/vqsim_vq_engine.c:166:62: style: Parameter 'api' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/vqsim/vqsim_vq_engine.c:167:34: style: Parameter 'service_engine' can be declared as pointer to const [constParameterPointer] corosync-3.1.7/vqsim/vqsim_vq_engine.c:289:32: style: Variable 'qb_header' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/vqsim/vqsim_vq_engine.c:321:39: style: Parameter 'data' can be declared as pointer to const. However it seems that 'qdevice_dispatch_fn' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] corosync-3.1.7/vqsim/vqsim_vq_engine.c:341:6: note: You might need to cast the function pointer here corosync-3.1.7/vqsim/vqsim_vq_engine.c:321:39: note: Parameter 'data' can be declared as pointer to const corosync-3.1.7/vqsim/vqsim_vq_engine.c:384:27: style: Variable 'header' can be declared as pointer to const [constVariablePointer] corosync-3.1.7/vqsim/vqsim_vq_engine.c:160:11: style: Variable 'len' is assigned a value that is never used. [unreadVariable] diff: DONE