2025-06-28 13:38 ftp://ftp.de.debian.org/debian/pool/main/libi/libiec61883/libiec61883_1.2.0.orig.tar.gz 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 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: b6dd286 (2025-06-27 13:53:34 +0200) count: 175 175 elapsed-time: 4.7 4.7 head-timing-info: old-timing-info: head results: libiec61883-1.2.0/examples/test-dv.c:38:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/examples/test-dv.c:68:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/examples/test-plugs.c:55:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/examples/test-dv.c:109:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/examples/test-dv.c:139:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/examples/plugreport.c:189:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CSR_REGISTER_BASE [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/examples/plugreport.c:242:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/examples/test-mpeg2.c:38:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/examples/test-mpeg2.c:68:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/examples/test-mpeg2.c:101:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/examples/test-mpeg2.c:135:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/examples/test-amdtp.c:63:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/examples/test-amdtp.c:77:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/examples/test-amdtp.c:125:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/examples/test-amdtp.c:160:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/examples/test-amdtp.c:194:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/examples/plugreport.c:245:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugreport.c:245:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugreport.c:245:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugreport.c:252:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugreport.c:252:7: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugreport.c:252:7: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugreport.c:254:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugreport.c:254:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugreport.c:254:7: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugreport.c:254:7: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugreport.c:264:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugreport.c:264:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugreport.c:271:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugreport.c:271:7: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugreport.c:271:7: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugreport.c:273:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugreport.c:53:15: style: struct member 'iec61883_oMPR::non_persist_ext' is never used. [unusedStructMember] libiec61883-1.2.0/examples/plugreport.c:54:15: style: struct member 'iec61883_oMPR::persist_ext' is never used. [unusedStructMember] libiec61883-1.2.0/examples/plugreport.c:55:15: style: struct member 'iec61883_oMPR::reserved' is never used. [unusedStructMember] libiec61883-1.2.0/examples/plugreport.c:61:15: style: struct member 'iec61883_iMPR::reserved' is never used. [unusedStructMember] libiec61883-1.2.0/examples/plugreport.c:62:15: style: struct member 'iec61883_iMPR::non_persist_ext' is never used. [unusedStructMember] libiec61883-1.2.0/examples/plugreport.c:63:15: style: struct member 'iec61883_iMPR::persist_ext' is never used. [unusedStructMember] libiec61883-1.2.0/examples/plugreport.c:64:15: style: struct member 'iec61883_iMPR::reserved2' is never used. [unusedStructMember] libiec61883-1.2.0/examples/plugreport.c:72:15: style: struct member 'iec61883_oPCR::reserved' is never used. [unusedStructMember] libiec61883-1.2.0/examples/plugreport.c:83:15: style: struct member 'iec61883_iPCR::reserved' is never used. [unusedStructMember] libiec61883-1.2.0/examples/plugreport.c:85:15: style: struct member 'iec61883_iPCR::reserved2' is never used. [unusedStructMember] libiec61883-1.2.0/src/amdtp.c:52:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/amdtp.c:151:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAW1394_ISO_OK [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/amdtp.c:328:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/amdtp.c:356:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAW1394_ISO_OK [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/amdtp.c:477:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAW1394_DMA_PACKET_PER_BUFFER [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/examples/test-dv.c:67:4: style: Label 'fd' is not used. [unusedLabel] libiec61883-1.2.0/examples/test-dv.c:101:4: style: Label 'fd' is not used. [unusedLabel] libiec61883-1.2.0/examples/test-dv.c:33:40: style: Parameter 'data' can be declared as pointer to const. However it seems that 'write_frame' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libiec61883-1.2.0/examples/test-dv.c:62:56: note: You might need to cast the function pointer here libiec61883-1.2.0/examples/test-dv.c:33:40: note: Parameter 'data' can be declared as pointer to const libiec61883-1.2.0/examples/test-dv.c:123:27: style: Parameter 'argv' can be declared as const array [constParameter] libiec61883-1.2.0/examples/test-dv.c:113:11: style: Variable 'r' is assigned a value that is never used. [unreadVariable] libiec61883-1.2.0/src/cip.c:85:40: style:inconclusive: Function 'iec61883_cip_init' argument 1 names different: declaration 'cip' definition 'ptz'. [funcArgNamesDifferent] libiec61883-1.2.0/src/iec61883-private.h:154:40: note: Function 'iec61883_cip_init' argument 1 names different: declaration 'cip' definition 'ptz'. libiec61883-1.2.0/src/cip.c:85:40: note: Function 'iec61883_cip_init' argument 1 names different: declaration 'cip' definition 'ptz'. libiec61883-1.2.0/src/cip.c:147:71: style:inconclusive: Function 'iec61883_cip_fill_header' argument 2 names different: declaration 'cip' definition 'ptz'. [funcArgNamesDifferent] libiec61883-1.2.0/src/iec61883-private.h:165:71: note: Function 'iec61883_cip_fill_header' argument 2 names different: declaration 'cip' definition 'ptz'. libiec61883-1.2.0/src/cip.c:147:71: note: Function 'iec61883_cip_fill_header' argument 2 names different: declaration 'cip' definition 'ptz'. libiec61883-1.2.0/src/cip.c:48:33: style: Parameter 'src1' can be declared as pointer to const [constParameterPointer] libiec61883-1.2.0/src/cip.c:48:65: style: Parameter 'src2' can be declared as pointer to const [constParameterPointer] libiec61883-1.2.0/src/cip.c:65:75: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] libiec61883-1.2.0/src/cip.c:73:42: style: Parameter 'frac' can be declared as pointer to const [constParameterPointer] libiec61883-1.2.0/src/cip.c:79:41: style: Parameter 'frac' can be declared as pointer to const [constParameterPointer] libiec61883-1.2.0/examples/test-mpeg2.c:38:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/test-mpeg2.c:33:41: style: Parameter 'data' can be declared as pointer to const. However it seems that 'write_packet' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libiec61883-1.2.0/examples/test-mpeg2.c:55:60: note: You might need to cast the function pointer here libiec61883-1.2.0/examples/test-mpeg2.c:33:41: note: Parameter 'data' can be declared as pointer to const libiec61883-1.2.0/examples/test-mpeg2.c:119:27: style: Parameter 'argv' can be declared as const array [constParameter] libiec61883-1.2.0/src/cooked.c:51:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/cooked.c:67:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/examples/test-amdtp.c:90:14: style: Variable 'sample' can be declared as pointer to const [constVariablePointer] libiec61883-1.2.0/examples/test-amdtp.c:178:27: style: Parameter 'argv' can be declared as const array [constParameter] libiec61883-1.2.0/examples/test-amdtp.c:99:15: warning: Uninitialized variable: buffer [uninitvar] libiec61883-1.2.0/examples/test-amdtp.c:93:17: note: Assuming condition is false libiec61883-1.2.0/examples/test-amdtp.c:99:15: note: Uninitialized variable: buffer libiec61883-1.2.0/src/deque.c:55:43: style:inconclusive: Function 'iec61883_deque_size' argument 1 names different: declaration 'self' definition 'this'. [funcArgNamesDifferent] libiec61883-1.2.0/src/deque.h:33:43: note: Function 'iec61883_deque_size' argument 1 names different: declaration 'self' definition 'this'. libiec61883-1.2.0/src/deque.c:55:43: note: Function 'iec61883_deque_size' argument 1 names different: declaration 'self' definition 'this'. libiec61883-1.2.0/src/deque.c:76:48: style:inconclusive: Function 'iec61883_deque_push_back' argument 1 names different: declaration 'self' definition 'this'. [funcArgNamesDifferent] libiec61883-1.2.0/src/deque.h:34:48: note: Function 'iec61883_deque_push_back' argument 1 names different: declaration 'self' definition 'this'. libiec61883-1.2.0/src/deque.c:76:48: note: Function 'iec61883_deque_push_back' argument 1 names different: declaration 'self' definition 'this'. libiec61883-1.2.0/src/deque.c:89:49: style:inconclusive: Function 'iec61883_deque_pop_back' argument 1 names different: declaration 'self' definition 'this'. [funcArgNamesDifferent] libiec61883-1.2.0/src/deque.h:35:49: note: Function 'iec61883_deque_pop_back' argument 1 names different: declaration 'self' definition 'this'. libiec61883-1.2.0/src/deque.c:89:49: note: Function 'iec61883_deque_pop_back' argument 1 names different: declaration 'self' definition 'this'. libiec61883-1.2.0/src/deque.c:97:49: style:inconclusive: Function 'iec61883_deque_push_front' argument 1 names different: declaration 'self' definition 'this'. [funcArgNamesDifferent] libiec61883-1.2.0/src/deque.h:36:49: note: Function 'iec61883_deque_push_front' argument 1 names different: declaration 'self' definition 'this'. libiec61883-1.2.0/src/deque.c:97:49: note: Function 'iec61883_deque_push_front' argument 1 names different: declaration 'self' definition 'this'. libiec61883-1.2.0/src/deque.c:113:50: style:inconclusive: Function 'iec61883_deque_pop_front' argument 1 names different: declaration 'self' definition 'this'. [funcArgNamesDifferent] libiec61883-1.2.0/src/deque.h:37:50: note: Function 'iec61883_deque_pop_front' argument 1 names different: declaration 'self' definition 'this'. libiec61883-1.2.0/src/deque.c:113:50: note: Function 'iec61883_deque_pop_front' argument 1 names different: declaration 'self' definition 'this'. libiec61883-1.2.0/src/deque.c:129:45: style:inconclusive: Function 'iec61883_deque_back' argument 1 names different: declaration 'self' definition 'this'. [funcArgNamesDifferent] libiec61883-1.2.0/src/deque.h:38:45: note: Function 'iec61883_deque_back' argument 1 names different: declaration 'self' definition 'this'. libiec61883-1.2.0/src/deque.c:129:45: note: Function 'iec61883_deque_back' argument 1 names different: declaration 'self' definition 'this'. libiec61883-1.2.0/src/deque.c:137:46: style:inconclusive: Function 'iec61883_deque_front' argument 1 names different: declaration 'self' definition 'this'. [funcArgNamesDifferent] libiec61883-1.2.0/src/deque.h:39:46: note: Function 'iec61883_deque_front' argument 1 names different: declaration 'self' definition 'this'. libiec61883-1.2.0/src/deque.c:137:46: note: Function 'iec61883_deque_front' argument 1 names different: declaration 'self' definition 'this'. libiec61883-1.2.0/src/deque.c:145:45: style:inconclusive: Function 'iec61883_deque_close' argument 1 names different: declaration 'self' definition 'this'. [funcArgNamesDifferent] libiec61883-1.2.0/src/deque.h:40:45: note: Function 'iec61883_deque_close' argument 1 names different: declaration 'self' definition 'this'. libiec61883-1.2.0/src/deque.c:145:45: note: Function 'iec61883_deque_close' argument 1 names different: declaration 'self' definition 'this'. libiec61883-1.2.0/src/mpeg2.c:48:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/mpeg2.c:77:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/mpeg2.c:107:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAW1394_ISO_OK [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/mpeg2.c:151:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAW1394_DMA_PACKET_PER_BUFFER [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/mpeg2.c:169:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAW1394_ISO_OK [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/cmp.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/cmp.c:76:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/cmp.c:123:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/cmp.c:152:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/cmp.c:182:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/cmp.c:227:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/cmp.c:255:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/cmp.c:283:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/cmp.c:330:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/cmp.c:358:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/cmp.c:388:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/cmp.c:429:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAW1394_MODIFY_ALLOC [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/cmp.c:511:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/cmp.c:842:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/cmp.c:989:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CSR_REGISTER_BASE [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/mpeg2.c:141:50: style:inconclusive: Function 'iec61883_mpeg2_recv_start' argument 1 names different: declaration 'mpeg2' definition 'mpeg'. [funcArgNamesDifferent] libiec61883-1.2.0/src/iec61883.h:697:44: note: Function 'iec61883_mpeg2_recv_start' argument 1 names different: declaration 'mpeg2' definition 'mpeg'. libiec61883-1.2.0/src/mpeg2.c:141:50: note: Function 'iec61883_mpeg2_recv_start' argument 1 names different: declaration 'mpeg2' definition 'mpeg'. libiec61883-1.2.0/src/mpeg2.c:191:51: style:inconclusive: Function 'iec61883_mpeg2_xmit_start' argument 1 names different: declaration 'mpeg2' definition 'mpeg'. [funcArgNamesDifferent] libiec61883-1.2.0/src/iec61883.h:709:44: note: Function 'iec61883_mpeg2_xmit_start' argument 1 names different: declaration 'mpeg2' definition 'mpeg'. libiec61883-1.2.0/src/mpeg2.c:191:51: note: Function 'iec61883_mpeg2_xmit_start' argument 1 names different: declaration 'mpeg2' definition 'mpeg'. libiec61883-1.2.0/src/mpeg2.c:219:50: style:inconclusive: Function 'iec61883_mpeg2_xmit_stop' argument 1 names different: declaration 'mpeg2' definition 'mpeg'. [funcArgNamesDifferent] libiec61883-1.2.0/src/iec61883.h:723:43: note: Function 'iec61883_mpeg2_xmit_stop' argument 1 names different: declaration 'mpeg2' definition 'mpeg'. libiec61883-1.2.0/src/mpeg2.c:219:50: note: Function 'iec61883_mpeg2_xmit_stop' argument 1 names different: declaration 'mpeg2' definition 'mpeg'. libiec61883-1.2.0/src/mpeg2.c:230:50: style:inconclusive: Function 'iec61883_mpeg2_recv_stop' argument 1 names different: declaration 'mpeg2' definition 'mpeg'. [funcArgNamesDifferent] libiec61883-1.2.0/src/iec61883.h:716:43: note: Function 'iec61883_mpeg2_recv_stop' argument 1 names different: declaration 'mpeg2' definition 'mpeg'. libiec61883-1.2.0/src/mpeg2.c:230:50: note: Function 'iec61883_mpeg2_recv_stop' argument 1 names different: declaration 'mpeg2' definition 'mpeg'. libiec61883-1.2.0/src/mpeg2.c:239:46: style:inconclusive: Function 'iec61883_mpeg2_close' argument 1 names different: declaration 'mpeg2' definition 'mpeg'. [funcArgNamesDifferent] libiec61883-1.2.0/src/iec61883.h:730:39: note: Function 'iec61883_mpeg2_close' argument 1 names different: declaration 'mpeg2' definition 'mpeg'. libiec61883-1.2.0/src/mpeg2.c:239:46: note: Function 'iec61883_mpeg2_close' argument 1 names different: declaration 'mpeg2' definition 'mpeg'. libiec61883-1.2.0/src/dv.c:45:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable quadlet_t [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/plug.c:55:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CSR_REGISTER_BASE [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/dv.c:88:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/plug.c:75:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CSR_REGISTER_BASE [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/dv.c:119:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAW1394_ISO_OK [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/plug.c:132:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable quadlet_t [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/dv.c:214:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAW1394_ISO_OK [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/plug.c:190:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable quadlet_t [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/dv.c:243:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAW1394_DMA_PACKET_PER_BUFFER [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/plug.c:252:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/dv.c:350:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/plug.c:298:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/plug.c:327:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CSR_REGISTER_BASE [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/plug.c:338:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPERM [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/plug.c:359:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/plug.c:391:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CSR_REGISTER_BASE [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/plug.c:403:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPERM [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/tsbuffer.c:257:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/tsbuffer.c:387:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/tsbuffer.c:386:37: style:inconclusive: Boolean expression 'drift>(long long)27000000' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] libiec61883-1.2.0/src/tsbuffer.c:230:30: style:inconclusive: Function 'tsbuffer_set_pid' argument 1 names different: declaration 'self' definition 'this'. [funcArgNamesDifferent] libiec61883-1.2.0/src/tsbuffer.h:40:30: note: Function 'tsbuffer_set_pid' argument 1 names different: declaration 'self' definition 'this'. libiec61883-1.2.0/src/tsbuffer.c:230:30: note: Function 'tsbuffer_set_pid' argument 1 names different: declaration 'self' definition 'this'. libiec61883-1.2.0/src/tsbuffer.c:236:30: style:inconclusive: Function 'tsbuffer_read_ts' argument 1 names different: declaration 'self' definition 'this'. [funcArgNamesDifferent] libiec61883-1.2.0/src/tsbuffer.h:45:30: note: Function 'tsbuffer_read_ts' argument 1 names different: declaration 'self' definition 'this'. libiec61883-1.2.0/src/tsbuffer.c:236:30: note: Function 'tsbuffer_read_ts' argument 1 names different: declaration 'self' definition 'this'. libiec61883-1.2.0/src/tsbuffer.c:253:39: style:inconclusive: Function 'tsbuffer_read_to_next_pcr' argument 1 names different: declaration 'self' definition 'this'. [funcArgNamesDifferent] libiec61883-1.2.0/src/tsbuffer.h:49:39: note: Function 'tsbuffer_read_to_next_pcr' argument 1 names different: declaration 'self' definition 'this'. libiec61883-1.2.0/src/tsbuffer.c:253:39: note: Function 'tsbuffer_read_to_next_pcr' argument 1 names different: declaration 'self' definition 'this'. libiec61883-1.2.0/src/tsbuffer.c:273:29: style:inconclusive: Function 'tsbuffer_refill' argument 1 names different: declaration 'self' definition 'this'. [funcArgNamesDifferent] libiec61883-1.2.0/src/tsbuffer.h:53:29: note: Function 'tsbuffer_refill' argument 1 names different: declaration 'self' definition 'this'. libiec61883-1.2.0/src/tsbuffer.c:273:29: note: Function 'tsbuffer_refill' argument 1 names different: declaration 'self' definition 'this'. libiec61883-1.2.0/src/tsbuffer.c:348:37: style:inconclusive: Function 'tsbuffer_send_iso_cycle' argument 1 names different: declaration 'self' definition 'this'. [funcArgNamesDifferent] libiec61883-1.2.0/src/tsbuffer.h:57:50: note: Function 'tsbuffer_send_iso_cycle' argument 1 names different: declaration 'self' definition 'this'. libiec61883-1.2.0/src/tsbuffer.c:348:37: note: Function 'tsbuffer_send_iso_cycle' argument 1 names different: declaration 'self' definition 'this'. libiec61883-1.2.0/src/tsbuffer.c:440:28: style:inconclusive: Function 'tsbuffer_close' argument 1 names different: declaration 'self' definition 'this'. [funcArgNamesDifferent] libiec61883-1.2.0/src/tsbuffer.h:37:28: note: Function 'tsbuffer_close' argument 1 names different: declaration 'self' definition 'this'. libiec61883-1.2.0/src/tsbuffer.c:440:28: note: Function 'tsbuffer_close' argument 1 names different: declaration 'self' definition 'this'. libiec61883-1.2.0/src/plug.c:216:2: warning: Possible null pointer dereference: response [nullPointer] libiec61883-1.2.0/src/plug.c:179:24: note: Assignment 'response=NULL', assigned value is 0 libiec61883-1.2.0/src/plug.c:184:41: note: Assuming condition is false libiec61883-1.2.0/src/plug.c:216:2: note: Null pointer dereference libiec61883-1.2.0/src/plug.c:220:2: warning: Possible null pointer dereference: response [nullPointer] libiec61883-1.2.0/src/plug.c:179:24: note: Assignment 'response=NULL', assigned value is 0 libiec61883-1.2.0/src/plug.c:184:41: note: Assuming condition is false libiec61883-1.2.0/src/plug.c:220:2: note: Null pointer dereference libiec61883-1.2.0/src/plug.c:223:2: warning: Possible null pointer dereference: response [nullPointer] libiec61883-1.2.0/src/plug.c:179:24: note: Assignment 'response=NULL', assigned value is 0 libiec61883-1.2.0/src/plug.c:184:41: note: Assuming condition is false libiec61883-1.2.0/src/plug.c:223:2: note: Null pointer dereference libiec61883-1.2.0/src/plug.c:125:65: style: Parameter 'arm_req' can be declared as pointer to const [constParameterPointer] libiec61883-1.2.0/src/plug.c:126:28: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] libiec61883-1.2.0/src/plug.c:244:39: style: Parameter 'arm_req_resp' can be declared as pointer to const. However it seems that 'iec61883_arm_callback' is a callback function, if 'arm_req_resp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libiec61883-1.2.0/src/plug.c:370:58: note: You might need to cast the function pointer here libiec61883-1.2.0/src/plug.c:244:39: note: Parameter 'arm_req_resp' can be declared as pointer to const libiec61883-1.2.0/src/plug.c:246:8: style: Parameter 'pcontext' can be declared as pointer to const. However it seems that 'iec61883_arm_callback' is a callback function, if 'pcontext' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libiec61883-1.2.0/src/plug.c:370:58: note: You might need to cast the function pointer here libiec61883-1.2.0/src/plug.c:246:8: note: Parameter 'pcontext' can be declared as pointer to const libiec61883-1.2.0/examples/plugctl.c:222:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EFAULT [valueFlowBailoutIncompleteVar] libiec61883-1.2.0/src/dv.c:153:16: style: Variable 'n_dif_blocks' is reassigned a value before the old one has been used. [redundantAssignment] libiec61883-1.2.0/src/dv.c:123:15: note: n_dif_blocks is assigned libiec61883-1.2.0/src/dv.c:153:16: note: n_dif_blocks is overwritten libiec61883-1.2.0/src/dv.c:369:40: style:inconclusive: Function 'iec61883_dv_fb_get_dv' argument 1 names different: declaration 'dvfb' definition 'fb'. [funcArgNamesDifferent] libiec61883-1.2.0/src/iec61883.h:587:40: note: Function 'iec61883_dv_fb_get_dv' argument 1 names different: declaration 'dvfb' definition 'fb'. libiec61883-1.2.0/src/dv.c:369:40: note: Function 'iec61883_dv_fb_get_dv' argument 1 names different: declaration 'dvfb' definition 'fb'. libiec61883-1.2.0/src/dv.c:375:40: style:inconclusive: Function 'iec61883_dv_fb_start' argument 1 names different: declaration 'dvfb' definition 'fb'. [funcArgNamesDifferent] libiec61883-1.2.0/src/iec61883.h:598:39: note: Function 'iec61883_dv_fb_start' argument 1 names different: declaration 'dvfb' definition 'fb'. libiec61883-1.2.0/src/dv.c:375:40: note: Function 'iec61883_dv_fb_start' argument 1 names different: declaration 'dvfb' definition 'fb'. libiec61883-1.2.0/src/dv.c:382:39: style:inconclusive: Function 'iec61883_dv_fb_stop' argument 1 names different: declaration 'dvfb' definition 'fb'. [funcArgNamesDifferent] libiec61883-1.2.0/src/iec61883.h:605:38: note: Function 'iec61883_dv_fb_stop' argument 1 names different: declaration 'dvfb' definition 'fb'. libiec61883-1.2.0/src/dv.c:382:39: note: Function 'iec61883_dv_fb_stop' argument 1 names different: declaration 'dvfb' definition 'fb'. libiec61883-1.2.0/src/dv.c:389:40: style:inconclusive: Function 'iec61883_dv_fb_close' argument 1 names different: declaration 'dvfb' definition 'fb'. [funcArgNamesDifferent] libiec61883-1.2.0/src/iec61883.h:612:39: note: Function 'iec61883_dv_fb_close' argument 1 names different: declaration 'dvfb' definition 'fb'. libiec61883-1.2.0/src/dv.c:389:40: note: Function 'iec61883_dv_fb_close' argument 1 names different: declaration 'dvfb' definition 'fb'. libiec61883-1.2.0/src/dv.c:481:49: style:inconclusive: Function 'iec61883_dv_fb_get_incomplete' argument 1 names different: declaration 'dvfb' definition 'fb'. [funcArgNamesDifferent] libiec61883-1.2.0/src/iec61883.h:623:48: note: Function 'iec61883_dv_fb_get_incomplete' argument 1 names different: declaration 'dvfb' definition 'fb'. libiec61883-1.2.0/src/dv.c:481:49: note: Function 'iec61883_dv_fb_get_incomplete' argument 1 names different: declaration 'dvfb' definition 'fb'. libiec61883-1.2.0/src/dv.c:488:52: style:inconclusive: Function 'iec61883_dv_fb_get_callback_data' argument 1 names different: declaration 'dvfb' definition 'fb'. [funcArgNamesDifferent] libiec61883-1.2.0/src/iec61883.h:637:51: note: Function 'iec61883_dv_fb_get_callback_data' argument 1 names different: declaration 'dvfb' definition 'fb'. libiec61883-1.2.0/src/dv.c:488:52: note: Function 'iec61883_dv_fb_get_callback_data' argument 1 names different: declaration 'dvfb' definition 'fb'. libiec61883-1.2.0/src/dv.c:284:28: style: Parameter 'data' can be declared as pointer to const. However it seems that 'dv_fb_recv' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libiec61883-1.2.0/src/dv.c:359:42: note: You might need to cast the function pointer here libiec61883-1.2.0/src/dv.c:284:28: note: Parameter 'data' can be declared as pointer to const libiec61883-1.2.0/src/amdtp.c:400:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/src/amdtp.c:125:19: style: Variable 'amdtp->dimension' is reassigned a value before the old one has been used. [redundantAssignment] libiec61883-1.2.0/src/amdtp.c:115:20: note: amdtp->dimension is assigned libiec61883-1.2.0/src/amdtp.c:125:19: note: amdtp->dimension is overwritten libiec61883-1.2.0/src/amdtp.c:206:19: style: Variable 'label' is assigned a value that is never used. [unreadVariable] libiec61883-1.2.0/src/cmp.c:1018:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/src/cmp.c:34:63: style:inconclusive: Function 'iec61883_cmp_calc_bandwidth' argument 2 names different: declaration 'output' definition 'from'. [funcArgNamesDifferent] libiec61883-1.2.0/src/iec61883.h:892:63: note: Function 'iec61883_cmp_calc_bandwidth' argument 2 names different: declaration 'output' definition 'from'. libiec61883-1.2.0/src/cmp.c:34:63: note: Function 'iec61883_cmp_calc_bandwidth' argument 2 names different: declaration 'output' definition 'from'. libiec61883-1.2.0/src/cmp.c:991:29: style: Variable 'swap' is assigned a value that is never used. [unreadVariable] libiec61883-1.2.0/examples/plugctl.c:364:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugctl.c:366:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugctl.c:368:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugctl.c:370:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugctl.c:372:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugctl.c:374:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugctl.c:385:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugctl.c:387:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugctl.c:389:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugctl.c:391:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugctl.c:393:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugctl.c:395:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugctl.c:407:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugctl.c:409:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugctl.c:411:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugctl.c:413:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugctl.c:415:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugctl.c:417:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugctl.c:419:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugctl.c:421:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugctl.c:433:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugctl.c:435:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugctl.c:437:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugctl.c:439:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugctl.c:441:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugctl.c:443:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libiec61883-1.2.0/examples/plugctl.c:235:30: warning: If memory allocation fails, then there is a possible null pointer dereference: plug [nullPointerOutOfMemory] libiec61883-1.2.0/examples/plugctl.c:234:24: note: Assuming allocation function fails libiec61883-1.2.0/examples/plugctl.c:234:24: note: Assignment 'plug=strdup(argv[i])', assigned value is 0 libiec61883-1.2.0/examples/plugctl.c:235:30: note: Null pointer dereference diff: DONE