2026-01-26 13:16 ftp://ftp.de.debian.org/debian/pool/main/a/aj-snapshot/aj-snapshot_0.9.9.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j90 platform: Linux-6.8.0-90-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.19.0 head-info: 31da8a2 (2026-01-26 13:18:30 +0100) count: 36 36 elapsed-time: 0.1 0.3 head-timing-info: old-timing-info: head results: aj-snapshot-0.9.9/src/aj-file.c:27:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXML_WS_BEFORE_OPEN [valueFlowBailoutIncompleteVar] aj-snapshot-0.9.9/src/aj-file.c:57:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXML_TEXT_CALLBACK [valueFlowBailoutIncompleteVar] aj-snapshot-0.9.9/src/aj-file.c:69:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] aj-snapshot-0.9.9/src/aj-remove.c:27:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_SEQ_QUERY_SUBS_READ [valueFlowBailoutIncompleteVar] aj-snapshot-0.9.9/src/aj-file.c:48:59: style:inconclusive: Function 'read_xml' argument 2 names different: declaration 'xml' definition 'xml_node'. [funcArgNamesDifferent] aj-snapshot-0.9.9/src/aj-file.h:24:59: note: Function 'read_xml' argument 2 names different: declaration 'xml' definition 'xml_node'. aj-snapshot-0.9.9/src/aj-file.c:48:59: note: Function 'read_xml' argument 2 names different: declaration 'xml' definition 'xml_node'. aj-snapshot-0.9.9/src/aj-file.c:63:51: style:inconclusive: Function 'write_xml' argument 2 names different: declaration 'xml' definition 'xml_node'. [funcArgNamesDifferent] aj-snapshot-0.9.9/src/aj-file.h:25:51: note: Function 'write_xml' argument 2 names different: declaration 'xml' definition 'xml_node'. aj-snapshot-0.9.9/src/aj-file.c:63:51: note: Function 'write_xml' argument 2 names different: declaration 'xml' definition 'xml_node'. aj-snapshot-0.9.9/src/aj-jack.c:40:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] aj-snapshot-0.9.9/src/aj-jack.c:55:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JackNoStartServer [valueFlowBailoutIncompleteVar] aj-snapshot-0.9.9/src/aj-jack.c:109:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] aj-snapshot-0.9.9/src/aj-jack.c:165:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] aj-snapshot-0.9.9/src/aj-jack.c:203:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] aj-snapshot-0.9.9/src/aj-jack.c:249:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] aj-snapshot-0.9.9/src/aj-alsa.c:31:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_SEQ_QUERY_SUBS_READ [valueFlowBailoutIncompleteVar] aj-snapshot-0.9.9/src/aj-alsa.c:76:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_SEQ_PORT_CAP_READ [valueFlowBailoutIncompleteVar] aj-snapshot-0.9.9/src/aj-alsa.c:118:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] aj-snapshot-0.9.9/src/aj-alsa.c:165:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] aj-snapshot-0.9.9/src/aj-alsa.c:234:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] aj-snapshot-0.9.9/src/aj-alsa.c:253:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_SEQ_OPEN_DUPLEX [valueFlowBailoutIncompleteVar] aj-snapshot-0.9.9/src/aj-snapshot.c:25:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] aj-snapshot-0.9.9/src/aj-snapshot.c:99:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] aj-snapshot-0.9.9/src/aj-snapshot.c:154:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] aj-snapshot-0.9.9/src/aj-jack.c:102:28: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] aj-snapshot-0.9.9/src/aj-jack.c:196:32: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] aj-snapshot-0.9.9/src/aj-jack.c:233:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] aj-snapshot-0.9.9/src/aj-jack.c:234:21: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] aj-snapshot-0.9.9/src/aj-jack.c:171:56: style:inconclusive: Function 'jack_restore' argument 2 names different: declaration 'xml_node' definition 'root_node'. [funcArgNamesDifferent] aj-snapshot-0.9.9/src/aj-jack.h:26:56: note: Function 'jack_restore' argument 2 names different: declaration 'xml_node' definition 'root_node'. aj-snapshot-0.9.9/src/aj-jack.c:171:56: note: Function 'jack_restore' argument 2 names different: declaration 'xml_node' definition 'root_node'. aj-snapshot-0.9.9/src/aj-jack.c:210:53: style:inconclusive: Function 'jack_store' argument 2 names different: declaration 'xml_node' definition 'root_node'. [funcArgNamesDifferent] aj-snapshot-0.9.9/src/aj-jack.h:25:53: note: Function 'jack_store' argument 2 names different: declaration 'xml_node' definition 'root_node'. aj-snapshot-0.9.9/src/aj-jack.c:210:53: note: Function 'jack_store' argument 2 names different: declaration 'xml_node' definition 'root_node'. aj-snapshot-0.9.9/src/aj-jack.c:92:11: style: Variable 'dest_client_name' can be declared as pointer to const [constVariablePointer] aj-snapshot-0.9.9/src/aj-jack.c:192:15: style: Variable 'dest_client_name' can be declared as pointer to const [constVariablePointer] aj-snapshot-0.9.9/src/aj-jack.c:237:25: error: Uninitialized variable: client_name_prev [legacyUninitvar] aj-snapshot-0.9.9/src/aj-alsa.c:130:47: style:inconclusive: Function 'alsa_store' argument 2 names different: declaration 'xml_node' definition 'root_node'. [funcArgNamesDifferent] aj-snapshot-0.9.9/src/aj-alsa.h:25:47: note: Function 'alsa_store' argument 2 names different: declaration 'xml_node' definition 'root_node'. aj-snapshot-0.9.9/src/aj-alsa.c:130:47: note: Function 'alsa_store' argument 2 names different: declaration 'xml_node' definition 'root_node'. aj-snapshot-0.9.9/src/aj-alsa.c:240:49: style:inconclusive: Function 'alsa_restore' argument 2 names different: declaration 'xml_node' definition 'root_node'. [funcArgNamesDifferent] aj-snapshot-0.9.9/src/aj-alsa.h:26:49: note: Function 'alsa_restore' argument 2 names different: declaration 'xml_node' definition 'root_node'. aj-snapshot-0.9.9/src/aj-alsa.c:240:49: note: Function 'alsa_restore' argument 2 names different: declaration 'xml_node' definition 'root_node'. aj-snapshot-0.9.9/src/aj-alsa.c:258:17: style: Variable 'client' is assigned a value that is never used. [unreadVariable] aj-snapshot-0.9.9/src/aj-snapshot.c:375:20: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] aj-snapshot-0.9.9/src/aj-snapshot.c:461:13: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] aj-snapshot-0.9.9/src/aj-snapshot.c:383:52: style: Condition 'action==DAEMON' is always true [knownConditionTrueFalse] aj-snapshot-0.9.9/src/aj-snapshot.c:359:15: note: Assuming that condition 'action==DAEMON' is not redundant aj-snapshot-0.9.9/src/aj-snapshot.c:383:52: note: Condition 'action==DAEMON' is always true diff: DONE