2024-04-23 16:19 ftp://ftp.de.debian.org/debian/pool/main/a/audiotools/audiotools_3.1.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=python --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: 24be0e5 (2024-04-23 14:04:36 +0200) count: 550 550 elapsed-time: 39.4 39.8 head-timing-info: old-timing-info: head results: audiotools-3.1.1/src/accuraterip.c:46:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyType_GenericNew [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/accuraterip.c:103:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/accuraterip.c:203:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/accuraterip.c:316:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/accuraterip.c:350:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream-table.c:134:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/accuraterip.c:51:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/bitstream-table.c:306:1: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] audiotools-3.1.1/src/bitstream-table.c:307:1: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] audiotools-3.1.1/src/bitstream-table.c:125:26: style: Parameter 'argv' can be declared as const array [constParameter] audiotools-3.1.1/src/bitstream-table.c:133:26: style: Variable 'long_options' can be declared as const array [constVariable] audiotools-3.1.1/src/buffer.h:116:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/cdiomodule.c:50:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyType_GenericNew [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/cdiomodule.c:91:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IOError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/cdiomodule.c:153:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IOError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/cdiomodule.c:169:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IOError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/cdiomodule.c:456:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/cdiomodule.c:506:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CDIO_CD_FRAMESIZE_RAW [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/cdiomodule.c:569:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/cdiomodule.c:613:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/cdiomodule.c:627:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/cdiomodule.c:775:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/cdiomodule.c:55:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/cdiomodule.c:272:52: style: Parameter 'self' can be declared as pointer to const. However it seems that 'CDDAReader_first_track_num_device' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/cdiomodule.c:180:30: note: You might need to cast the function pointer here audiotools-3.1.1/src/cdiomodule.c:272:52: note: Parameter 'self' can be declared as pointer to const audiotools-3.1.1/src/cdiomodule.c:632:45: style: Parameter 'self' can be declared as pointer to const. However it seems that 'CDDAReader_set_speed_image' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/cdiomodule.c:139:23: note: You might need to cast the function pointer here audiotools-3.1.1/src/cdiomodule.c:632:45: note: Parameter 'self' can be declared as pointer to const audiotools-3.1.1/src/bitstream.c:730:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:790:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:902:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:943:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1376:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1378:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1380:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1382:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1384:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1386:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1388:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1390:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1392:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1394:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1396:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1398:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1400:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1402:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1404:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1406:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1510:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1512:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1514:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1516:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1564:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1566:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1568:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1570:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1709:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1710:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1711:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1712:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1754:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1755:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1756:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1757:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1833:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1835:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1837:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1839:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1841:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1843:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1845:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1847:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1883:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1885:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1887:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1889:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1891:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1893:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1895:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:1897:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:2059:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:2060:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:2061:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:2062:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:2583:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:2628:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:2711:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:2742:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:3217:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:3219:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:3221:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:3223:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:3225:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:3227:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:3275:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:3277:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:3279:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:3281:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:3283:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:3285:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:3400:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:3402:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:3404:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:3479:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:3481:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:3483:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:4329:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:4375:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:4774:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:4854:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:4898:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:4929:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:5167:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/bitstream.c:5168:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/common/m4a_atoms.c:2603:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parse_tree [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/common/m4a_atoms.c:2060:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] audiotools-3.1.1/src/common/m4a_atoms.c:356:22: style: Parameter 'padding' can be declared as pointer to const [constParameterPointer] audiotools-3.1.1/src/common/m4a_atoms.c:466:21: style: Parameter 'vendor' can be declared as const array [constParameter] audiotools-3.1.1/src/common/m4a_atoms.c:2690:15: style: Variable 'field_label' can be declared as pointer to const [constVariablePointer] audiotools-3.1.1/src/common/m4a_atoms.c:2717:27: style: Variable 'array' can be declared as pointer to const [constVariablePointer] audiotools-3.1.1/src/common/m4a_atoms.c:2732:27: style: Variable 'array' can be declared as pointer to const [constVariablePointer] audiotools-3.1.1/src/common/m4a_atoms.c:2747:23: style: Variable 'array' can be declared as pointer to const [constVariablePointer] audiotools-3.1.1/src/common/m4a_atoms.c:2762:26: style: Variable 'array' can be declared as pointer to const [constVariablePointer] audiotools-3.1.1/src/common/m4a_atoms.c:2649:22: error: Uninitialized variable: &key.parser [uninitvar] audiotools-3.1.1/src/common/md5.c:220:45: style:inconclusive: Function 'audiotools__MD5Init' argument 1 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] audiotools-3.1.1/src/common/md5.h:41:45: note: Function 'audiotools__MD5Init' argument 1 names different: declaration 'context' definition 'ctx'. audiotools-3.1.1/src/common/md5.c:220:45: note: Function 'audiotools__MD5Init' argument 1 names different: declaration 'context' definition 'ctx'. audiotools-3.1.1/src/common/md5.c:199:9: portability: 'buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] audiotools-3.1.1/src/common/md5.c:207:13: portability: 'buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] audiotools-3.1.1/src/bitstream.c:4230:21: style: Condition 'bw_buf_fseek(self->output.string_recorder,position,whence)' is always false [knownConditionTrueFalse] audiotools-3.1.1/src/bitstream.c:4230:21: note: Calling function 'bw_buf_fseek' returns 0 audiotools-3.1.1/src/bitstream.c:4230:21: note: Condition 'bw_buf_fseek(self->output.string_recorder,position,whence)' is always false audiotools-3.1.1/src/decoders.c:51:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyType_GenericNew [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders.c:104:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/decoders.c:108:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/decoders.c:136:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/decoders.c:140:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/decoders.c:144:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/decoders.c:148:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/decoders.c:152:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/bitstream.c:719:35: warning: Possible null pointer dereference: data [nullPointer] audiotools-3.1.1/src/bitstream.c:2457:49: note: Calling function 'br_open_buffer', 1st argument 'NULL' value is 0 audiotools-3.1.1/src/bitstream.c:1129:37: note: Calling function 'br_buf_extend', 2nd argument 'buffer' value is 0 audiotools-3.1.1/src/bitstream.c:719:35: note: Null pointer dereference audiotools-3.1.1/src/bitstream.c:3618:31: style:inconclusive: Function 'bw_write_bytes_a' argument 3 names different: declaration 'count' definition 'byte_count'. [funcArgNamesDifferent] audiotools-3.1.1/src/bitstream.c:434:1: note: Function 'bw_write_bytes_a' argument 3 names different: declaration 'count' definition 'byte_count'. audiotools-3.1.1/src/bitstream.c:3618:31: note: Function 'bw_write_bytes_a' argument 3 names different: declaration 'count' definition 'byte_count'. audiotools-3.1.1/src/bitstream.c:3686:32: style:inconclusive: Function 'bw_write_bytes_la' argument 3 names different: declaration 'count' definition 'byte_count'. [funcArgNamesDifferent] audiotools-3.1.1/src/bitstream.c:435:1: note: Function 'bw_write_bytes_la' argument 3 names different: declaration 'count' definition 'byte_count'. audiotools-3.1.1/src/bitstream.c:3686:32: note: Function 'bw_write_bytes_la' argument 3 names different: declaration 'count' definition 'byte_count'. audiotools-3.1.1/src/bitstream.c:4065:32: style:inconclusive: Function 'bw_byte_align' argument 1 names different: declaration 'self' definition 'bs'. [funcArgNamesDifferent] audiotools-3.1.1/src/bitstream.c:455:1: note: Function 'bw_byte_align' argument 1 names different: declaration 'self' definition 'bs'. audiotools-3.1.1/src/bitstream.c:4065:32: note: Function 'bw_byte_align' argument 1 names different: declaration 'self' definition 'bs'. audiotools-3.1.1/src/bitstream.c:4074:34: style:inconclusive: Function 'bw_byte_align_a' argument 1 names different: declaration 'self' definition 'bs'. [funcArgNamesDifferent] audiotools-3.1.1/src/bitstream.c:457:1: note: Function 'bw_byte_align_a' argument 1 names different: declaration 'self' definition 'bs'. audiotools-3.1.1/src/bitstream.c:4074:34: note: Function 'bw_byte_align_a' argument 1 names different: declaration 'self' definition 'bs'. audiotools-3.1.1/src/bitstream.c:4637:31: style:inconclusive: Function 'bw_write_bytes_r' argument 3 names different: declaration 'count' definition 'byte_count'. [funcArgNamesDifferent] audiotools-3.1.1/src/bitstream.c:432:1: note: Function 'bw_write_bytes_r' argument 3 names different: declaration 'count' definition 'byte_count'. audiotools-3.1.1/src/bitstream.c:4637:31: note: Function 'bw_write_bytes_r' argument 3 names different: declaration 'count' definition 'byte_count'. audiotools-3.1.1/src/bitstream.c:4700:34: style:inconclusive: Function 'bw_byte_align_r' argument 1 names different: declaration 'self' definition 'bs'. [funcArgNamesDifferent] audiotools-3.1.1/src/bitstream.c:456:1: note: Function 'bw_byte_align_r' argument 1 names different: declaration 'self' definition 'bs'. audiotools-3.1.1/src/bitstream.c:4700:34: note: Function 'bw_byte_align_r' argument 1 names different: declaration 'self' definition 'bs'. audiotools-3.1.1/src/bitstream.c:851:31: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] audiotools-3.1.1/src/bitstream.c:2346:49: style: Parameter 'pos' can be declared as pointer to const. However it seems that 'br_setpos_file' is a callback function, if 'pos' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/bitstream.c:1109:18: note: You might need to cast the function pointer here audiotools-3.1.1/src/bitstream.c:2346:49: note: Parameter 'pos' can be declared as pointer to const audiotools-3.1.1/src/bitstream.c:2562:45: style: Parameter 'self' can be declared as pointer to const. However it seems that 'br_close_internal_stream_c' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/bitstream.c:2522:35: note: You might need to cast the function pointer here audiotools-3.1.1/src/bitstream.c:2562:45: note: Parameter 'self' can be declared as pointer to const audiotools-3.1.1/src/bitstream.c:3806:38: style: Parameter 'self' can be declared as pointer to const. However it seems that 'bw_set_endianness_a' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/bitstream.c:3093:30: note: You might need to cast the function pointer here audiotools-3.1.1/src/bitstream.c:3806:38: note: Parameter 'self' can be declared as pointer to const audiotools-3.1.1/src/bitstream.c:4088:32: style: Parameter 'self' can be declared as pointer to const. However it seems that 'bw_flush_noop' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/bitstream.c:4276:19: note: You might need to cast the function pointer here audiotools-3.1.1/src/bitstream.c:4088:32: note: Parameter 'self' can be declared as pointer to const audiotools-3.1.1/src/bitstream.c:4296:46: style: Parameter 'self' can be declared as pointer to const. However it seems that 'bw_close_internal_stream_cf' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/bitstream.c:4310:35: note: You might need to cast the function pointer here audiotools-3.1.1/src/bitstream.c:4296:46: note: Parameter 'self' can be declared as pointer to const audiotools-3.1.1/src/bitstream.c:5108:43: style: Parameter 'self' can be declared as pointer to const. However it seems that 'reset_noop' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/bitstream.c:4677:20: note: You might need to cast the function pointer here audiotools-3.1.1/src/bitstream.c:5108:43: note: Parameter 'self' can be declared as pointer to const audiotools-3.1.1/src/bitstream.c:2730:14: error: Uninitialized struct member: node.env [uninitStructMember] audiotools-3.1.1/src/bitstream.c:4917:14: error: Uninitialized struct member: node.env [uninitStructMember] audiotools-3.1.1/src/decoders/alac.c:206:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/alac.c:379:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/alac.c:436:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/alac.c:508:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/alac.c:526:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/alac.c:649:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/flac.c:302:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/flac.c:456:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/flac.c:472:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/flac.c:509:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/flac.c:604:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/flac.c:722:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/flac.c:863:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/flac.c:1755:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/mp3.c:54:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/mp3.c:134:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/mp3.c:172:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/mp3.c:187:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/mp3.c:97:49: style: Parameter 'self' can be declared as pointer to const. However it seems that 'MP3Decoder_bits_per_sample' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/decoders/mp3.h:76:14: note: You might need to cast the function pointer here audiotools-3.1.1/src/decoders/mp3.c:97:49: note: Parameter 'self' can be declared as pointer to const audiotools-3.1.1/src/decoders/mp3.c:97:61: style: Parameter 'closure' can be declared as pointer to const. However it seems that 'MP3Decoder_bits_per_sample' is a callback function, if 'closure' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/decoders/mp3.h:76:14: note: You might need to cast the function pointer here audiotools-3.1.1/src/decoders/mp3.c:97:61: note: Parameter 'closure' can be declared as pointer to const audiotools-3.1.1/src/decoders/mp3.c:109:46: style: Parameter 'self' can be declared as pointer to const. However it seems that 'MP3Decoder_channel_mask' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/decoders/mp3.h:80:14: note: You might need to cast the function pointer here audiotools-3.1.1/src/decoders/mp3.c:109:46: note: Parameter 'self' can be declared as pointer to const audiotools-3.1.1/src/decoders/mp3.c:109:58: style: Parameter 'closure' can be declared as pointer to const. However it seems that 'MP3Decoder_channel_mask' is a callback function, if 'closure' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/decoders/mp3.h:80:14: note: You might need to cast the function pointer here audiotools-3.1.1/src/decoders/mp3.c:109:58: note: Parameter 'closure' can be declared as pointer to const audiotools-3.1.1/src/decoders/oggflac.c:74:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/oggflac.c:157:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/oggflac.c:279:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/oggflac.c:295:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/oggflac.c:347:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/oggflac.c:339:42: style:inconclusive: Function 'oggflac_read_streaminfo' argument 1 names different: declaration 'bitstream' definition 'packet'. [funcArgNamesDifferent] audiotools-3.1.1/src/decoders/oggflac.h:172:42: note: Function 'oggflac_read_streaminfo' argument 1 names different: declaration 'bitstream' definition 'packet'. audiotools-3.1.1/src/decoders/oggflac.c:339:42: note: Function 'oggflac_read_streaminfo' argument 1 names different: declaration 'bitstream' definition 'packet'. audiotools-3.1.1/src/decoders/alac.c:324:48: style: Parameter 'self' can be declared as pointer to const. However it seems that 'ALACDecoder_channel_mask' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/decoders/alac.h:113:14: note: You might need to cast the function pointer here audiotools-3.1.1/src/decoders/alac.c:324:48: note: Parameter 'self' can be declared as pointer to const audiotools-3.1.1/src/decoders/opus.c:49:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/opus.c:167:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/opus.c:287:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/opus.c:302:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/opus.c:97:48: style: Parameter 'self' can be declared as pointer to const. However it seems that 'OpusDecoder_channel_mask' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/decoders/opus.h:76:14: note: You might need to cast the function pointer here audiotools-3.1.1/src/decoders/opus.c:97:48: note: Parameter 'self' can be declared as pointer to const audiotools-3.1.1/src/decoders/sine.c:57:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/sine.c:107:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/sine.c:143:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/sine.c:153:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/sine.c:169:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/sine.c:222:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/sine.c:272:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/sine.c:310:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/sine.c:320:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/sine.c:336:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/sine.c:380:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/sine.c:430:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/sine.c:466:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/sine.c:476:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/sine.c:492:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/sine.c:552:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/sine.c:611:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/sine.c:644:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/sine.c:654:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/sine.c:670:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/sine.c:174:40: style: Parameter 'self' can be declared as pointer to const. However it seems that 'Sine_Mono_channels' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/decoders/sine.h:95:14: note: You might need to cast the function pointer here audiotools-3.1.1/src/decoders/sine.c:174:40: note: Parameter 'self' can be declared as pointer to const audiotools-3.1.1/src/decoders/sine.c:174:52: style: Parameter 'closure' can be declared as pointer to const. However it seems that 'Sine_Mono_channels' is a callback function, if 'closure' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/decoders/sine.h:95:14: note: You might need to cast the function pointer here audiotools-3.1.1/src/decoders/sine.c:174:52: note: Parameter 'closure' can be declared as pointer to const audiotools-3.1.1/src/decoders/sine.c:189:44: style: Parameter 'self' can be declared as pointer to const. However it seems that 'Sine_Mono_channel_mask' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/decoders/sine.h:101:14: note: You might need to cast the function pointer here audiotools-3.1.1/src/decoders/sine.c:189:44: note: Parameter 'self' can be declared as pointer to const audiotools-3.1.1/src/decoders/sine.c:189:56: style: Parameter 'closure' can be declared as pointer to const. However it seems that 'Sine_Mono_channel_mask' is a callback function, if 'closure' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/decoders/sine.h:101:14: note: You might need to cast the function pointer here audiotools-3.1.1/src/decoders/sine.c:189:56: note: Parameter 'closure' can be declared as pointer to const audiotools-3.1.1/src/decoders/sine.c:341:44: style: Parameter 'self' can be declared as pointer to const. However it seems that 'Sine_Stereo_channels' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/decoders/sine.h:219:14: note: You might need to cast the function pointer here audiotools-3.1.1/src/decoders/sine.c:341:44: note: Parameter 'self' can be declared as pointer to const audiotools-3.1.1/src/decoders/sine.c:341:56: style: Parameter 'closure' can be declared as pointer to const. However it seems that 'Sine_Stereo_channels' is a callback function, if 'closure' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/decoders/sine.h:219:14: note: You might need to cast the function pointer here audiotools-3.1.1/src/decoders/sine.c:341:56: note: Parameter 'closure' can be declared as pointer to const audiotools-3.1.1/src/decoders/sine.c:356:48: style: Parameter 'self' can be declared as pointer to const. However it seems that 'Sine_Stereo_channel_mask' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/decoders/sine.h:225:14: note: You might need to cast the function pointer here audiotools-3.1.1/src/decoders/sine.c:356:48: note: Parameter 'self' can be declared as pointer to const audiotools-3.1.1/src/decoders/sine.c:356:60: style: Parameter 'closure' can be declared as pointer to const. However it seems that 'Sine_Stereo_channel_mask' is a callback function, if 'closure' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/decoders/sine.h:225:14: note: You might need to cast the function pointer here audiotools-3.1.1/src/decoders/sine.c:356:60: note: Parameter 'closure' can be declared as pointer to const audiotools-3.1.1/src/decoders/sine.c:497:44: style: Parameter 'self' can be declared as pointer to const. However it seems that 'Sine_Simple_channels' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/decoders/sine.h:340:14: note: You might need to cast the function pointer here audiotools-3.1.1/src/decoders/sine.c:497:44: note: Parameter 'self' can be declared as pointer to const audiotools-3.1.1/src/decoders/sine.c:497:56: style: Parameter 'closure' can be declared as pointer to const. However it seems that 'Sine_Simple_channels' is a callback function, if 'closure' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/decoders/sine.h:340:14: note: You might need to cast the function pointer here audiotools-3.1.1/src/decoders/sine.c:497:56: note: Parameter 'closure' can be declared as pointer to const audiotools-3.1.1/src/decoders/sine.c:512:48: style: Parameter 'self' can be declared as pointer to const. However it seems that 'Sine_Simple_channel_mask' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/decoders/sine.h:346:14: note: You might need to cast the function pointer here audiotools-3.1.1/src/decoders/sine.c:512:48: note: Parameter 'self' can be declared as pointer to const audiotools-3.1.1/src/decoders/sine.c:512:60: style: Parameter 'closure' can be declared as pointer to const. However it seems that 'Sine_Simple_channel_mask' is a callback function, if 'closure' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/decoders/sine.h:346:14: note: You might need to cast the function pointer here audiotools-3.1.1/src/decoders/sine.c:512:60: note: Parameter 'closure' can be declared as pointer to const audiotools-3.1.1/src/decoders/vorbis.c:72:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/vorbis.c:174:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/vorbis.c:321:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/vorbis.c:337:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/tta.c:272:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/tta.c:342:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/tta.c:404:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/tta.c:422:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/tta.c:763:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/vorbis.c:54:18: style: Variable 'info' can be declared as pointer to const [constVariablePointer] audiotools-3.1.1/src/decoders/vorbis.c:122:52: style: Parameter 'self' can be declared as pointer to const. However it seems that 'VorbisDecoder_channel_mask' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/decoders/vorbis.h:77:30: note: You might need to cast the function pointer here audiotools-3.1.1/src/decoders/vorbis.c:122:52: note: Parameter 'self' can be declared as pointer to const audiotools-3.1.1/src/decoders/wavpack.c:62:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IOError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/wavpack.c:125:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/wavpack.c:141:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/wavpack.c:155:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/wavpack.c:220:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/decoders/tta.c:256:46: style: Parameter 'self' can be declared as pointer to const. However it seems that 'TTADecoder_channel_mask' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/decoders/tta.h:100:14: note: You might need to cast the function pointer here audiotools-3.1.1/src/decoders/tta.c:256:46: note: Parameter 'self' can be declared as pointer to const audiotools-3.1.1/src/decoders/tta.c:256:58: style: Parameter 'closure' can be declared as pointer to const. However it seems that 'TTADecoder_channel_mask' is a callback function, if 'closure' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/decoders/tta.h:100:14: note: You might need to cast the function pointer here audiotools-3.1.1/src/decoders/tta.c:256:58: note: Parameter 'closure' can be declared as pointer to const audiotools-3.1.1/src/dither.c:96:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BS_BIG_ENDIAN [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/dither.c:75:23: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'close_os_random' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/dither.c:103:33: note: You might need to cast the function pointer here audiotools-3.1.1/src/dither.c:75:23: note: Parameter 'user_data' can be declared as pointer to const audiotools-3.1.1/src/dvdamodule.c:37:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyType_GenericNew [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/dvdamodule.c:101:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IOError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/dvdamodule.c:165:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IndexError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/dvdamodule.c:241:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IndexError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/dvdamodule.c:323:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IndexError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/dvdamodule.c:409:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IOError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/dvdamodule.c:442:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/dvdamodule.c:478:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/dvdamodule.c:493:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/dvdamodule.c:58:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/dvdamodule.c:61:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/dvdamodule.c:64:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/dvdamodule.c:67:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/dvdamodule.c:70:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/encoders.c:29:15: style: Variable 'm' can be declared as pointer to const [constVariablePointer] audiotools-3.1.1/src/encoders.c:31:5: style: Variable 'm' is assigned a value that is never used. [unreadVariable] audiotools-3.1.1/src/encoders/flac.c:670:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/encoders/flac.c:1903:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/encoders/alac.c:91:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/encoders/alac.c:218:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IOError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/encoders/alac.c:1420:30: style: Same expression on both sides of '-='. [duplicateExpression] audiotools-3.1.1/src/encoders/alac.c:1441:27: style:inconclusive: Function 'write_metadata' argument 13 names different: declaration 'version' definition 'encoder_version'. [funcArgNamesDifferent] audiotools-3.1.1/src/encoders/alac.h:256:27: note: Function 'write_metadata' argument 13 names different: declaration 'version' definition 'encoder_version'. audiotools-3.1.1/src/encoders/alac.c:1441:27: note: Function 'write_metadata' argument 13 names different: declaration 'version' definition 'encoder_version'. audiotools-3.1.1/src/encoders/alac.c:260:18: style: Local variable 'total_pcm_frames' shadows outer argument [shadowArgument] audiotools-3.1.1/src/encoders/alac.c:161:22: note: Shadowed declaration audiotools-3.1.1/src/encoders/alac.c:260:18: note: Shadow variable audiotools-3.1.1/src/encoders/alac.c:670:47: style: Parameter 'encoder' can be declared as pointer to const [constParameterPointer] audiotools-3.1.1/src/encoders/alac.c:1477:24: style: Variable 'latest_entry' can be declared as pointer to const [constVariablePointer] audiotools-3.1.1/src/encoders/flac.c:1944:49: warning: Invalid log2() argument nr 1. The value is 0 but the valid values are '4.94066e-324:'. [invalidFunctionArg] audiotools-3.1.1/src/encoders/flac.c:1934:28: note: Assignment 'max_lp_coeff=0.0', assigned value is 0.0 audiotools-3.1.1/src/encoders/flac.c:1938:19: note: Assuming condition is false audiotools-3.1.1/src/encoders/flac.c:1944:49: note: Invalid argument audiotools-3.1.1/src/encoders/flac.c:520:20: warning: Either the condition 'tempfile' is redundant or there is possible null pointer dereference: tempfile. [nullPointerRedundantCheck] audiotools-3.1.1/src/encoders/flac.c:516:13: note: Assuming that condition 'tempfile' is not redundant audiotools-3.1.1/src/encoders/flac.c:520:20: note: Null pointer dereference audiotools-3.1.1/src/encoders/flac.c:520:20: error: Null pointer dereference [nullPointer] audiotools-3.1.1/src/encoders/flac.c:341:31: style: Parameter 'output' can be declared as pointer to const [constParameterPointer] audiotools-3.1.1/src/encoders/flac.c:1944:32: error: Undefined behaviour: float (-inf) to integer conversion overflow. [floatConversionOverflow] audiotools-3.1.1/src/encoders/flac.c:1934:28: note: Assignment 'max_lp_coeff=0.0', assigned value is 0.0 audiotools-3.1.1/src/encoders/flac.c:1938:19: note: Assuming condition is false audiotools-3.1.1/src/encoders/flac.c:1944:32: note: float to integer conversion audiotools-3.1.1/src/encoders/flac.c:1468:40: style: Variable 'smallest_subframe_size' is assigned a value that is never used. [unreadVariable] audiotools-3.1.1/src/encoders/mp2.c:56:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/encoders/mp3.c:58:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/encoders/opus.c:86:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/encoders/opus.c:178:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPUS_APPLICATION_AUDIO [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/encoders/tta.c:518:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/encoders/opus.c:143:24: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] audiotools-3.1.1/src/encoders/vorbis.c:89:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/encoders/vorbis.c:115:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/encoders/wavpack.c:84:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/encoders/wavpack.c:183:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WavpackConfig [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/encoders/vorbis.c:164:25: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] audiotools-3.1.1/src/func_io.c:121:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/func_io.c:298:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/func_io.c:330:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/func_io.c:346:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/func_io.c:370:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/func_io.c:378:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/func_io.c:391:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mini-gmp.c:247:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:42:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyType_GenericNew [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:141:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IOError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:194:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IOError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:219:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:234:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:249:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:277:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:287:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:307:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:335:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:359:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:387:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:427:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IOError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:435:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_LT [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:458:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_GE [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:557:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IOError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:566:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_GE [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:696:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:714:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:737:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IOError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:765:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_GT [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:785:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_LT [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:812:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:963:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:989:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IndexError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:1004:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:1029:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:1103:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:1175:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:1209:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:1377:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IOError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:1408:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:1492:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_LE [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:1545:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:1549:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:1628:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IOError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:1688:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IOError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:1706:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:1736:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:1759:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:1781:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:1818:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:1837:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:1870:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:1897:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:1908:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:1929:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:1953:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:1980:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IndexError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:1996:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:2021:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IOError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:2051:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:2072:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:2100:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:2126:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:2153:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:2192:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:2215:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:2251:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:2279:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:2292:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:2314:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:2362:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:2372:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:2406:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:2432:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:2460:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IndexError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:2477:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:2503:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IOError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:2542:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:2551:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:2630:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:2762:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:2860:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IndexError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_bitstream.c:67:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/mod_bitstream.c:71:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/mod_bitstream.c:75:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/mod_bitstream.c:79:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/mod_bitstream.c:83:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/mod_bitstream.c:87:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/mod_bitstream.c:1600:19: style: Local variable 'value' shadows outer argument [shadowArgument] audiotools-3.1.1/src/mod_bitstream.c:1555:67: note: Shadowed declaration audiotools-3.1.1/src/mod_bitstream.c:1600:19: note: Shadow variable audiotools-3.1.1/src/mod_bitstream.c:1660:19: style: Local variable 'value' shadows outer argument [shadowArgument] audiotools-3.1.1/src/mod_bitstream.c:1634:65: note: Shadowed declaration audiotools-3.1.1/src/mod_bitstream.c:1660:19: note: Shadow variable audiotools-3.1.1/src/mod_bitstream.c:799:49: style: Parameter 'self' can be declared as pointer to const. However it seems that 'BitstreamReader_seek' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/mod_bitstream.h:233:27: note: You might need to cast the function pointer here audiotools-3.1.1/src/mod_bitstream.c:799:49: note: Parameter 'self' can be declared as pointer to const audiotools-3.1.1/src/mod_bitstream.c:1798:63: style: Parameter 'self' can be declared as pointer to const. However it seems that 'BitstreamWriter_write_huffman_code' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/mod_bitstream.h:562:18: note: You might need to cast the function pointer here audiotools-3.1.1/src/mod_bitstream.c:1798:63: note: Parameter 'self' can be declared as pointer to const audiotools-3.1.1/src/mod_ogg.c:80:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_ogg.c:148:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_ogg.c:174:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_ogg.c:200:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_ogg.c:228:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_ogg.c:250:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_ogg.c:274:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_ogg.c:302:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IndexError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_ogg.c:318:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_ogg.c:438:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_ogg.c:454:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_ogg.c:515:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_ogg.c:533:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_ogg.c:542:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_ogg.c:558:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_ogg.c:568:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyType_GenericNew [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/mod_ogg.c:581:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/mod_ogg.c:585:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/mod_ogg.c:589:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/mod_ogg.c:44:15: style: Variable 'err_occurred' can be declared as pointer to const [constVariablePointer] audiotools-3.1.1/src/mini-gmp.c:779:32: style:inconclusive: Boolean expression 'r==u1' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] audiotools-3.1.1/src/mini-gmp.c:2939:11: style:inconclusive: Boolean expression 's0->_mp_size!=0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] audiotools-3.1.1/src/mini-gmp.c:2939:29: style:inconclusive: Boolean expression 't0->_mp_size!=0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] audiotools-3.1.1/src/mini-gmp.c:3396:7: style:inconclusive: Boolean expression 'n->_mp_size!=0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] audiotools-3.1.1/src/mini-gmp.c:3426:38: style:inconclusive: Boolean expression 'j=0)', assigned value is less than 1 audiotools-3.1.1/src/mini-gmp.c:3963:13: note: Condition 'ux' is always false audiotools-3.1.1/src/mini-gmp.c:3968:10: style: Condition 'ux==0' is always true [knownConditionTrueFalse] audiotools-3.1.1/src/mini-gmp.c:3956:8: note: Assignment 'ux=-(unsigned long)(us>=0)', assigned value is less than 1 audiotools-3.1.1/src/mini-gmp.c:3962:9: note: Assuming condition is false audiotools-3.1.1/src/mini-gmp.c:3968:10: note: Condition 'ux==0' is always true audiotools-3.1.1/src/ogg.c:319:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IOError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/ogg.c:268:37: style:inconclusive: Function 'oggiterator_next_packet' argument 3 names different: declaration 'status' definition 'result'. [funcArgNamesDifferent] audiotools-3.1.1/src/ogg.h:96:37: note: Function 'oggiterator_next_packet' argument 3 names different: declaration 'status' definition 'result'. audiotools-3.1.1/src/ogg.c:268:37: note: Function 'oggiterator_next_packet' argument 3 names different: declaration 'status' definition 'result'. audiotools-3.1.1/src/mini-gmp.c:4327:23: warning: Expression 'un-1' can have a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversionCond] audiotools-3.1.1/src/mini-gmp.c:4316:12: note: Assuming that condition '(un)>=0' is not redundant audiotools-3.1.1/src/mini-gmp.c:4316:12: note: Assignment 'un=(un)>=0?(un):-(un)', assigned value is 0 audiotools-3.1.1/src/mini-gmp.c:4327:23: note: Negative value is converted to an unsigned value audiotools-3.1.1/src/output/alsa.c:53:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_PCM_FORMAT_S16_LE [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/alsa.c:238:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/alsa.c:406:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/alsa.c:415:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/alsa.c:423:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/alsa.c:443:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable snd_mixer_selem_channel_id_t [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/alsa.c:488:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/alsa.c:496:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/core_audio.c:71:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/core_audio.c:166:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/core_audio.c:183:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/core_audio.c:198:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/core_audio.c:219:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/core_audio.c:231:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/core_audio.c:239:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/core_audio.c:251:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/core_audio.c:313:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AudioDeviceID [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/core_audio.c:545:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noErr [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/core_audio.c:570:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noErr [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/sfifo.c:31:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/sfifo.c:86:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENODEV [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/sfifo.c:121:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENODEV [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/core_audio.c:609:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Float32 [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/core_audio.c:627:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Float32 [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/alsa.c:144:16: style: Variable 'error' is assigned a value that is never used. [unreadVariable] audiotools-3.1.1/src/output/alsa.c:148:23: style: Variable 'error' is assigned a value that is never used. [unreadVariable] audiotools-3.1.1/src/output/alsa.c:153:23: style: Variable 'error' is assigned a value that is never used. [unreadVariable] audiotools-3.1.1/src/output/alsa.c:160:23: style: Variable 'error' is assigned a value that is never used. [unreadVariable] audiotools-3.1.1/src/output/pulseaudio.c:89:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PA_SEEK_RELATIVE [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/pulseaudio.c:117:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PA_OPERATION_RUNNING [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/pulseaudio.c:145:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PA_OPERATION_RUNNING [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/pulseaudio.c:175:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PA_OPERATION_RUNNING [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/pulseaudio.c:221:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PA_OPERATION_RUNNING [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/pulseaudio.c:256:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PA_VOLUME_NORM [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/pulseaudio.c:301:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/pulseaudio.c:341:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/output/core_audio.c:180:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] audiotools-3.1.1/src/output/core_audio.c:454:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] audiotools-3.1.1/src/output/core_audio.c:501:43: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] audiotools-3.1.1/src/output/core_audio.c:180:26: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] audiotools-3.1.1/src/output/sfifo.c:79:53: style:inconclusive: Function 'sfifo_write' argument 2 names different: declaration 'buf' definition '_buf'. [funcArgNamesDifferent] audiotools-3.1.1/src/output/sfifo.h:85:53: note: Function 'sfifo_write' argument 2 names different: declaration 'buf' definition '_buf'. audiotools-3.1.1/src/output/sfifo.c:79:53: note: Function 'sfifo_write' argument 2 names different: declaration 'buf' definition '_buf'. audiotools-3.1.1/src/output/sfifo.c:114:46: style:inconclusive: Function 'sfifo_read' argument 2 names different: declaration 'buf' definition '_buf'. [funcArgNamesDifferent] audiotools-3.1.1/src/output/sfifo.h:86:46: note: Function 'sfifo_read' argument 2 names different: declaration 'buf' definition '_buf'. audiotools-3.1.1/src/output/sfifo.c:114:46: note: Function 'sfifo_read' argument 2 names different: declaration 'buf' definition '_buf'. audiotools-3.1.1/src/output/core_audio.c:89:15: style: Variable 'devnull' can be declared as pointer to const [constVariablePointer] audiotools-3.1.1/src/output/core_audio.c:189:25: style: Variable 'ao' can be declared as pointer to const [constVariablePointer] audiotools-3.1.1/src/output/core_audio.c:208:25: style: Variable 'ao' can be declared as pointer to const [constVariablePointer] audiotools-3.1.1/src/output/core_audio.c:558:34: style: Parameter 'ioNumberDataPackets' can be declared as pointer to const. However it seems that 'playProc' is a callback function, if 'ioNumberDataPackets' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/output/core_audio.c:548:43: note: You might need to cast the function pointer here audiotools-3.1.1/src/output/core_audio.c:558:34: note: Parameter 'ioNumberDataPackets' can be declared as pointer to const audiotools-3.1.1/src/parson.c:316:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/parson.c:127:31: style:inconclusive: Function 'is_utf' argument 1 names different: declaration 'string' definition 's'. [funcArgNamesDifferent] audiotools-3.1.1/src/parson.c:76:34: note: Function 'is_utf' argument 1 names different: declaration 'string' definition 's'. audiotools-3.1.1/src/parson.c:127:31: note: Function 'is_utf' argument 1 names different: declaration 'string' definition 's'. audiotools-3.1.1/src/parson.c:52:18: style: union member 'json_value_value::null' is never used. [unusedStructMember] audiotools-3.1.1/src/pcm.c:209:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcm.c:260:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcm.c:319:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_True [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcm.c:358:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IndexError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcm.c:372:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IndexError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcm.c:398:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IndexError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcm.c:456:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IndexError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcm.c:512:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcm.c:575:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcm.c:685:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcm.c:760:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcm.c:873:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcm.c:966:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcm.c:1088:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcm.c:1138:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcm.c:1183:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_True [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcm.c:1221:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IndexError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcm.c:1237:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IndexError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcm.c:1264:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IndexError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcm.c:1296:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcm.c:1325:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IndexError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcm.c:1378:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcm.c:1434:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcm.c:1504:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcm.c:1604:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcm.c:1687:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcm.c:1701:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyType_GenericNew [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcm.c:1710:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/pcm.c:1713:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/pcm.c:307:30: style: Parameter 'o' can be declared as pointer to const. However it seems that 'FrameList_len' is a callback function, if 'o' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/pcm.c:116:14: note: You might need to cast the function pointer here audiotools-3.1.1/src/pcm.c:307:30: note: Parameter 'o' can be declared as pointer to const audiotools-3.1.1/src/pcm.c:341:33: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] audiotools-3.1.1/src/pcm.c:341:51: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] audiotools-3.1.1/src/pcm.c:364:32: style: Parameter 'self' can be declared as pointer to const. However it seems that 'FrameList_frame' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/pcm.c:81:28: note: You might need to cast the function pointer here audiotools-3.1.1/src/pcm.c:364:32: note: Parameter 'self' can be declared as pointer to const audiotools-3.1.1/src/pcm.c:507:20: style: Variable 'b' can be declared as pointer to const [constVariablePointer] audiotools-3.1.1/src/pcm.c:569:20: style: Variable 'b' can be declared as pointer to const [constVariablePointer] audiotools-3.1.1/src/pcm.c:793:24: style: Variable 'list_frame' can be declared as pointer to const [constVariablePointer] audiotools-3.1.1/src/pcm.c:1169:40: style: Parameter 'o' can be declared as pointer to const. However it seems that 'FloatFrameList_len' is a callback function, if 'o' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/pcm.c:1005:14: note: You might need to cast the function pointer here audiotools-3.1.1/src/pcm.c:1169:40: note: Parameter 'o' can be declared as pointer to const audiotools-3.1.1/src/pcm.c:1207:43: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] audiotools-3.1.1/src/pcm.c:1207:66: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] audiotools-3.1.1/src/pcm.c:1229:42: style: Parameter 'self' can be declared as pointer to const. However it seems that 'FloatFrameList_frame' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/pcm.c:982:28: note: You might need to cast the function pointer here audiotools-3.1.1/src/pcm.c:1229:42: note: Parameter 'self' can be declared as pointer to const audiotools-3.1.1/src/pcm.c:1373:25: style: Variable 'b' can be declared as pointer to const [constVariablePointer] audiotools-3.1.1/src/pcm.c:1428:25: style: Variable 'b' can be declared as pointer to const [constVariablePointer] audiotools-3.1.1/src/pcm.c:1535:29: style: Variable 'list_frame' can be declared as pointer to const [constVariablePointer] audiotools-3.1.1/src/pcmconverter.c:154:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcmconverter.c:319:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcmconverter.c:360:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcmconverter.c:466:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcmconverter.c:552:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcmconverter.c:643:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcmconverter.c:725:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcmconverter.c:767:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcmconverter.c:785:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcmconverter.c:817:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcmconverter.c:880:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcmconverter.c:934:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcmconverter.c:966:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcmconverter.c:1029:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcmconverter.c:1083:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcmconverter.c:1095:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyType_GenericNew [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/replaygain.c:185:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/replaygain.c:240:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/replaygain.c:317:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/replaygain.c:346:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/replaygain.c:365:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/replaygain.c:449:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyType_GenericNew [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/replaygain.c:910:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/replaygain.c:966:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] audiotools-3.1.1/src/pcmconverter.c:1124:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/pcmconverter.c:1128:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/pcmconverter.c:1132:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/pcmconverter.c:1136:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/pcmconverter.c:1140:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/pcmconverter.c:1144:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/pcmconverter.c:1148:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/pcmconverter.c:105:42: style: Parameter 'self' can be declared as pointer to const. However it seems that 'Averager_channels' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/pcmconverter.h:61:26: note: You might need to cast the function pointer here audiotools-3.1.1/src/pcmconverter.c:105:42: note: Parameter 'self' can be declared as pointer to const audiotools-3.1.1/src/pcmconverter.c:105:54: style: Parameter 'closure' can be declared as pointer to const. However it seems that 'Averager_channels' is a callback function, if 'closure' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/pcmconverter.h:61:26: note: You might need to cast the function pointer here audiotools-3.1.1/src/pcmconverter.c:105:54: note: Parameter 'closure' can be declared as pointer to const audiotools-3.1.1/src/pcmconverter.c:111:46: style: Parameter 'self' can be declared as pointer to const. However it seems that 'Averager_channel_mask' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/pcmconverter.h:62:30: note: You might need to cast the function pointer here audiotools-3.1.1/src/pcmconverter.c:111:46: note: Parameter 'self' can be declared as pointer to const audiotools-3.1.1/src/pcmconverter.c:111:58: style: Parameter 'closure' can be declared as pointer to const. However it seems that 'Averager_channel_mask' is a callback function, if 'closure' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/pcmconverter.h:62:30: note: You might need to cast the function pointer here audiotools-3.1.1/src/pcmconverter.c:111:58: note: Parameter 'closure' can be declared as pointer to const audiotools-3.1.1/src/pcmconverter.c:212:44: style: Parameter 'self' can be declared as pointer to const. However it seems that 'Downmixer_channels' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/pcmconverter.h:151:26: note: You might need to cast the function pointer here audiotools-3.1.1/src/pcmconverter.c:212:44: note: Parameter 'self' can be declared as pointer to const audiotools-3.1.1/src/pcmconverter.c:212:56: style: Parameter 'closure' can be declared as pointer to const. However it seems that 'Downmixer_channels' is a callback function, if 'closure' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/pcmconverter.h:151:26: note: You might need to cast the function pointer here audiotools-3.1.1/src/pcmconverter.c:212:56: note: Parameter 'closure' can be declared as pointer to const audiotools-3.1.1/src/pcmconverter.c:218:48: style: Parameter 'self' can be declared as pointer to const. However it seems that 'Downmixer_channel_mask' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/pcmconverter.h:152:30: note: You might need to cast the function pointer here audiotools-3.1.1/src/pcmconverter.c:218:48: note: Parameter 'self' can be declared as pointer to const audiotools-3.1.1/src/pcmconverter.c:218:60: style: Parameter 'closure' can be declared as pointer to const. However it seems that 'Downmixer_channel_mask' is a callback function, if 'closure' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/pcmconverter.h:152:30: note: You might need to cast the function pointer here audiotools-3.1.1/src/pcmconverter.c:218:60: note: Parameter 'closure' can be declared as pointer to const audiotools-3.1.1/src/pcmconverter.c:471:47: style: Parameter 'self' can be declared as pointer to const. However it seems that 'Resampler_sample_rate' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] audiotools-3.1.1/src/pcmconverter.h:241:29: note: You might need to cast the function pointer here audiotools-3.1.1/src/pcmconverter.c:471:47: note: Parameter 'self' can be declared as pointer to const audiotools-3.1.1/src/replaygain.c:458:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/replaygain.c:462:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] audiotools-3.1.1/src/replaygain.c:794:25: style: Parameter 'Array' can be declared as pointer to const [constParameterPointer] audiotools-3.1.1/src/samplerate/samplerate.c:449:23: style:inconclusive: Function 'src_simple' argument 1 names different: declaration 'data' definition 'src_data'. [funcArgNamesDifferent] audiotools-3.1.1/src/samplerate/samplerate.h:116:27: note: Function 'src_simple' argument 1 names different: declaration 'data' definition 'src_data'. audiotools-3.1.1/src/samplerate/samplerate.c:449:23: note: Function 'src_simple' argument 1 names different: declaration 'data' definition 'src_data'. audiotools-3.1.1/src/samplerate/samplerate.c:449:37: style:inconclusive: Function 'src_simple' argument 2 names different: declaration 'converter_type' definition 'converter'. [funcArgNamesDifferent] audiotools-3.1.1/src/samplerate/samplerate.h:116:37: note: Function 'src_simple' argument 2 names different: declaration 'converter_type' definition 'converter'. audiotools-3.1.1/src/samplerate/samplerate.c:449:37: note: Function 'src_simple' argument 2 names different: declaration 'converter_type' definition 'converter'. audiotools-3.1.1/src/samplerate/samplerate.c:460:12: style: Variable 'src_state' is assigned a value that is never used. [unreadVariable] audiotools-3.1.1/src/samplerate/src_sinc.c:1135:46: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] audiotools-3.1.1/src/samplerate/src_sinc.c:359:18: style: Variable 'float_increment' is assigned a value that is never used. [unreadVariable] audiotools-3.1.1/src/samplerate/src_sinc.c:508:18: style: Variable 'float_increment' is assigned a value that is never used. [unreadVariable] audiotools-3.1.1/src/samplerate/src_sinc.c:662:18: style: Variable 'float_increment' is assigned a value that is never used. [unreadVariable] audiotools-3.1.1/src/samplerate/src_sinc.c:822:18: style: Variable 'float_increment' is assigned a value that is never used. [unreadVariable] audiotools-3.1.1/src/samplerate/src_sinc.c:1069:18: style: Variable 'float_increment' is assigned a value that is never used. [unreadVariable] diff: DONE