2024-03-28 01:02 ftp://ftp.de.debian.org/debian/pool/main/libm/libmpc/libmpc_0.1~r495.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-101-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.55 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.13.0 head-info: 98951f5 (2024-03-27 21:50:05 +0100) count: 208 145 elapsed-time: 32.7 172.1 head-timing-info: old-timing-info: head results: musepack_src_r495/common/crc32.c:39:67: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] musepack_src_r495/common/huffman-bcl.c:165:17: warning: Possible null pointer dereference: node_1 [nullPointer] musepack_src_r495/common/huffman-bcl.c:149:12: note: Assignment 'node_1=(struct huff_node_t*)0', assigned value is 0 musepack_src_r495/common/huffman-bcl.c:152:23: note: Assuming condition is false musepack_src_r495/common/huffman-bcl.c:165:17: note: Null pointer dereference musepack_src_r495/common/huffman-bcl.c:165:33: warning: Possible null pointer dereference: node_2 [nullPointer] musepack_src_r495/common/huffman-bcl.c:150:12: note: Assignment 'node_2=(struct huff_node_t*)0', assigned value is 0 musepack_src_r495/common/huffman-bcl.c:152:23: note: Assuming condition is false musepack_src_r495/common/huffman-bcl.c:165:33: note: Null pointer dereference musepack_src_r495/common/huffman-bcl.c:166:3: warning: Possible null pointer dereference: node_1 [nullPointer] musepack_src_r495/common/huffman-bcl.c:149:12: note: Assignment 'node_1=(struct huff_node_t*)0', assigned value is 0 musepack_src_r495/common/huffman-bcl.c:152:23: note: Assuming condition is false musepack_src_r495/common/huffman-bcl.c:166:3: note: Null pointer dereference musepack_src_r495/common/huffman-bcl.c:167:3: warning: Possible null pointer dereference: node_2 [nullPointer] musepack_src_r495/common/huffman-bcl.c:150:12: note: Assignment 'node_2=(struct huff_node_t*)0', assigned value is 0 musepack_src_r495/common/huffman-bcl.c:152:23: note: Assuming condition is false musepack_src_r495/common/huffman-bcl.c:167:3: note: Null pointer dereference musepack_src_r495/common/huffman-bcl.c:221:32: style: Unsigned expression 'i' can't be negative so it is unnecessary to test it. [unsignedPositive] musepack_src_r495/common/huffman-bcl.c:232:32: style: Unsigned expression 'i' can't be negative so it is unnecessary to test it. [unsignedPositive] musepack_src_r495/common/tags.c:872:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] musepack_src_r495/common/tags.c:1018:32: style: Local variable 'T' shadows outer variable [shadowVariable] musepack_src_r495/common/tags.c:102:24: note: Shadowed declaration musepack_src_r495/common/tags.c:1018:32: note: Shadow variable musepack_src_r495/common/tags.c:1020:32: style: Local variable 'TagCount' shadows outer variable [shadowVariable] musepack_src_r495/common/tags.c:103:24: note: Shadowed declaration musepack_src_r495/common/tags.c:1020:32: note: Shadow variable musepack_src_r495/common/tags.c:950:38: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] musepack_src_r495/libmpcdec/internal.h:94:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_FAIL [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcdec/internal.h:91:51: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] musepack_src_r495/libmpcdec/mpc_decoder.c:108:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_DECODER_SYNTH_DELAY [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcdec/mpc_decoder.c:118:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mpc_decoder [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcdec/mpc_decoder.c:141:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_DECODER_SYNTH_DELAY [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcdec/mpc_decoder.c:219:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcdec/mpc_decoder.c:443:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcdec/mpc_decoder.c:508:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_TRUE [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcdec/mpc_decoder.c:102:65: style: Parameter 'si' can be declared as pointer to const [constParameterPointer] musepack_src_r495/libmpcdec/mpc_decoder.c:559:11: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] musepack_src_r495/libmpcdec/mpc_decoder.c:612:28: style: Variable 'idx' is assigned a value that is never used. [unreadVariable] musepack_src_r495/libmpcdec/mpc_demux.c:160:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_FAIL [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcdec/mpc_demux.c:213:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_FAIL [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcdec/mpc_demux.c:245:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_OK [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcdec/mpc_demux.c:273:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_OK [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcdec/mpc_demux.c:323:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_OK [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcdec/mpc_demux.c:349:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_OK [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcdec/mpc_demux.c:434:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_OK [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcdec/mpc_demux.c:477:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_FAIL [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcdec/mpc_demux.c:535:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mpc_demux [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcdec/mpc_demux.c:573:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_FALSE [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcdec/mpc_demux.c:633:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_OK [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcdec/mpc_demux.c:649:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_FRAME_LENGTH [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcdec/mpc_demux.c:102:21: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] musepack_src_r495/libmpcdec/mpc_demux.c:103:39: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] musepack_src_r495/libmpcdec/mpc_demux.c:155:57: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] musepack_src_r495/libmpcdec/mpc_demux.c:305:24: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] musepack_src_r495/libmpcdec/mpc_demux.c:410:19: style: Variable 'tmp_buff' can be declared as pointer to const [constVariablePointer] musepack_src_r495/libmpcdec/mpc_demux.c:564:37: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] musepack_src_r495/libmpcdec/mpc_reader.c:53:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_FAIL [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcdec/mpc_reader.c:61:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_FALSE [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcdec/mpc_reader.c:69:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_FAIL [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcdec/mpc_reader.c:77:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_FAIL [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcdec/mpc_reader.c:85:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_FALSE [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcdec/mpc_reader.c:97:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_FAIL [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcdec/mpc_reader.c:131:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_FAIL [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcdec/mpc_reader.c:76:23: style: Variable 'p_stdio' can be declared as pointer to const [constVariablePointer] musepack_src_r495/libmpcdec/mpc_reader.c:84:23: style: Variable 'p_stdio' can be declared as pointer to const [constVariablePointer] musepack_src_r495/libmpcdec/requant.c:99:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_FIXED_POINT_SHIFT [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcdec/streaminfo.c:103:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_FAIL [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcdec/streaminfo.c:137:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_OLD_GAIN_REF [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcdec/streaminfo.c:194:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_FAIL [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcdec/streaminfo.c:73:6: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] musepack_src_r495/libmpcdec/streaminfo.c:73:6: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] musepack_src_r495/libmpcdec/streaminfo.c:77:6: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] musepack_src_r495/libmpcdec/streaminfo.c:77:6: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] musepack_src_r495/libmpcdec/streaminfo.c:81:6: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] musepack_src_r495/libmpcdec/streaminfo.c:81:6: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] musepack_src_r495/libmpcdec/streaminfo.c:95:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] musepack_src_r495/libmpcdec/streaminfo.c:95:3: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] musepack_src_r495/libmpcdec/streaminfo.c:95:3: warning: %u in format string (no. 4) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] musepack_src_r495/libmpcdec/streaminfo.c:90:10: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] musepack_src_r495/libmpcdec/streaminfo.c:99:53: style: Parameter 'si' can be declared as pointer to const [constParameterPointer] musepack_src_r495/libmpcdec/streaminfo.c:236:44: style: Parameter 'si' can be declared as pointer to const [constParameterPointer] musepack_src_r495/libmpcdec/streaminfo.c:241:63: style: Parameter 'si' can be declared as pointer to const [constParameterPointer] musepack_src_r495/libmpcenc/analy_filter.c:30:0: error: failed to expand '_', Invalid ## usage when expanding '_': Unexpected token '.' [preprocessorErrorDirective] musepack_src_r495/libmpcenc/bitstream.c:201:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_TRUE [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcenc/bitstream.c:242:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_FALSE [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcenc/bitstream.c:237:17: style: Variable 'table' can be declared as pointer to const [constVariablePointer] musepack_src_r495/libmpcenc/bitstream.c:183:23: style: Variable 'written' is assigned a value that is never used. [unreadVariable] musepack_src_r495/libmpcenc/encode_sv7.c:71:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mpc_uint32_t [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcenc/encode_sv7.c:114:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_FALSE [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcenc/encode_sv7.c:303:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcenc/encode_sv7.c:157:16: style: Variable 'Res_L' can be declared as pointer to const [constVariablePointer] musepack_src_r495/libmpcenc/encode_sv7.c:158:16: style: Variable 'Res_R' can be declared as pointer to const [constVariablePointer] musepack_src_r495/libmpcenc/encode_sv7.c:202:17: style: Variable 'MS_Flag' can be declared as pointer to const [constVariablePointer] musepack_src_r495/libmpcenc/encode_sv7.c:244:18: style: Variable 'SCFI_L_n' can be declared as pointer to const [constVariablePointer] musepack_src_r495/libmpcenc/encode_sv7.c:272:18: style: Variable 'SCFI_R_n' can be declared as pointer to const [constVariablePointer] musepack_src_r495/libmpcpsy/ans.c:81:37: style: Variable 'tk' is assigned a value that is never used. [unreadVariable] musepack_src_r495/libmpcpsy/cvd.c:80:29: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] musepack_src_r495/libmpcpsy/fft4g.c:134:40: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] musepack_src_r495/libmpcpsy/fft4g.c:241:58: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] musepack_src_r495/libmpcpsy/fft4g.c:428:49: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] musepack_src_r495/libmpcpsy/fft_routines.c:178:22: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] musepack_src_r495/libmpcpsy/profile.c:81:22: style: Variable 'TMNStereoAdj' can be declared as const array [constVariable] musepack_src_r495/libmpcpsy/profile.c:82:22: style: Variable 'NMTStereoAdj' can be declared as const array [constVariable] musepack_src_r495/libmpcpsy/psy.c:232:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcpsy/psy.c:685:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] musepack_src_r495/libmpcpsy/psy.c:459:23: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] musepack_src_r495/libmpcpsy/psy.c:564:22: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] musepack_src_r495/libmpcpsy/psy.c:621:29: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] musepack_src_r495/libmpcpsy/psy.c:847:32: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] musepack_src_r495/libmpcpsy/psy_tab.c:68:18: style: Variable 'tab' can be declared as const array [constVariable] musepack_src_r495/libmpcpsy/psy_tab.c:126:30: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] musepack_src_r495/libmpcpsy/psy_tab.c:211:27: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] musepack_src_r495/libmpcpsy/psy_tab.c:218:29: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] musepack_src_r495/libmpcpsy/psy_tab.c:237:27: style: Variable 'lfe' can be declared as const array [constVariable] musepack_src_r495/libwavformat/input.c:448:48: style: Parameter 'p_file' can be declared as pointer to const [constParameterPointer] musepack_src_r495/libwavformat/input.c:452:68: style: Parameter 'p_file' can be declared as pointer to const [constParameterPointer] musepack_src_r495/libwavformat/input.c:456:65: style: Parameter 'p_file' can be declared as pointer to const [constParameterPointer] musepack_src_r495/libwavformat/input.c:460:63: style: Parameter 'p_file' can be declared as pointer to const [constParameterPointer] musepack_src_r495/libwavformat/output.c:199:218: style:inconclusive: Function 'waveformat_output_open' argument 7 names different: declaration 'p_expected_samples' definition 'p_samples_written_expected'. [funcArgNamesDifferent] musepack_src_r495/libwavformat/libwaveformat.h:127:218: note: Function 'waveformat_output_open' argument 7 names different: declaration 'p_expected_samples' definition 'p_samples_written_expected'. musepack_src_r495/libwavformat/output.c:199:218: note: Function 'waveformat_output_open' argument 7 names different: declaration 'p_expected_samples' definition 'p_samples_written_expected'. musepack_src_r495/libwavformat/output.c:185:61: style: Parameter 'p_file' can be declared as pointer to const [constParameterPointer] musepack_src_r495/libwavformat/output.c:194:61: style: Parameter 'p_file' can be declared as pointer to const [constParameterPointer] musepack_src_r495/libwavformat/output.c:140:14: style: struct member 't_riff_header::m_data' is never used. [unusedStructMember] musepack_src_r495/mpc2sv8/mpc2sv8.c:72:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L [valueFlowBailoutIncompleteVar] musepack_src_r495/mpc2sv8/mpc2sv8.c:113:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_OK [valueFlowBailoutIncompleteVar] musepack_src_r495/mpc2sv8/mpc2sv8.c:225:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_TRUE [valueFlowBailoutIncompleteVar] musepack_src_r495/mpc2sv8/mpc2sv8.c:234:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_FALSE [valueFlowBailoutIncompleteVar] musepack_src_r495/mpc2sv8/mpc2sv8.c:152:10: style: Variable 'si_size' is reassigned a value before the old one has been used. [redundantAssignment] musepack_src_r495/mpc2sv8/mpc2sv8.c:150:10: note: si_size is assigned musepack_src_r495/mpc2sv8/mpc2sv8.c:152:10: note: si_size is overwritten musepack_src_r495/mpc2sv8/mpc2sv8.c:72:17: style: Variable 'q_d' can be declared as pointer to const [constVariablePointer] musepack_src_r495/mpc2sv8/mpc2sv8.c:95:36: style: Parameter 'sv8file' can be declared as pointer to const [constParameterPointer] musepack_src_r495/mpc2sv8/mpc2sv8.c:260:11: style: Variable 'file_name' can be declared as pointer to const [constVariablePointer] musepack_src_r495/mpcchap/dictionary.c:144:34: style:inconclusive: Function 'dictionary_del' argument 1 names different: declaration 'vd' definition 'd'. [funcArgNamesDifferent] musepack_src_r495/mpcchap/dictionary.h:102:34: note: Function 'dictionary_del' argument 1 names different: declaration 'vd' definition 'd'. musepack_src_r495/mpcchap/dictionary.c:144:34: note: Function 'dictionary_del' argument 1 names different: declaration 'vd' definition 'd'. musepack_src_r495/mpcchap/dictionary.c:222:33: style:inconclusive: Function 'dictionary_set' argument 1 names different: declaration 'vd' definition 'd'. [funcArgNamesDifferent] musepack_src_r495/mpcchap/dictionary.h:147:33: note: Function 'dictionary_set' argument 1 names different: declaration 'vd' definition 'd'. musepack_src_r495/mpcchap/dictionary.c:222:33: note: Function 'dictionary_set' argument 1 names different: declaration 'vd' definition 'd'. musepack_src_r495/mpcchap/dictionary.c:62:30: style: Parameter 's' can be declared as pointer to const [constParameterPointer] musepack_src_r495/mpcchap/dictionary.c:89:33: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] musepack_src_r495/mpcchap/dictionary.c:339:35: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] musepack_src_r495/mpcchap/iniparser.c:624:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] musepack_src_r495/mpcchap/iniparser.c:660:17: warning: Either the condition 'len>=0' is redundant or the array 'line[1025]' is accessed at index -1, which is out of bounds. [negativeIndex] musepack_src_r495/mpcchap/iniparser.c:654:20: note: Assuming that condition 'len>=0' is not redundant musepack_src_r495/mpcchap/iniparser.c:660:17: note: Negative array index musepack_src_r495/mpcchap/iniparser.c:59:13: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] musepack_src_r495/mpcchap/iniparser.c:554:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] musepack_src_r495/mpcchap/iniparser.c:558:16: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] musepack_src_r495/mpcchap/iniparser.c:559:16: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] musepack_src_r495/mpcchap/iniparser.c:560:16: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] musepack_src_r495/mpcchap/iniparser.c:573:16: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] musepack_src_r495/mpcchap/iniparser.c:574:16: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] musepack_src_r495/mpcchap/iniparser.c:548:13: style: Variable 'sta' is reassigned a value before the old one has been used. [redundantAssignment] musepack_src_r495/mpcchap/iniparser.c:545:9: note: sta is assigned musepack_src_r495/mpcchap/iniparser.c:548:13: note: sta is overwritten musepack_src_r495/mpcchap/iniparser.c:185:43: style:inconclusive: Function 'iniparser_getnkey' argument 2 names different: declaration 'nsec' definition 'n'. [funcArgNamesDifferent] musepack_src_r495/mpcchap/iniparser.h:97:43: note: Function 'iniparser_getnkey' argument 2 names different: declaration 'nsec' definition 'n'. musepack_src_r495/mpcchap/iniparser.c:185:43: note: Function 'iniparser_getnkey' argument 2 names different: declaration 'nsec' definition 'n'. musepack_src_r495/mpcchap/iniparser.c:119:36: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] musepack_src_r495/mpcchap/iniparser.c:185:36: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] musepack_src_r495/mpcchap/iniparser.c:262:34: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] musepack_src_r495/mpcchap/iniparser.c:295:13: style: Variable 'secname' can be declared as pointer to const [constVariablePointer] musepack_src_r495/mpcchap/iniparser.c:387:17: style: Variable 'str' can be declared as pointer to const [constVariablePointer] musepack_src_r495/mpcchap/iniparser.c:407:51: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] musepack_src_r495/mpcchap/iniparser.c:409:17: style: Variable 'str' can be declared as pointer to const [constVariablePointer] musepack_src_r495/mpcchap/iniparser.c:450:17: style: Variable 'c' can be declared as pointer to const [constVariablePointer] musepack_src_r495/mpcchap/iniparser.c:479:21: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] musepack_src_r495/mpcchap/iniparser.c:502:44: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] musepack_src_r495/mpcchap/iniparser.c:517:47: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] musepack_src_r495/mpcchap/iniparser.c:556:9: error: Overlapping read/write in strcpy() is undefined behavior [overlappingWriteFunction] musepack_src_r495/mpcchap/iniparser.c:563:9: error: Overlapping read/write in strcpy() is undefined behavior [overlappingWriteFunction] musepack_src_r495/mpcchap/iniparser.c:582:9: error: Overlapping read/write in strcpy() is undefined behavior [overlappingWriteFunction] musepack_src_r495/mpcchap/mpcchap.c:65:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] musepack_src_r495/mpcchap/mpcchap.c:86:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_OK [valueFlowBailoutIncompleteVar] musepack_src_r495/mpcchap/mpcchap.c:164:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNKNOWN [valueFlowBailoutIncompleteVar] musepack_src_r495/mpcchap/mpcchap.c:256:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_OK [valueFlowBailoutIncompleteVar] musepack_src_r495/mpcchap/mpcchap.c:295:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] musepack_src_r495/mpcchap/mpcchap.c:110:15: style: Local variable 'chap_pos' shadows outer variable [shadowVariable] musepack_src_r495/mpcchap/mpcchap.c:83:6: note: Shadowed declaration musepack_src_r495/mpcchap/mpcchap.c:110:15: note: Shadow variable musepack_src_r495/mpcchap/mpcchap.c:196:15: style: Local variable 'chap_pos' shadows outer variable [shadowVariable] musepack_src_r495/mpcchap/mpcchap.c:167:6: note: Shadowed declaration musepack_src_r495/mpcchap/mpcchap.c:196:15: note: Shadow variable musepack_src_r495/mpcchap/mpcchap.c:79:50: style: Parameter 'chap_file' can be declared as pointer to const [constParameterPointer] musepack_src_r495/mpcchap/mpcchap.c:79:97: style: Parameter 'si' can be declared as pointer to const [constParameterPointer] musepack_src_r495/mpcchap/mpcchap.c:109:10: style: Variable 'chap_sec' can be declared as pointer to const [constVariablePointer] musepack_src_r495/mpcchap/mpcchap.c:120:11: style: Variable 'item_key' can be declared as pointer to const [constVariablePointer] musepack_src_r495/mpcchap/mpcchap.c:249:49: style: Parameter 'chap_file' can be declared as pointer to const [constParameterPointer] musepack_src_r495/mpccut/mpccut.c:98:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] musepack_src_r495/mpcdec/mpcdec.c:128:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] musepack_src_r495/mpcdec/mpcdec.c:151:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] musepack_src_r495/mpcdec/mpcdec.c:169:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_FALSE [valueFlowBailoutIncompleteVar] musepack_src_r495/mpcdec/mpcdec.c:300:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] musepack_src_r495/mpcdec/mpcdec.c:303:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] musepack_src_r495/mpcdec/mpcdec.c:303:3: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] musepack_src_r495/mpcdec/mpcdec.c:101:52: style: Parameter 'buff' can be declared as pointer to const [constParameterPointer] musepack_src_r495/mpcdec/mpcdec.c:122:54: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] musepack_src_r495/mpcenc/keyboard.c:63:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSANOW [valueFlowBailoutIncompleteVar] musepack_src_r495/mpcenc/keyboard.c:74:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECHO [valueFlowBailoutIncompleteVar] musepack_src_r495/mpcenc/mpcenc.c:88:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSANOW [valueFlowBailoutIncompleteVar] musepack_src_r495/mpcenc/mpcenc.c:99:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECHO [valueFlowBailoutIncompleteVar] musepack_src_r495/mpcenc/mpcenc.c:119:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] musepack_src_r495/mpcenc/mpcenc.c:132:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] musepack_src_r495/mpcenc/mpcenc.c:415:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCK [valueFlowBailoutIncompleteVar] musepack_src_r495/mpcenc/mpcenc.c:436:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCK [valueFlowBailoutIncompleteVar] musepack_src_r495/mpcenc/mpcenc.c:494:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L [valueFlowBailoutIncompleteVar] musepack_src_r495/mpcenc/mpcenc.c:682:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NS_ORDER [valueFlowBailoutIncompleteVar] musepack_src_r495/mpcenc/mpcenc.c:907:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_TRUE [valueFlowBailoutIncompleteVar] musepack_src_r495/mpcenc/mpcenc.c:1376:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] musepack_src_r495/mpcenc/mpcenc.c:1474:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] musepack_src_r495/mpcenc/mpcenc.c:1531:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PART_SHORT [valueFlowBailoutIncompleteVar] musepack_src_r495/mpcenc/mpcenc.c:1193:21: style: Expression is always false because 'else if' condition matches previous condition at line 1163. [multiCondition] musepack_src_r495/mpcenc/mpcenc.c:787:43: style: Condition 'Transient[Band]' is always false [knownConditionTrueFalse] musepack_src_r495/mpcenc/mpcenc.c:779:82: note: Assuming that condition '!Transient[Band]' is not redundant musepack_src_r495/mpcenc/mpcenc.c:787:43: note: Condition 'Transient[Band]' is always false musepack_src_r495/mpcenc/mpcenc.c:1806:14: style: Condition 'FrontendPresent' is always false [knownConditionTrueFalse] musepack_src_r495/mpcenc/mpcenc.c:1805:27: note: Assignment 'FrontendPresent=0', assigned value is 0 musepack_src_r495/mpcenc/mpcenc.c:1806:14: note: Condition 'FrontendPresent' is always false musepack_src_r495/mpcenc/mpcenc.c:675:28: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] musepack_src_r495/mpcenc/mpcenc.c:816:18: style: Variable 'errmsg' can be declared as const array [constVariable] musepack_src_r495/mpcenc/mpcenc.c:818:18: style: Variable 'p' can be declared as pointer to const [constVariablePointer] musepack_src_r495/mpcenc/mpcenc.c:842:13: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] musepack_src_r495/mpcenc/mpcenc.c:1323:23: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] musepack_src_r495/mpcenc/mpcenc.c:779:54: warning: Uninitialized variable: MNR [uninitvar] musepack_src_r495/mpcenc/mpcenc.c:769:79: note: Assuming condition is true musepack_src_r495/mpcenc/mpcenc.c:779:54: note: Uninitialized variable: MNR musepack_src_r495/mpcenc/mpcenc.c:1443:16: style: Variable 'cw' is not assigned a value. [unassignedVariable] musepack_src_r495/mpcenc/stderr.c:172:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] musepack_src_r495/mpcenc/wave_in.c:46:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] musepack_src_r495/mpcenc/wave_in.c:182:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCK [valueFlowBailoutIncompleteVar] musepack_src_r495/mpcenc/wave_in.c:333:36: style: Condition 'Read32(fp)==-1' is always false [knownConditionTrueFalse] musepack_src_r495/mpcenc/wave_in.c:38:45: style:inconclusive: Function 'Open_WAV_Header' argument 2 names different: declaration 'name' definition 'filename'. [funcArgNamesDifferent] musepack_src_r495/mpcenc/mpcenc.h:268:54: note: Function 'Open_WAV_Header' argument 2 names different: declaration 'name' definition 'filename'. musepack_src_r495/mpcenc/wave_in.c:38:45: note: Function 'Open_WAV_Header' argument 2 names different: declaration 'name' definition 'filename'. musepack_src_r495/mpcenc/wave_in.c:175:37: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] musepack_src_r495/mpcgain/mpcgain.c:80:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_FRAME_LENGTH [valueFlowBailoutIncompleteVar] musepack_src_r495/mpcgain/mpcgain.c:112:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] musepack_src_r495/mpcgain/mpcgain.c:160:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mpc_uint16_t [valueFlowBailoutIncompleteVar] musepack_src_r495/mpcgain/mpcgain.c:98:42: style: Parameter 'demux' can be declared as pointer to const [constParameterPointer] musepack_src_r495/mpcgain/mpcgain.c:99:45: style: Parameter 'chap_gain' can be declared as pointer to const [constParameterPointer] musepack_src_r495/mpcgain/mpcgain.c:99:71: style: Parameter 'chap_peak' can be declared as pointer to const [constParameterPointer] musepack_src_r495/wavcmp/wavcmp.c:49:14: warning: Logical conjunction always evaluates to false: argc > 4 && argc < 3. [incorrectLogicOperator] musepack_src_r495/win32/attgetopt.c:34:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] musepack_src_r495/win32/attgetopt.c:25:41: style: Parameter 'opts' can be declared as pointer to const [constParameterPointer] musepack_src_r495/win32/basename.c:43:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_CTYPE [valueFlowBailoutIncompleteVar] musepack_src_r495/win32/basename.c:135:2: error: Common realloc mistake: 'retfail' nulled but not freed upon failure [memleakOnRealloc] musepack_src_r495/win32/basename.c:160:3: error: Common realloc mistake: 'retfail' nulled but not freed upon failure [memleakOnRealloc] musepack_src_r495/win32/dirent.c:79:0: error: #error The opendir() API is provided by this compiler, so should not be built here [preprocessorErrorDirective] diff: 2.13.0 musepack_src_r495/common/huffman-bcl.c:165:17: warning: Possible null pointer dereference: node_1 [nullPointer] musepack_src_r495/common/huffman-bcl.c:149:12: note: Assignment 'node_1=(struct huff_node*)0', assigned value is 0 musepack_src_r495/common/huffman-bcl.c:151:17: note: Assuming condition is false musepack_src_r495/common/huffman-bcl.c:165:17: note: Null pointer dereference head musepack_src_r495/common/huffman-bcl.c:165:17: warning: Possible null pointer dereference: node_1 [nullPointer] musepack_src_r495/common/huffman-bcl.c:149:12: note: Assignment 'node_1=(struct huff_node_t*)0', assigned value is 0 musepack_src_r495/common/huffman-bcl.c:152:23: note: Assuming condition is false musepack_src_r495/common/huffman-bcl.c:165:17: note: Null pointer dereference 2.13.0 musepack_src_r495/common/huffman-bcl.c:165:33: warning: Possible null pointer dereference: node_2 [nullPointer] musepack_src_r495/common/huffman-bcl.c:150:12: note: Assignment 'node_2=(struct huff_node*)0', assigned value is 0 musepack_src_r495/common/huffman-bcl.c:151:17: note: Assuming condition is false musepack_src_r495/common/huffman-bcl.c:165:33: note: Null pointer dereference head musepack_src_r495/common/huffman-bcl.c:165:33: warning: Possible null pointer dereference: node_2 [nullPointer] musepack_src_r495/common/huffman-bcl.c:150:12: note: Assignment 'node_2=(struct huff_node_t*)0', assigned value is 0 musepack_src_r495/common/huffman-bcl.c:152:23: note: Assuming condition is false musepack_src_r495/common/huffman-bcl.c:165:33: note: Null pointer dereference 2.13.0 musepack_src_r495/common/huffman-bcl.c:166:3: warning: Possible null pointer dereference: node_1 [nullPointer] musepack_src_r495/common/huffman-bcl.c:149:12: note: Assignment 'node_1=(struct huff_node*)0', assigned value is 0 musepack_src_r495/common/huffman-bcl.c:151:17: note: Assuming condition is false musepack_src_r495/common/huffman-bcl.c:166:3: note: Null pointer dereference head musepack_src_r495/common/huffman-bcl.c:166:3: warning: Possible null pointer dereference: node_1 [nullPointer] musepack_src_r495/common/huffman-bcl.c:149:12: note: Assignment 'node_1=(struct huff_node_t*)0', assigned value is 0 musepack_src_r495/common/huffman-bcl.c:152:23: note: Assuming condition is false musepack_src_r495/common/huffman-bcl.c:166:3: note: Null pointer dereference 2.13.0 musepack_src_r495/common/huffman-bcl.c:167:3: warning: Possible null pointer dereference: node_2 [nullPointer] musepack_src_r495/common/huffman-bcl.c:150:12: note: Assignment 'node_2=(struct huff_node*)0', assigned value is 0 musepack_src_r495/common/huffman-bcl.c:151:17: note: Assuming condition is false musepack_src_r495/common/huffman-bcl.c:167:3: note: Null pointer dereference head musepack_src_r495/common/huffman-bcl.c:167:3: warning: Possible null pointer dereference: node_2 [nullPointer] musepack_src_r495/common/huffman-bcl.c:150:12: note: Assignment 'node_2=(struct huff_node_t*)0', assigned value is 0 musepack_src_r495/common/huffman-bcl.c:152:23: note: Assuming condition is false musepack_src_r495/common/huffman-bcl.c:167:3: note: Null pointer dereference head musepack_src_r495/libmpcdec/mpc_decoder.c:108:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_DECODER_SYNTH_DELAY [valueFlowBailoutIncompleteVar] head musepack_src_r495/libmpcdec/mpc_decoder.c:118:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mpc_decoder [valueFlowBailoutIncompleteVar] head musepack_src_r495/libmpcdec/mpc_decoder.c:141:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_DECODER_SYNTH_DELAY [valueFlowBailoutIncompleteVar] head musepack_src_r495/libmpcdec/mpc_decoder.c:219:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L [valueFlowBailoutIncompleteVar] head musepack_src_r495/libmpcdec/mpc_decoder.c:443:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L [valueFlowBailoutIncompleteVar] head musepack_src_r495/libmpcdec/mpc_decoder.c:508:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_TRUE [valueFlowBailoutIncompleteVar] head musepack_src_r495/libmpcdec/mpc_demux.c:160:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_FAIL [valueFlowBailoutIncompleteVar] head musepack_src_r495/libmpcdec/mpc_demux.c:213:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_FAIL [valueFlowBailoutIncompleteVar] head musepack_src_r495/libmpcdec/mpc_demux.c:245:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_OK [valueFlowBailoutIncompleteVar] head musepack_src_r495/libmpcdec/mpc_demux.c:273:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_OK [valueFlowBailoutIncompleteVar] head musepack_src_r495/libmpcdec/mpc_demux.c:323:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_OK [valueFlowBailoutIncompleteVar] head musepack_src_r495/libmpcdec/mpc_demux.c:349:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_OK [valueFlowBailoutIncompleteVar] head musepack_src_r495/libmpcdec/mpc_demux.c:434:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_OK [valueFlowBailoutIncompleteVar] head musepack_src_r495/libmpcdec/mpc_demux.c:477:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_FAIL [valueFlowBailoutIncompleteVar] head musepack_src_r495/libmpcdec/mpc_demux.c:535:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mpc_demux [valueFlowBailoutIncompleteVar] head musepack_src_r495/libmpcdec/mpc_demux.c:573:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_FALSE [valueFlowBailoutIncompleteVar] head musepack_src_r495/libmpcdec/mpc_demux.c:633:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_OK [valueFlowBailoutIncompleteVar] head musepack_src_r495/libmpcdec/mpc_demux.c:649:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_FRAME_LENGTH [valueFlowBailoutIncompleteVar] head musepack_src_r495/libmpcdec/mpc_reader.c:131:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_FAIL [valueFlowBailoutIncompleteVar] head musepack_src_r495/libmpcdec/mpc_reader.c:53:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_FAIL [valueFlowBailoutIncompleteVar] head musepack_src_r495/libmpcdec/mpc_reader.c:61:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_FALSE [valueFlowBailoutIncompleteVar] head musepack_src_r495/libmpcdec/mpc_reader.c:69:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_FAIL [valueFlowBailoutIncompleteVar] head musepack_src_r495/libmpcdec/mpc_reader.c:77:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_FAIL [valueFlowBailoutIncompleteVar] head musepack_src_r495/libmpcdec/mpc_reader.c:85:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_FALSE [valueFlowBailoutIncompleteVar] head musepack_src_r495/libmpcdec/mpc_reader.c:97:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_FAIL [valueFlowBailoutIncompleteVar] head musepack_src_r495/libmpcdec/streaminfo.c:103:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_FAIL [valueFlowBailoutIncompleteVar] head musepack_src_r495/libmpcdec/streaminfo.c:137:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_OLD_GAIN_REF [valueFlowBailoutIncompleteVar] head musepack_src_r495/libmpcdec/streaminfo.c:194:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_FAIL [valueFlowBailoutIncompleteVar] head musepack_src_r495/libmpcenc/bitstream.c:242:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_FALSE [valueFlowBailoutIncompleteVar] head musepack_src_r495/libmpcenc/encode_sv7.c:114:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_FALSE [valueFlowBailoutIncompleteVar] head musepack_src_r495/libmpcenc/encode_sv7.c:303:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L [valueFlowBailoutIncompleteVar] 2.13.0 musepack_src_r495/libmpcpsy/psy.c:1257:12: warning: Uninitialized variable: SMR0 [uninitvar] musepack_src_r495/libmpcpsy/psy.c:1251:20: note: Assuming condition is false musepack_src_r495/libmpcpsy/psy.c:1257:12: note: Uninitialized variable: SMR0 head musepack_src_r495/libmpcpsy/psy.c:685:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head musepack_src_r495/libwavformat/input.c:448:48: style: Parameter 'p_file' can be declared as pointer to const [constParameterPointer] head musepack_src_r495/mpc2sv8/mpc2sv8.c:113:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_OK [valueFlowBailoutIncompleteVar] head musepack_src_r495/mpc2sv8/mpc2sv8.c:225:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_TRUE [valueFlowBailoutIncompleteVar] head musepack_src_r495/mpc2sv8/mpc2sv8.c:234:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_FALSE [valueFlowBailoutIncompleteVar] head musepack_src_r495/mpc2sv8/mpc2sv8.c:72:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L [valueFlowBailoutIncompleteVar] head musepack_src_r495/mpcchap/dictionary.c:89:33: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] head musepack_src_r495/mpcchap/mpcchap.c:164:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNKNOWN [valueFlowBailoutIncompleteVar] head musepack_src_r495/mpcchap/mpcchap.c:256:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_OK [valueFlowBailoutIncompleteVar] head musepack_src_r495/mpcchap/mpcchap.c:295:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head musepack_src_r495/mpcchap/mpcchap.c:65:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head musepack_src_r495/mpcchap/mpcchap.c:86:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_STATUS_OK [valueFlowBailoutIncompleteVar] head musepack_src_r495/mpccut/mpccut.c:98:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] head musepack_src_r495/mpcdec/mpcdec.c:128:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head musepack_src_r495/mpcdec/mpcdec.c:151:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head musepack_src_r495/mpcdec/mpcdec.c:169:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_FALSE [valueFlowBailoutIncompleteVar] head musepack_src_r495/mpcenc/keyboard.c:74:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECHO [valueFlowBailoutIncompleteVar] head musepack_src_r495/mpcenc/mpcenc.c:119:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] head musepack_src_r495/mpcenc/mpcenc.c:132:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head musepack_src_r495/mpcenc/mpcenc.c:1376:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] head musepack_src_r495/mpcenc/mpcenc.c:1474:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head musepack_src_r495/mpcenc/mpcenc.c:1531:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PART_SHORT [valueFlowBailoutIncompleteVar] head musepack_src_r495/mpcenc/mpcenc.c:415:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCK [valueFlowBailoutIncompleteVar] head musepack_src_r495/mpcenc/mpcenc.c:436:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCK [valueFlowBailoutIncompleteVar] head musepack_src_r495/mpcenc/mpcenc.c:494:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L [valueFlowBailoutIncompleteVar] head musepack_src_r495/mpcenc/mpcenc.c:682:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NS_ORDER [valueFlowBailoutIncompleteVar] head musepack_src_r495/mpcenc/mpcenc.c:779:54: warning: Uninitialized variable: MNR [uninitvar] musepack_src_r495/mpcenc/mpcenc.c:769:79: note: Assuming condition is true musepack_src_r495/mpcenc/mpcenc.c:779:54: note: Uninitialized variable: MNR head musepack_src_r495/mpcenc/mpcenc.c:907:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_TRUE [valueFlowBailoutIncompleteVar] head musepack_src_r495/mpcenc/mpcenc.c:99:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECHO [valueFlowBailoutIncompleteVar] head musepack_src_r495/mpcenc/wave_in.c:182:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCK [valueFlowBailoutIncompleteVar] head musepack_src_r495/mpcgain/mpcgain.c:112:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head musepack_src_r495/mpcgain/mpcgain.c:160:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mpc_uint16_t [valueFlowBailoutIncompleteVar] head musepack_src_r495/mpcgain/mpcgain.c:80:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_FRAME_LENGTH [valueFlowBailoutIncompleteVar] DONE