2025-10-28 11:24 ftp://ftp.de.debian.org/debian/pool/main/w/wildmidi/wildmidi_0.4.6.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.12.48+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 5ec627f (2025-10-28 12:15:17 +0100) count: 388 387 elapsed-time: 6.6 6.6 head-timing-info: old-timing-info: head results: wildmidi-0.4.6/src/f_hmp.c:73:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_ERR_CORUPT [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/f_hmi.c:80:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_ERR_CORUPT [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/DevTest.c:159:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/DevTest.c:2015:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/f_hmp.c:203:9: warning: If memory allocation fails, then there is a possible null pointer dereference: hmp_chunk [nullPointerOutOfMemory] wildmidi-0.4.6/src/f_hmp.c:193:42: note: Assuming allocation function fails wildmidi-0.4.6/src/f_hmp.c:193:17: note: Assignment 'hmp_chunk=(const uint8_t**)malloc(sizeof(uint8_t*)*hmp_chunks)', assigned value is 0 wildmidi-0.4.6/src/f_hmp.c:203:9: note: Null pointer dereference wildmidi-0.4.6/src/f_hmp.c:204:9: warning: If memory allocation fails, then there is a possible null pointer dereference: chunk_ofs [nullPointerOutOfMemory] wildmidi-0.4.6/src/f_hmp.c:196:36: note: Assuming allocation function fails wildmidi-0.4.6/src/f_hmp.c:196:17: note: Assignment 'chunk_ofs=(uint32_t*)malloc(sizeof(uint32_t)*hmp_chunks)', assigned value is 0 wildmidi-0.4.6/src/f_hmp.c:204:9: note: Null pointer dereference wildmidi-0.4.6/src/f_hmp.c:210:9: warning: If memory allocation fails, then there is a possible null pointer dereference: chunk_ofs [nullPointerOutOfMemory] wildmidi-0.4.6/src/f_hmp.c:196:36: note: Assuming allocation function fails wildmidi-0.4.6/src/f_hmp.c:196:17: note: Assignment 'chunk_ofs=(uint32_t*)malloc(sizeof(uint32_t)*hmp_chunks)', assigned value is 0 wildmidi-0.4.6/src/f_hmp.c:210:9: note: Null pointer dereference wildmidi-0.4.6/src/f_hmp.c:214:9: warning: If memory allocation fails, then there is a possible null pointer dereference: chunk_length [nullPointerOutOfMemory] wildmidi-0.4.6/src/f_hmp.c:194:39: note: Assuming allocation function fails wildmidi-0.4.6/src/f_hmp.c:194:20: note: Assignment 'chunk_length=(uint32_t*)malloc(sizeof(uint32_t)*hmp_chunks)', assigned value is 0 wildmidi-0.4.6/src/f_hmp.c:214:9: note: Null pointer dereference wildmidi-0.4.6/src/f_hmp.c:215:9: warning: If memory allocation fails, then there is a possible null pointer dereference: chunk_length [nullPointerOutOfMemory] wildmidi-0.4.6/src/f_hmp.c:194:39: note: Assuming allocation function fails wildmidi-0.4.6/src/f_hmp.c:194:20: note: Assignment 'chunk_length=(uint32_t*)malloc(sizeof(uint32_t)*hmp_chunks)', assigned value is 0 wildmidi-0.4.6/src/f_hmp.c:215:9: note: Null pointer dereference wildmidi-0.4.6/src/f_hmp.c:216:9: warning: If memory allocation fails, then there is a possible null pointer dereference: chunk_length [nullPointerOutOfMemory] wildmidi-0.4.6/src/f_hmp.c:194:39: note: Assuming allocation function fails wildmidi-0.4.6/src/f_hmp.c:194:20: note: Assignment 'chunk_length=(uint32_t*)malloc(sizeof(uint32_t)*hmp_chunks)', assigned value is 0 wildmidi-0.4.6/src/f_hmp.c:216:9: note: Null pointer dereference wildmidi-0.4.6/src/f_hmp.c:217:9: warning: If memory allocation fails, then there is a possible null pointer dereference: chunk_length [nullPointerOutOfMemory] wildmidi-0.4.6/src/f_hmp.c:194:39: note: Assuming allocation function fails wildmidi-0.4.6/src/f_hmp.c:194:20: note: Assignment 'chunk_length=(uint32_t*)malloc(sizeof(uint32_t)*hmp_chunks)', assigned value is 0 wildmidi-0.4.6/src/f_hmp.c:217:9: note: Null pointer dereference wildmidi-0.4.6/src/f_hmp.c:218:9: warning: If memory allocation fails, then there is a possible null pointer dereference: chunk_ofs [nullPointerOutOfMemory] wildmidi-0.4.6/src/f_hmp.c:196:36: note: Assuming allocation function fails wildmidi-0.4.6/src/f_hmp.c:196:17: note: Assignment 'chunk_ofs=(uint32_t*)malloc(sizeof(uint32_t)*hmp_chunks)', assigned value is 0 wildmidi-0.4.6/src/f_hmp.c:218:9: note: Null pointer dereference wildmidi-0.4.6/src/f_hmp.c:220:13: warning: If memory allocation fails, then there is a possible null pointer dereference: chunk_length [nullPointerOutOfMemory] wildmidi-0.4.6/src/f_hmp.c:194:39: note: Assuming allocation function fails wildmidi-0.4.6/src/f_hmp.c:194:20: note: Assignment 'chunk_length=(uint32_t*)malloc(sizeof(uint32_t)*hmp_chunks)', assigned value is 0 wildmidi-0.4.6/src/f_hmp.c:220:13: note: Null pointer dereference wildmidi-0.4.6/src/f_hmp.c:357:21: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] wildmidi-0.4.6/src/f_hmi.c:134:5: warning: If memory allocation fails, then there is a possible null pointer dereference: hmi_track_offset [nullPointerOutOfMemory] wildmidi-0.4.6/src/f_hmi.c:123:43: note: Assuming allocation function fails wildmidi-0.4.6/src/f_hmi.c:123:24: note: Assignment 'hmi_track_offset=(uint32_t*)malloc(sizeof(uint32_t)*hmi_track_cnt)', assigned value is 0 wildmidi-0.4.6/src/f_hmi.c:134:5: note: Null pointer dereference wildmidi-0.4.6/src/f_mus.c:75:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_ERR_CORUPT [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/f_midi.c:68:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_ERR_CORUPT [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/f_midi.c:479:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_ERR_CONVERT [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/f_mus.c:111:9: warning: If memory allocation fails, then there is a possible null pointer dereference: mus_mid_instr [nullPointerOutOfMemory] wildmidi-0.4.6/src/f_mus.c:109:40: note: Assuming allocation function fails wildmidi-0.4.6/src/f_mus.c:109:21: note: Assignment 'mus_mid_instr=(uint16_t*)malloc(mus_no_instr*sizeof(uint16_t))', assigned value is 0 wildmidi-0.4.6/src/f_mus.c:111:9: note: Null pointer dereference wildmidi-0.4.6/src/f_mus.c:49:13: style: Variable 'mus_hdr' can be declared as const array [constVariable] wildmidi-0.4.6/src/f_xmidi.c:244:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable samples_to_next [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/file_io.c:239:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_ERR_STAT [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/file_io.c:184:21: style: Condition 'buffer_file==NULL' is always true [knownConditionTrueFalse] wildmidi-0.4.6/src/file_io.c:120:25: note: Assignment 'buffer_file=NULL', assigned value is 0 wildmidi-0.4.6/src/file_io.c:184:21: note: Condition 'buffer_file==NULL' is always true wildmidi-0.4.6/src/file_io.c:265:9: error: Resource leak: file [resourceLeak] wildmidi-0.4.6/src/file_io.c:273:9: error: Resource leak: file [resourceLeak] wildmidi-0.4.6/src/getopt_long.c:179:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/getopt_long.c:419:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/getopt_long.c:161:8: style: Variable 'current_argv' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/getopt_long.c:286:8: style: Variable 'oli' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/f_xmidi.c:218:54: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] wildmidi-0.4.6/src/f_xmidi.c:210:39: style: Condition '*xmi_data>0x7f' is always false [knownConditionTrueFalse] wildmidi-0.4.6/src/f_xmidi.c:208:35: note: Assuming that condition '*xmi_data<0x80' is not redundant wildmidi-0.4.6/src/f_xmidi.c:210:39: note: Condition '*xmi_data>0x7f' is always false wildmidi-0.4.6/src/f_xmidi.c:141:12: warning: If memory allocation fails, then there is a possible null pointer dereference: xmi_notelen [nullPointerOutOfMemory] wildmidi-0.4.6/src/f_xmidi.c:140:38: note: Assuming allocation function fails wildmidi-0.4.6/src/f_xmidi.c:140:19: note: Assignment 'xmi_notelen=(uint32_t*)malloc(sizeof(uint32_t)*16*128)', assigned value is 0 wildmidi-0.4.6/src/f_xmidi.c:141:12: note: Null pointer dereference wildmidi-0.4.6/src/f_midi.c:492:6: warning: If memory allocation fails, then there is a possible null pointer dereference: *out [nullPointerOutOfMemory] wildmidi-0.4.6/src/f_midi.c:489:33: note: Assuming allocation function fails wildmidi-0.4.6/src/f_midi.c:489:14: note: Assignment '(*out)=(uint8_t*)malloc(sizeof(uint8_t)*(mdi->event_count*12))', assigned value is 0 wildmidi-0.4.6/src/f_midi.c:492:6: note: Null pointer dereference wildmidi-0.4.6/src/f_midi.c:325:25: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] wildmidi-0.4.6/src/f_midi.c:465:29: style: Parameter 'mdi' can be declared as pointer to const [constParameterPointer] wildmidi-0.4.6/src/f_midi.c:789:21: style: Variable 'foo' can be declared as const array [constVariable] wildmidi-0.4.6/src/f_midi.c:797:21: style: Variable 'foo' can be declared as const array [constVariable] wildmidi-0.4.6/src/f_midi.c:805:21: style: Variable 'foo' can be declared as const array [constVariable] wildmidi-0.4.6/src/gus_pat.c:66:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_FUNCTION [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/gus_pat.c:93:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_FUNCTION [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/gus_pat.c:138:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_FUNCTION [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/gus_pat.c:169:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_FUNCTION [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/gus_pat.c:214:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_FUNCTION [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/gus_pat.c:240:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_FUNCTION [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/gus_pat.c:286:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_FUNCTION [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/gus_pat.c:317:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_FUNCTION [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/gus_pat.c:361:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_FUNCTION [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/gus_pat.c:391:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_FUNCTION [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/gus_pat.c:446:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_FUNCTION [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/gus_pat.c:481:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_FUNCTION [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/gus_pat.c:530:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_FUNCTION [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/gus_pat.c:560:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_FUNCTION [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/gus_pat.c:615:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_FUNCTION [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/gus_pat.c:650:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_FUNCTION [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/gus_pat.c:727:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_FUNCTION [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/lock.c:82:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] wildmidi-0.4.6/src/mus2mid.c:230:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_ERR_CORUPT [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:475:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable balance [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:550:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MEM_CHUNK [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:561:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAMPLE_ENVELOPE [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:622:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isdrum [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:646:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pitch_adjust [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:675:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isdrum [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:776:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bank [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:785:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reg_non [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:799:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable volume [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:808:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable balance [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:816:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pan [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:825:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable expression [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:835:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reg_non [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:850:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hold [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:915:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reg_non [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:927:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reg_non [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:937:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reg_data [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:946:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reg_data [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:955:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reg_data [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:964:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reg_data [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:993:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable expression [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1010:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isdrum [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1051:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isdrum [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1064:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pressure [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1086:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pitch [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1112:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isdrum [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1130:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bank [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1182:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAMPLE_ENVELOPE [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1322:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_MO_TEXTASLYRIC [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1375:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_MO_TEXTASLYRIC [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1418:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1456:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1470:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1484:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1501:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1526:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_control_bank_select [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1618:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1639:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1651:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1664:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1683:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1695:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1707:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1719:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1731:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1743:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1755:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1767:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1779:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1791:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1803:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1831:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1844:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1857:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1870:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1883:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1896:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1909:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1922:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mdi [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1959:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_patch_lock [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:2352:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable channel [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/gus_pat.c:62:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:63:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:87:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:88:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:133:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:134:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:163:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:164:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:210:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:211:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:234:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:235:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:281:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:282:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:311:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:312:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:357:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:358:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:385:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:386:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:441:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:442:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:475:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:476:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:526:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:527:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:554:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:555:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:610:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:611:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:644:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:645:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/gus_pat.c:136:23: style: Variable 'tmp_loop' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/gus_pat.c:284:23: style: Variable 'tmp_loop' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/gus_pat.c:444:23: style: Variable 'tmp_loop' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/gus_pat.c:613:23: style: Variable 'tmp_loop' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/gus_pat.c:703:16: style: Variable 'i' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/patches.c:72:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable patchid [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/mus2mid.c:185:43: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] wildmidi-0.4.6/src/mus2mid.c:110:10: style: struct member 'MidiHeaderChunk::name' is never used. [unusedStructMember] wildmidi-0.4.6/src/mus2mid.c:111:13: style: struct member 'MidiHeaderChunk::length' is never used. [unusedStructMember] wildmidi-0.4.6/src/mus2mid.c:112:13: style: struct member 'MidiHeaderChunk::format' is never used. [unusedStructMember] wildmidi-0.4.6/src/mus2mid.c:113:13: style: struct member 'MidiHeaderChunk::ntracks' is never used. [unusedStructMember] wildmidi-0.4.6/src/mus2mid.c:114:13: style: struct member 'MidiHeaderChunk::division' is never used. [unusedStructMember] wildmidi-0.4.6/src/mus2mid.c:119:10: style: struct member 'MidiTrackChunk::name' is never used. [unusedStructMember] wildmidi-0.4.6/src/mus2mid.c:120:13: style: struct member 'MidiTrackChunk::length' is never used. [unusedStructMember] wildmidi-0.4.6/src/player/msleep.c:50:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] wildmidi-0.4.6/src/player/out_none.c:34:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/player/out_wave.c:62:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/player/out_wave.c:108:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/player/out_wave.c:131:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/player/out_wave.c:151:16: warning: Either the condition '!out_wav' is redundant or there is possible null pointer dereference: out_wav. [nullPointerRedundantCheck] wildmidi-0.4.6/src/player/out_wave.c:150:9: note: Assuming that condition '!out_wav' is not redundant wildmidi-0.4.6/src/player/out_wave.c:151:16: note: Null pointer dereference wildmidi-0.4.6/src/player/out_wave.c:151:16: error: Null pointer dereference [nullPointer] wildmidi-0.4.6/src/player/out_wave.c:34:62: style: Parameter 'r' can be declared as pointer to const. However it seems that 'open_wav_output' is a callback function, if 'r' is declared with const you might also need to cast function pointer(s). [constParameterCallback] wildmidi-0.4.6/src/player/out_wave.c:162:5: note: You might need to cast the function pointer here wildmidi-0.4.6/src/player/out_wave.c:34:62: note: Parameter 'r' can be declared as pointer to const wildmidi-0.4.6/src/player/out_wave.c:97:35: style: Parameter 'output_data' can be declared as pointer to const. However it seems that 'write_wav_output' is a callback function, if 'output_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] wildmidi-0.4.6/src/player/out_wave.c:163:5: note: You might need to cast the function pointer here wildmidi-0.4.6/src/player/out_wave.c:97:35: note: Parameter 'output_data' can be declared as pointer to const wildmidi-0.4.6/src/player/wm_tty.c:113:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICANON [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/player/wm_tty.c:127:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSADRAIN [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/player/wildmidi.c:222:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/player/wildmidi.c:291:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/player/wildmidi.c:313:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/player/wildmidi.c:318:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/player/wildmidi.c:398:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/reverb.c:123:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _rvb [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/reverb.c:77:12: style: Variable 'Freq' can be declared as const array [constVariable] wildmidi-0.4.6/src/reverb.c:81:12: style: Variable 'dbAirAbs' can be declared as const array [constVariable] wildmidi-0.4.6/src/reverb.c:88:12: style: Variable 'dbAttn' can be declared as const array [constVariable] wildmidi-0.4.6/src/reverb.c:297:23: style: Variable 'l_buf_flt' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/reverb.c:298:23: style: Variable 'r_buf_flt' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/reverb.c:299:19: style: Variable 'l_rfl' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/reverb.c:300:19: style: Variable 'r_rfl' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/player/wildmidi.c:223:9: error: Resource leak: outf [resourceLeak] wildmidi-0.4.6/src/player/wildmidi.c:604:20: warning: If memory allocation fails, then there is a possible null pointer dereference: test_data [nullPointerOutOfMemory] wildmidi-0.4.6/src/player/wildmidi.c:603:43: note: Assuming allocation function fails wildmidi-0.4.6/src/player/wildmidi.c:603:25: note: Assignment 'test_data=(uint8_t*)malloc(midi_test[test_count].size)', assigned value is 0 wildmidi-0.4.6/src/player/wildmidi.c:604:20: note: Null pointer dereference wildmidi-0.4.6/src/player/wildmidi.c:606:13: warning: If memory allocation fails, then there is a possible null pointer dereference: test_data [nullPointerOutOfMemory] wildmidi-0.4.6/src/player/wildmidi.c:603:43: note: Assuming allocation function fails wildmidi-0.4.6/src/player/wildmidi.c:603:25: note: Assignment 'test_data=(uint8_t*)malloc(midi_test[test_count].size)', assigned value is 0 wildmidi-0.4.6/src/player/wildmidi.c:606:13: note: Null pointer dereference wildmidi-0.4.6/src/player/wildmidi.c:607:13: warning: If memory allocation fails, then there is a possible null pointer dereference: test_data [nullPointerOutOfMemory] wildmidi-0.4.6/src/player/wildmidi.c:603:43: note: Assuming allocation function fails wildmidi-0.4.6/src/player/wildmidi.c:603:25: note: Assignment 'test_data=(uint8_t*)malloc(midi_test[test_count].size)', assigned value is 0 wildmidi-0.4.6/src/player/wildmidi.c:607:13: note: Null pointer dereference wildmidi-0.4.6/src/sample.c:47:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isdrum [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/sample.c:84:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_patch_lock [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/sample.c:126:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_fix_release [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/player/wildmidi.c:211:36: style: Parameter 'output_data' can be declared as pointer to const [constParameterPointer] wildmidi-0.4.6/src/player/wildmidi.c:336:22: style: Variable 'wm_info' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/player/wildmidi.c:356:17: style: Variable 'spinner' can be declared as const array [constVariable] wildmidi-0.4.6/src/player/wildmidi.c:361:12: style: Variable 'ret_err' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/player/wildmidi.c:364:11: style: Variable 'last_lyric' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/player/wildmidi.c:737:31: style: Variable 'real_file' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/sample.c:43:21: style: Variable 'sample' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/sample.c:121:16: style: Variable 'i' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/sample.c:133:26: style: Variable 'samp_max' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/sample.c:134:26: style: Variable 'samp_min' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/wm_error.c:34:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/wm_error.c:74:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_ERR_MAX [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/wm_error.c:114:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_ERR_MAX [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/wm_error.c:112:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: errorstring [nullPointerOutOfMemory] wildmidi-0.4.6/src/wm_error.c:109:34: note: Assuming allocation function fails wildmidi-0.4.6/src/wm_error.c:109:19: note: Assignment 'errorstring=(char*)malloc(255+1)', assigned value is 0 wildmidi-0.4.6/src/wm_error.c:112:5: note: Null pointer dereference wildmidi-0.4.6/src/xmi2mid.c:471:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMIDI_CONVERT_MT32_TO_GS [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/xmi2mid.c:658:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMIDI_CONVERT_MT32_TO_GM [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/xmi2mid.c:776:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMIDI_CONVERT_MT32_TO_GS127 [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/xmi2mid.c:917:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_FUNCTION [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/xmi2mid.c:988:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_ERR_CORUPT [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/xmi2mid.c:553:9: warning: If memory allocation fails, then there is a possible null pointer dereference: event [nullPointerOutOfMemory] wildmidi-0.4.6/src/xmi2mid.c:552:50: note: Assuming allocation function fails wildmidi-0.4.6/src/xmi2mid.c:552:29: note: Assignment 'event=(struct midi_event*)calloc(1,sizeof(struct midi_event))', assigned value is 0 wildmidi-0.4.6/src/xmi2mid.c:553:9: note: Null pointer dereference wildmidi-0.4.6/src/xmi2mid.c:564:13: warning: If memory allocation fails, then there is a possible null pointer dereference: event [nullPointerOutOfMemory] wildmidi-0.4.6/src/xmi2mid.c:563:54: note: Assuming allocation function fails wildmidi-0.4.6/src/xmi2mid.c:563:33: note: Assignment 'event=(struct midi_event*)calloc(1,sizeof(struct midi_event))', assigned value is 0 wildmidi-0.4.6/src/xmi2mid.c:564:13: note: Null pointer dereference wildmidi-0.4.6/src/xmi2mid.c:567:16: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx->current [nullPointerOutOfMemory] wildmidi-0.4.6/src/xmi2mid.c:563:54: note: Assuming allocation function fails wildmidi-0.4.6/src/xmi2mid.c:563:33: note: Assignment 'event=(struct midi_event*)calloc(1,sizeof(struct midi_event))', assigned value is 0 wildmidi-0.4.6/src/xmi2mid.c:566:28: note: Assignment 'ctx->current=event', assigned value is 0 wildmidi-0.4.6/src/xmi2mid.c:567:16: note: Null pointer dereference wildmidi-0.4.6/src/xmi2mid.c:576:8: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx->current [nullPointerOutOfMemory] wildmidi-0.4.6/src/xmi2mid.c:574:47: note: Assuming allocation function fails wildmidi-0.4.6/src/xmi2mid.c:574:26: note: Assignment 'ctx->current->next=(struct midi_event*)calloc(1,sizeof(struct midi_event))', assigned value is 0 wildmidi-0.4.6/src/xmi2mid.c:575:32: note: Assignment 'ctx->current=ctx->current->next', assigned value is 0 wildmidi-0.4.6/src/xmi2mid.c:576:8: note: Null pointer dereference wildmidi-0.4.6/src/xmi2mid.c:183:44: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] wildmidi-0.4.6/src/xmi2mid.c:187:43: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] wildmidi-0.4.6/src/xmi2mid.c:191:43: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] wildmidi-0.4.6/src/xmi2mid.c:847:17: style: Variable 'event' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/xmi2mid.c:772:21: style: Variable 'status' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/xmi2mid.c:934:18: style: Variable 'len' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/wildmidi_lib.c:218:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_patch [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/wildmidi_lib.c:227:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_patch_lock [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/wildmidi_lib.c:411:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_Global_ErrorI [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/wildmidi_lib.c:842:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MEM_CHUNK [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/wildmidi_lib.c:1159:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MEM_CHUNK [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/wildmidi_lib.c:1479:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_ERR_INVALID_ARG [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/wildmidi_lib.c:1494:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_ERR_INVALID_ARG [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/wildmidi_lib.c:1523:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/wildmidi_lib.c:1532:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBWILDMIDI_VERSION [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/wildmidi_lib.c:1543:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_ERR_INVALID_ARG [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/wildmidi_lib.c:1587:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_ERR_INVALID_ARG [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/wildmidi_lib.c:1600:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_ERR_INVALID_ARG [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/wildmidi_lib.c:1619:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_ERR_INVALID_ARG [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/wildmidi_lib.c:1667:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_ERR_INVALID_ARG [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/wildmidi_lib.c:1711:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_ERR_INVALID_ARG [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/wildmidi_lib.c:1755:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_ERR_INVALID_ARG [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/wildmidi_lib.c:1848:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_ERR_INVALID_ARG [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/wildmidi_lib.c:1952:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_ERR_INVALID_ARG [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/wildmidi_lib.c:1980:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_ERR_INVALID_ARG [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/wildmidi_lib.c:1999:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_ERR_INVALID_ARG [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/wildmidi_lib.c:2040:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_ERR_INVALID_ARG [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/wildmidi_lib.c:2056:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_ERR_INVALID_ARG [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/wildmidi_lib.c:2118:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_Global_ErrorS [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/wildmidi_lib.c:2152:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_ERR_INVALID_ARG [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/wildmidi_lib.c:2166:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_Global_ErrorS [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/wildmidi_lib.c:2173:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_Global_ErrorI [valueFlowBailoutIncompleteVar] wildmidi-0.4.6/src/internal_midi.c:1130:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:1949:27: note: Calling function '_WM_do_sysex_gm_reset', 1st argument 'mdi' value is 0 wildmidi-0.4.6/src/internal_midi.c:1130:9: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1136:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:1949:27: note: Calling function '_WM_do_sysex_gm_reset', 1st argument 'mdi' value is 0 wildmidi-0.4.6/src/internal_midi.c:1136:9: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1137:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:1949:27: note: Calling function '_WM_do_sysex_gm_reset', 1st argument 'mdi' value is 0 wildmidi-0.4.6/src/internal_midi.c:1137:9: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1138:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:1949:27: note: Calling function '_WM_do_sysex_gm_reset', 1st argument 'mdi' value is 0 wildmidi-0.4.6/src/internal_midi.c:1138:9: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1139:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:1949:27: note: Calling function '_WM_do_sysex_gm_reset', 1st argument 'mdi' value is 0 wildmidi-0.4.6/src/internal_midi.c:1139:9: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1140:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:1949:27: note: Calling function '_WM_do_sysex_gm_reset', 1st argument 'mdi' value is 0 wildmidi-0.4.6/src/internal_midi.c:1140:9: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1141:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:1949:27: note: Calling function '_WM_do_sysex_gm_reset', 1st argument 'mdi' value is 0 wildmidi-0.4.6/src/internal_midi.c:1141:9: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1142:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:1949:27: note: Calling function '_WM_do_sysex_gm_reset', 1st argument 'mdi' value is 0 wildmidi-0.4.6/src/internal_midi.c:1142:9: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1143:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:1949:27: note: Calling function '_WM_do_sysex_gm_reset', 1st argument 'mdi' value is 0 wildmidi-0.4.6/src/internal_midi.c:1143:9: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1144:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:1949:27: note: Calling function '_WM_do_sysex_gm_reset', 1st argument 'mdi' value is 0 wildmidi-0.4.6/src/internal_midi.c:1144:9: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1145:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:1949:27: note: Calling function '_WM_do_sysex_gm_reset', 1st argument 'mdi' value is 0 wildmidi-0.4.6/src/internal_midi.c:1145:9: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1151:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:1949:27: note: Calling function '_WM_do_sysex_gm_reset', 1st argument 'mdi' value is 0 wildmidi-0.4.6/src/internal_midi.c:1151:5: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1815:22: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:2301:43: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:2301:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:2304:46: note: Calling function 'midi_setup_cuepoint', 2nd argument 'text' value is 0 wildmidi-0.4.6/src/internal_midi.c:1907:16: note: Calling function 'strip_text', 1st argument 'text' value is 0 wildmidi-0.4.6/src/internal_midi.c:1815:22: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1818:26: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:2301:43: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:2301:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:2304:46: note: Calling function 'midi_setup_cuepoint', 2nd argument 'text' value is 0 wildmidi-0.4.6/src/internal_midi.c:1907:16: note: Calling function 'strip_text', 1st argument 'text' value is 0 wildmidi-0.4.6/src/internal_midi.c:1818:26: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1820:22: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:2301:43: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:2301:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:2304:46: note: Calling function 'midi_setup_cuepoint', 2nd argument 'text' value is 0 wildmidi-0.4.6/src/internal_midi.c:1907:16: note: Calling function 'strip_text', 1st argument 'text' value is 0 wildmidi-0.4.6/src/internal_midi.c:1820:22: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1823:26: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:2301:43: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:2301:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:2304:46: note: Calling function 'midi_setup_cuepoint', 2nd argument 'text' value is 0 wildmidi-0.4.6/src/internal_midi.c:1907:16: note: Calling function 'strip_text', 1st argument 'text' value is 0 wildmidi-0.4.6/src/internal_midi.c:1823:26: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1923:12: warning: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:1923:12: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1925:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:1925:5: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1926:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:1926:5: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1930:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:1930:5: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1931:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:1931:5: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1931:44: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:1931:44: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1932:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:1932:5: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1933:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:1933:5: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1933:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:1933:26: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1935:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:1935:5: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1936:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:1936:5: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1937:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:1937:5: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1938:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:1938:5: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1940:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:1940:5: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1941:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:1941:5: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1942:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:1942:5: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1943:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:1943:5: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1945:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:1945:5: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1947:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:1947:5: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:2121:28: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:2120:43: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:2120:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:2121:28: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:2122:21: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:2120:43: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:2120:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:2122:21: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:2162:28: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:2161:43: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:2161:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:2162:28: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:2163:21: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:2161:43: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:2161:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:2163:21: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:2190:28: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:2189:43: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:2189:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:2190:28: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:2191:21: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:2189:43: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:2189:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:2191:21: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:2218:28: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:2217:43: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:2217:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:2218:28: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:2219:21: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:2217:43: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:2217:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:2219:21: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:2246:28: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:2245:43: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:2245:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:2246:28: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:2247:21: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:2245:43: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:2245:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:2247:21: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:2274:28: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:2273:43: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:2273:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:2274:28: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:2275:21: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:2273:43: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:2273:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:2275:21: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:2302:28: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:2301:43: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:2301:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:2302:28: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:2303:21: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:2301:43: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:2301:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:2303:21: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:2417:24: warning: If memory allocation fails, then there is a possible null pointer dereference: sysex_store [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:2416:49: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:2416:31: note: Assignment 'sysex_store=(uint8_t*)malloc(sizeof(uint8_t)*sysex_len)', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:2417:24: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:2419:21: warning: If memory allocation fails, then there is a possible null pointer dereference: sysex_store [nullPointerOutOfMemory] wildmidi-0.4.6/src/internal_midi.c:2416:49: note: Assuming allocation function fails wildmidi-0.4.6/src/internal_midi.c:2416:31: note: Assignment 'sysex_store=(uint8_t*)malloc(sizeof(uint8_t)*sysex_len)', assigned value is 0 wildmidi-0.4.6/src/internal_midi.c:2419:21: note: Null pointer dereference wildmidi-0.4.6/src/internal_midi.c:1123:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] wildmidi-0.4.6/src/internal_midi.c:1125:7: note: Found duplicate branches for 'if' and 'else'. wildmidi-0.4.6/src/internal_midi.c:1123:5: note: Found duplicate branches for 'if' and 'else'. wildmidi-0.4.6/src/internal_midi.c:844:72: style: Parameter 'data' can be declared as pointer to const. However it seems that '_WM_do_control_channel_hold' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] wildmidi-0.4.6/src/internal_midi.c:1557:25: note: You might need to cast the function pointer here wildmidi-0.4.6/src/internal_midi.c:844:72: note: Parameter 'data' can be declared as pointer to const wildmidi-0.4.6/src/internal_midi.c:911:59: style: Parameter 'data' can be declared as pointer to const. However it seems that '_WM_do_control_data_increment' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] wildmidi-0.4.6/src/internal_midi.c:1561:25: note: You might need to cast the function pointer here wildmidi-0.4.6/src/internal_midi.c:911:59: note: Parameter 'data' can be declared as pointer to const wildmidi-0.4.6/src/internal_midi.c:923:59: style: Parameter 'data' can be declared as pointer to const. However it seems that '_WM_do_control_data_decrement' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] wildmidi-0.4.6/src/internal_midi.c:1565:25: note: You might need to cast the function pointer here wildmidi-0.4.6/src/internal_midi.c:923:59: note: Parameter 'data' can be declared as pointer to const wildmidi-0.4.6/src/internal_midi.c:969:52: style: Parameter 'mdi' can be declared as pointer to const. However it seems that '_WM_do_control_channel_sound_off' is a callback function, if 'mdi' is declared with const you might also need to cast function pointer(s). [constParameterCallback] wildmidi-0.4.6/src/internal_midi.c:1585:25: note: You might need to cast the function pointer here wildmidi-0.4.6/src/internal_midi.c:969:52: note: Parameter 'mdi' can be declared as pointer to const wildmidi-0.4.6/src/internal_midi.c:970:59: style: Parameter 'data' can be declared as pointer to const. However it seems that '_WM_do_control_channel_sound_off' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] wildmidi-0.4.6/src/internal_midi.c:1585:25: note: You might need to cast the function pointer here wildmidi-0.4.6/src/internal_midi.c:970:59: note: Parameter 'data' can be declared as pointer to const wildmidi-0.4.6/src/internal_midi.c:989:65: style: Parameter 'data' can be declared as pointer to const. However it seems that '_WM_do_control_channel_controllers_off' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] wildmidi-0.4.6/src/internal_midi.c:1589:25: note: You might need to cast the function pointer here wildmidi-0.4.6/src/internal_midi.c:989:65: note: Parameter 'data' can be declared as pointer to const wildmidi-0.4.6/src/internal_midi.c:1004:52: style: Parameter 'mdi' can be declared as pointer to const. However it seems that '_WM_do_control_channel_notes_off' is a callback function, if 'mdi' is declared with const you might also need to cast function pointer(s). [constParameterCallback] wildmidi-0.4.6/src/internal_midi.c:1593:25: note: You might need to cast the function pointer here wildmidi-0.4.6/src/internal_midi.c:1004:52: note: Parameter 'mdi' can be declared as pointer to const wildmidi-0.4.6/src/internal_midi.c:1005:59: style: Parameter 'data' can be declared as pointer to const. However it seems that '_WM_do_control_channel_notes_off' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] wildmidi-0.4.6/src/internal_midi.c:1593:25: note: You might need to cast the function pointer here wildmidi-0.4.6/src/internal_midi.c:1005:59: note: Parameter 'data' can be declared as pointer to const wildmidi-0.4.6/src/internal_midi.c:1106:75: style: Parameter 'data' can be declared as pointer to const. However it seems that '_WM_do_sysex_roland_drum_track' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] wildmidi-0.4.6/src/internal_midi.c:1665:46: note: You might need to cast the function pointer here wildmidi-0.4.6/src/internal_midi.c:1106:75: note: Parameter 'data' can be declared as pointer to const wildmidi-0.4.6/src/internal_midi.c:1120:66: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] wildmidi-0.4.6/src/internal_midi.c:2420:29: style: Variable 'rolandsysexid' can be declared as const array [constVariable] wildmidi-0.4.6/src/internal_midi.c:2455:33: style: Variable 'gm_reset' can be declared as const array [constVariable] wildmidi-0.4.6/src/internal_midi.c:2456:33: style: Variable 'yamaha_reset' can be declared as const array [constVariable] wildmidi-0.4.6/src/internal_midi.c:1175:22: style: Variable 'release' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/DevTest.c:695:21: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] wildmidi-0.4.6/src/DevTest.c:150:24: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] wildmidi-0.4.6/src/DevTest.c:1493:50: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] wildmidi-0.4.6/src/DevTest.c:736:5: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] wildmidi-0.4.6/src/DevTest.c:781:18: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] wildmidi-0.4.6/src/DevTest.c:781:18: warning: %i in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] wildmidi-0.4.6/src/DevTest.c:992:18: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] wildmidi-0.4.6/src/DevTest.c:1010:22: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] wildmidi-0.4.6/src/DevTest.c:1614:9: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] wildmidi-0.4.6/src/DevTest.c:1630:9: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] wildmidi-0.4.6/src/DevTest.c:1646:9: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] wildmidi-0.4.6/src/DevTest.c:1663:9: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] wildmidi-0.4.6/src/DevTest.c:1706:13: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] wildmidi-0.4.6/src/DevTest.c:450:17: error: Common realloc mistake: 'sysex_store' nulled but not freed upon failure [memleakOnRealloc] wildmidi-0.4.6/src/DevTest.c:1000:5: warning: If memory allocation fails, then there is a possible null pointer dereference: hmi_track_offset [nullPointerOutOfMemory] wildmidi-0.4.6/src/DevTest.c:993:30: note: Assuming allocation function fails wildmidi-0.4.6/src/DevTest.c:993:30: note: Assignment 'hmi_track_offset=malloc(sizeof(uint32_t)*hmi_track_cnt)', assigned value is 0 wildmidi-0.4.6/src/DevTest.c:1000:5: note: Null pointer dereference wildmidi-0.4.6/src/DevTest.c:1004:9: warning: If memory allocation fails, then there is a possible null pointer dereference: hmi_track_offset [nullPointerOutOfMemory] wildmidi-0.4.6/src/DevTest.c:993:30: note: Assuming allocation function fails wildmidi-0.4.6/src/DevTest.c:993:30: note: Assignment 'hmi_track_offset=malloc(sizeof(uint32_t)*hmi_track_cnt)', assigned value is 0 wildmidi-0.4.6/src/DevTest.c:1004:9: note: Null pointer dereference wildmidi-0.4.6/src/DevTest.c:1005:9: warning: If memory allocation fails, then there is a possible null pointer dereference: hmi_track_offset [nullPointerOutOfMemory] wildmidi-0.4.6/src/DevTest.c:993:30: note: Assuming allocation function fails wildmidi-0.4.6/src/DevTest.c:993:30: note: Assignment 'hmi_track_offset=malloc(sizeof(uint32_t)*hmi_track_cnt)', assigned value is 0 wildmidi-0.4.6/src/DevTest.c:1005:9: note: Null pointer dereference wildmidi-0.4.6/src/DevTest.c:1006:9: warning: If memory allocation fails, then there is a possible null pointer dereference: hmi_track_offset [nullPointerOutOfMemory] wildmidi-0.4.6/src/DevTest.c:993:30: note: Assuming allocation function fails wildmidi-0.4.6/src/DevTest.c:993:30: note: Assignment 'hmi_track_offset=malloc(sizeof(uint32_t)*hmi_track_cnt)', assigned value is 0 wildmidi-0.4.6/src/DevTest.c:1006:9: note: Null pointer dereference wildmidi-0.4.6/src/DevTest.c:1007:9: warning: If memory allocation fails, then there is a possible null pointer dereference: hmi_track_offset [nullPointerOutOfMemory] wildmidi-0.4.6/src/DevTest.c:993:30: note: Assuming allocation function fails wildmidi-0.4.6/src/DevTest.c:993:30: note: Assignment 'hmi_track_offset=malloc(sizeof(uint32_t)*hmi_track_cnt)', assigned value is 0 wildmidi-0.4.6/src/DevTest.c:1007:9: note: Null pointer dereference wildmidi-0.4.6/src/DevTest.c:1010:57: warning: If memory allocation fails, then there is a possible null pointer dereference: hmi_track_offset [nullPointerOutOfMemory] wildmidi-0.4.6/src/DevTest.c:993:30: note: Assuming allocation function fails wildmidi-0.4.6/src/DevTest.c:993:30: note: Assignment 'hmi_track_offset=malloc(sizeof(uint32_t)*hmi_track_cnt)', assigned value is 0 wildmidi-0.4.6/src/DevTest.c:1010:57: note: Null pointer dereference wildmidi-0.4.6/src/DevTest.c:1014:18: warning: If memory allocation fails, then there is a possible null pointer dereference: hmi_track_offset [nullPointerOutOfMemory] wildmidi-0.4.6/src/DevTest.c:993:30: note: Assuming allocation function fails wildmidi-0.4.6/src/DevTest.c:993:30: note: Assignment 'hmi_track_offset=malloc(sizeof(uint32_t)*hmi_track_cnt)', assigned value is 0 wildmidi-0.4.6/src/DevTest.c:1014:18: note: Null pointer dereference wildmidi-0.4.6/src/DevTest.c:1015:18: warning: If memory allocation fails, then there is a possible null pointer dereference: hmi_track_offset [nullPointerOutOfMemory] wildmidi-0.4.6/src/DevTest.c:993:30: note: Assuming allocation function fails wildmidi-0.4.6/src/DevTest.c:993:30: note: Assignment 'hmi_track_offset=malloc(sizeof(uint32_t)*hmi_track_cnt)', assigned value is 0 wildmidi-0.4.6/src/DevTest.c:1015:18: note: Null pointer dereference wildmidi-0.4.6/src/DevTest.c:1016:17: warning: If memory allocation fails, then there is a possible null pointer dereference: hmi_track_offset [nullPointerOutOfMemory] wildmidi-0.4.6/src/DevTest.c:993:30: note: Assuming allocation function fails wildmidi-0.4.6/src/DevTest.c:993:30: note: Assignment 'hmi_track_offset=malloc(sizeof(uint32_t)*hmi_track_cnt)', assigned value is 0 wildmidi-0.4.6/src/DevTest.c:1016:17: note: Null pointer dereference wildmidi-0.4.6/src/DevTest.c:139:11: style: Variable 'ret_data' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/DevTest.c:143:20: style: Variable 'pwd_ent' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/DevTest.c:458:35: style: Variable 'tmpsysexdata' can be declared as const array [constVariable] wildmidi-0.4.6/src/DevTest.c:751:40: style: Parameter 'mus_data' can be declared as pointer to const [constParameterPointer] wildmidi-0.4.6/src/DevTest.c:760:13: style: Variable 'mus_hdr' can be declared as const array [constVariable] wildmidi-0.4.6/src/DevTest.c:1833:32: style: Variable 'tmp_ptr' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/DevTest.c:1862:40: style: Parameter 'gus_patch' can be declared as pointer to const [constParameterPointer] wildmidi-0.4.6/src/DevTest.c:2001:13: style: Variable 'mus_hdr' can be declared as const array [constVariable] wildmidi-0.4.6/src/DevTest.c:2002:13: style: Variable 'xmi_hdr' can be declared as const array [constVariable] wildmidi-0.4.6/src/DevTest.c:233:12: style: Variable 'nt' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/DevTest.c:457:49: style: Variable 'sysex_ofs' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/DevTest.c:695:31: style: Variable 'midi_data' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/DevTest.c:724:23: style: Variable 'add_mins' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/DevTest.c:962:24: style: Variable 'hmi_delta' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/DevTest.c:963:28: style: Variable 'hmi_track_end' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/DevTest.c:964:23: style: Variable 'check_ret' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/DevTest.c:966:38: style: Variable 'hmi_track_header_length' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/DevTest.c:1154:16: style: Variable 'j' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/DevTest.c:1157:28: style: Variable 'hmp_chunk_num' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/DevTest.c:1158:31: style: Variable 'hmp_chunk_length' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/DevTest.c:1161:24: style: Variable 'hmp_track' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/DevTest.c:1162:30: style: Variable 'hmp_var_len_val' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/DevTest.c:1163:23: style: Variable 'check_ret' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/DevTest.c:1310:20: style: Variable 'j' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/DevTest.c:1313:30: style: Variable 'subform_len' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/DevTest.c:1314:28: style: Variable 'event_len' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/DevTest.c:1474:31: style: Variable 'check_ret' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/DevTest.c:1577:19: style: Variable 'check_ret' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/wildmidi_lib.c:331:21: error: Common realloc mistake: 'token_data' nulled but not freed upon failure [memleakOnRealloc] wildmidi-0.4.6/src/wildmidi_lib.c:348:13: error: Common realloc mistake: 'token_data' nulled but not freed upon failure [memleakOnRealloc] wildmidi-0.4.6/src/wildmidi_lib.c:1087:21: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] wildmidi-0.4.6/src/wildmidi_lib.c:1422:21: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] wildmidi-0.4.6/src/wildmidi_lib.c:1143:14: style: Variable 'sptr' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/wildmidi_lib.c:1145:20: style: Variable 'gend' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/wildmidi_lib.c:1585:48: style: Parameter 'callbacks' can be declared as pointer to const [constParameterPointer] wildmidi-0.4.6/src/wildmidi_lib.c:1658:13: style: Variable 'mus_hdr' can be declared as const array [constVariable] wildmidi-0.4.6/src/wildmidi_lib.c:1659:13: style: Variable 'xmi_hdr' can be declared as const array [constVariable] wildmidi-0.4.6/src/wildmidi_lib.c:1702:13: style: Variable 'mus_hdr' can be declared as const array [constVariable] wildmidi-0.4.6/src/wildmidi_lib.c:1703:13: style: Variable 'xmi_hdr' can be declared as const array [constVariable] wildmidi-0.4.6/src/wildmidi_lib.c:1840:20: style: Variable 'event_new' can be declared as pointer to const [constVariablePointer] wildmidi-0.4.6/src/wildmidi_lib.c:88:14: style: struct member '_miditrack::length' is never used. [unusedStructMember] wildmidi-0.4.6/src/wildmidi_lib.c:89:14: style: struct member '_miditrack::ptr' is never used. [unusedStructMember] wildmidi-0.4.6/src/wildmidi_lib.c:90:14: style: struct member '_miditrack::delta' is never used. [unusedStructMember] wildmidi-0.4.6/src/wildmidi_lib.c:91:13: style: struct member '_miditrack::running_event' is never used. [unusedStructMember] wildmidi-0.4.6/src/wildmidi_lib.c:92:13: style: struct member '_miditrack::EOT' is never used. [unusedStructMember] wildmidi-0.4.6/src/wildmidi_lib.c:96:20: style: struct member '_mdi_patches::patch' is never used. [unusedStructMember] wildmidi-0.4.6/src/wildmidi_lib.c:367:21: style: Variable 'token_count' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/wildmidi_lib.c:825:34: style: Variable 'real_samples_to_mix' is assigned a value that is never used. [unreadVariable] wildmidi-0.4.6/src/wildmidi_lib.c:1138:34: style: Variable 'real_samples_to_mix' is assigned a value that is never used. [unreadVariable] diff: head wildmidi-0.4.6/src/xmi2mid.c:847:17: style: Variable 'event' can be declared as pointer to const [constVariablePointer] DONE