2025-07-06 15:08 ftp://ftp.de.debian.org/debian/pool/main/w/wildmidi/wildmidi_0.4.3.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: 9b11b6b (2025-07-04 16:03:30 +0200) count: 419 417 elapsed-time: 6.6 6.7 head-timing-info: old-timing-info: head results: wildmidi-wildmidi-0.4.3/src/amiga.c:53:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timerequest [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/amiga.c:97:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TR_ADDREQUEST [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:72:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __djgpp_selector_limit [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:148:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __djgpp_conventional_base [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:95:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __djgpp_base_address [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:132:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __djgpp_base_address [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:165:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __djgpp_base_address [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:212:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __djgpp_base_address [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:148:2: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:147:32: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:147:11: note: Assignment 'buffer=(struct dma_buffer*)malloc(sizeof(struct dma_buffer))', assigned value is 0 wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:148:2: note: Null pointer dereference wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:149:2: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:147:32: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:147:11: note: Assignment 'buffer=(struct dma_buffer*)malloc(sizeof(struct dma_buffer))', assigned value is 0 wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:149:2: note: Null pointer dereference wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:150:2: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:147:32: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:147:11: note: Assignment 'buffer=(struct dma_buffer*)malloc(sizeof(struct dma_buffer))', assigned value is 0 wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:150:2: note: Null pointer dereference wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:151:2: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:147:32: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:147:11: note: Assignment 'buffer=(struct dma_buffer*)malloc(sizeof(struct dma_buffer))', assigned value is 0 wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:151:2: note: Null pointer dereference wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:152:2: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:147:32: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:147:11: note: Assignment 'buffer=(struct dma_buffer*)malloc(sizeof(struct dma_buffer))', assigned value is 0 wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:152:2: note: Null pointer dereference wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:154:22: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:147:32: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:147:11: note: Assignment 'buffer=(struct dma_buffer*)malloc(sizeof(struct dma_buffer))', assigned value is 0 wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:154:22: note: Null pointer dereference wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:155:19: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:147:32: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:147:11: note: Assignment 'buffer=(struct dma_buffer*)malloc(sizeof(struct dma_buffer))', assigned value is 0 wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:155:19: note: Null pointer dereference wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:199:29: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:149:19: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] wildmidi-wildmidi-0.4.3/djgpp/dosdma.c:150:15: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] wildmidi-wildmidi-0.4.3/djgpp/dossb.c:175:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _dos_ds [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/djgpp/dossb.c:378:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __djgpp_base_address [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/djgpp/dossb.c:417:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __djgpp_base_address [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:173:2: warning: If memory allocation fails, then there is a possible null pointer dereference: irq [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:172:36: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:172:8: note: Assignment 'irq=(struct irq_handle*)malloc(sizeof(struct irq_handle))', assigned value is 0 wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:173:2: note: Null pointer dereference wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:174:2: warning: If memory allocation fails, then there is a possible null pointer dereference: irq [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:172:36: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:172:8: note: Assignment 'irq=(struct irq_handle*)malloc(sizeof(struct irq_handle))', assigned value is 0 wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:174:2: note: Null pointer dereference wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:175:2: warning: If memory allocation fails, then there is a possible null pointer dereference: irq [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:172:36: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:172:8: note: Assignment 'irq=(struct irq_handle*)malloc(sizeof(struct irq_handle))', assigned value is 0 wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:175:2: note: Null pointer dereference wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:176:2: warning: If memory allocation fails, then there is a possible null pointer dereference: irq [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:172:36: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:172:8: note: Assignment 'irq=(struct irq_handle*)malloc(sizeof(struct irq_handle))', assigned value is 0 wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:176:2: note: Null pointer dereference wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:177:2: warning: If memory allocation fails, then there is a possible null pointer dereference: irq [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:172:36: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:172:8: note: Assignment 'irq=(struct irq_handle*)malloc(sizeof(struct irq_handle))', assigned value is 0 wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:177:2: note: Null pointer dereference wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:178:2: warning: If memory allocation fails, then there is a possible null pointer dereference: irq [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:172:36: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:172:8: note: Assignment 'irq=(struct irq_handle*)malloc(sizeof(struct irq_handle))', assigned value is 0 wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:178:2: note: Null pointer dereference wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:179:2: warning: If memory allocation fails, then there is a possible null pointer dereference: irq [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:172:36: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:172:8: note: Assignment 'irq=(struct irq_handle*)malloc(sizeof(struct irq_handle))', assigned value is 0 wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:179:2: note: Null pointer dereference wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:180:2: warning: If memory allocation fails, then there is a possible null pointer dereference: irq [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:172:36: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:172:8: note: Assignment 'irq=(struct irq_handle*)malloc(sizeof(struct irq_handle))', assigned value is 0 wildmidi-wildmidi-0.4.3/djgpp/dosirq.c:180:2: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/f_hmp.c:73:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/djgpp/dosirq.h:43:59: style: Parameter 'irq' can be declared as pointer to const [constParameterPointer] wildmidi-wildmidi-0.4.3/djgpp/dosirq.h:81:52: style: Parameter 'irq' can be declared as pointer to const [constParameterPointer] wildmidi-wildmidi-0.4.3/djgpp/dosirq.h:88:51: style: Parameter 'irq' can be declared as pointer to const [constParameterPointer] wildmidi-wildmidi-0.4.3/src/f_hmi.c:80:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/f_mus.c:75:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/DevTest.c:159:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/DevTest.c:2020:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/f_hmp.c:203:9: warning: If memory allocation fails, then there is a possible null pointer dereference: hmp_chunk [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/f_hmp.c:193:36: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/f_hmp.c:193:17: note: Assignment 'hmp_chunk=(uint8_t**)malloc(sizeof(uint8_t*)*hmp_chunks)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/f_hmp.c:203:9: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/f_mus.c:111:9: warning: If memory allocation fails, then there is a possible null pointer dereference: mus_mid_instr [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/f_mus.c:109:40: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/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-wildmidi-0.4.3/src/f_mus.c:111:9: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/f_hmp.c:204:9: warning: If memory allocation fails, then there is a possible null pointer dereference: chunk_ofs [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/f_hmp.c:196:36: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/f_hmp.c:196:17: note: Assignment 'chunk_ofs=(uint32_t*)malloc(sizeof(uint32_t)*hmp_chunks)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/f_hmp.c:204:9: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/f_hmp.c:210:9: warning: If memory allocation fails, then there is a possible null pointer dereference: chunk_ofs [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/f_hmp.c:196:36: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/f_hmp.c:196:17: note: Assignment 'chunk_ofs=(uint32_t*)malloc(sizeof(uint32_t)*hmp_chunks)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/f_hmp.c:210:9: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/f_hmp.c:214:9: warning: If memory allocation fails, then there is a possible null pointer dereference: chunk_length [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/f_hmp.c:194:39: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/f_hmp.c:194:20: note: Assignment 'chunk_length=(uint32_t*)malloc(sizeof(uint32_t)*hmp_chunks)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/f_hmp.c:214:9: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/f_hmp.c:215:9: warning: If memory allocation fails, then there is a possible null pointer dereference: chunk_length [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/f_hmp.c:194:39: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/f_hmp.c:194:20: note: Assignment 'chunk_length=(uint32_t*)malloc(sizeof(uint32_t)*hmp_chunks)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/f_hmp.c:215:9: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/f_hmp.c:216:9: warning: If memory allocation fails, then there is a possible null pointer dereference: chunk_length [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/f_hmp.c:194:39: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/f_hmp.c:194:20: note: Assignment 'chunk_length=(uint32_t*)malloc(sizeof(uint32_t)*hmp_chunks)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/f_hmp.c:216:9: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/f_hmp.c:217:9: warning: If memory allocation fails, then there is a possible null pointer dereference: chunk_length [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/f_hmp.c:194:39: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/f_hmp.c:194:20: note: Assignment 'chunk_length=(uint32_t*)malloc(sizeof(uint32_t)*hmp_chunks)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/f_hmp.c:217:9: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/f_hmp.c:218:9: warning: If memory allocation fails, then there is a possible null pointer dereference: chunk_ofs [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/f_hmp.c:196:36: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/f_hmp.c:196:17: note: Assignment 'chunk_ofs=(uint32_t*)malloc(sizeof(uint32_t)*hmp_chunks)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/f_hmp.c:218:9: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/f_hmp.c:220:13: warning: If memory allocation fails, then there is a possible null pointer dereference: chunk_length [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/f_hmp.c:194:39: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/f_hmp.c:194:20: note: Assignment 'chunk_length=(uint32_t*)malloc(sizeof(uint32_t)*hmp_chunks)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/f_hmp.c:220:13: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/f_hmp.c:342:21: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] wildmidi-wildmidi-0.4.3/src/f_mus.c:49:13: style: Variable 'mus_hdr' can be declared as const array [constVariable] wildmidi-wildmidi-0.4.3/djgpp/dossb.c:209:8: style: Local variable 'dma' shadows outer variable [shadowVariable] wildmidi-wildmidi-0.4.3/djgpp/dosdma.h:93:19: note: Shadowed declaration wildmidi-wildmidi-0.4.3/djgpp/dossb.c:209:8: note: Shadow variable wildmidi-wildmidi-0.4.3/src/file_io.c:154:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/file_io.c:145:19: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] wildmidi-wildmidi-0.4.3/src/file_io.c:141:20: style: Variable 'pwd_ent' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/file_io.c:161:15: style: Variable 'cwdresult' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/getopt_long.c:180:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/getopt_long.c:428:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/f_xmidi.c:67:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/gus_pat.c:66:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/gus_pat.c:93:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/gus_pat.c:140:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/gus_pat.c:171:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/gus_pat.c:216:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/gus_pat.c:242:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/gus_pat.c:289:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/gus_pat.c:320:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/gus_pat.c:364:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/gus_pat.c:394:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/gus_pat.c:449:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/gus_pat.c:484:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/gus_pat.c:533:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/gus_pat.c:563:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/gus_pat.c:618:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/gus_pat.c:653:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/gus_pat.c:730:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/getopt_long.c:162:8: style: Variable 'current_argv' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/getopt_long.c:287:8: style: Variable 'oli' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/f_hmi.c:134:5: warning: If memory allocation fails, then there is a possible null pointer dereference: hmi_track_offset [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/f_hmi.c:123:43: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/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-wildmidi-0.4.3/src/f_hmi.c:134:5: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/f_hmi.c:45:14: style: Variable 'data_end' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/lock.c:82:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] wildmidi-wildmidi-0.4.3/src/f_midi.c:68:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/f_midi.c:450:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/mus2mid.c:231:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/gus_pat.c:62:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:63:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:87:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:88:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:135:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:136:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:165:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:166:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:212:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:213:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:236:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:237:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:284:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:285:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:314:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:315:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:360:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:361:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:388:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:389:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:444:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:445:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:478:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:479:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:529:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:530:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:557:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:558:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:613:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:614:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:647:14: style: Variable 'read_data' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:648:14: style: Variable 'read_end' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/gus_pat.c:138:23: style: Variable 'tmp_loop' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/gus_pat.c:287:23: style: Variable 'tmp_loop' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/gus_pat.c:447:23: style: Variable 'tmp_loop' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/gus_pat.c:616:23: style: Variable 'tmp_loop' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/gus_pat.c:706:16: style: Variable 'i' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/mus2mid.c:186:43: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] wildmidi-wildmidi-0.4.3/src/patches.c:72:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable patchid [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/mus2mid.c:111:10: style: struct member 'MidiHeaderChunk::name' is never used. [unusedStructMember] wildmidi-wildmidi-0.4.3/src/mus2mid.c:112:13: style: struct member 'MidiHeaderChunk::length' is never used. [unusedStructMember] wildmidi-wildmidi-0.4.3/src/mus2mid.c:113:13: style: struct member 'MidiHeaderChunk::format' is never used. [unusedStructMember] wildmidi-wildmidi-0.4.3/src/mus2mid.c:114:13: style: struct member 'MidiHeaderChunk::ntracks' is never used. [unusedStructMember] wildmidi-wildmidi-0.4.3/src/mus2mid.c:115:13: style: struct member 'MidiHeaderChunk::division' is never used. [unusedStructMember] wildmidi-wildmidi-0.4.3/src/mus2mid.c:120:10: style: struct member 'MidiTrackChunk::name' is never used. [unusedStructMember] wildmidi-wildmidi-0.4.3/src/mus2mid.c:121:13: style: struct member 'MidiTrackChunk::length' is never used. [unusedStructMember] wildmidi-wildmidi-0.4.3/src/sample.c:47:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isdrum [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/sample.c:84:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_patch_lock [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/sample.c:126:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_fix_release [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:475:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable balance [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:550:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MEM_CHUNK [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:561:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAMPLE_ENVELOPE [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:622:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isdrum [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:646:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pitch_adjust [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:675:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isdrum [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:776:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bank [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:785:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reg_non [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:799:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable volume [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:808:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable balance [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:816:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pan [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:825:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable expression [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:835:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reg_non [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:850:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hold [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:915:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reg_non [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:927:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reg_non [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:937:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reg_data [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:946:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reg_data [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:955:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reg_data [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:964:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reg_data [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:993:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable expression [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1010:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isdrum [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1051:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isdrum [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1064:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pressure [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1086:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pitch [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1112:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isdrum [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1130:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bank [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1182:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAMPLE_ENVELOPE [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1322:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_MO_TEXTASLYRIC [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1375:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_MO_TEXTASLYRIC [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1418:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1456:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1470:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1484:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1501:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1526:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_control_bank_select [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1618:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1639:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1651:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1664:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1683:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1695:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1707:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1719:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1731:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1743:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1755:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1767:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1779:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1791:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1803:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1831:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1844:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1857:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1870:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1883:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1896:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1909:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evtype [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mdi [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1959:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_patch_lock [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/internal_midi.c:2352:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable channel [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/sample.c:43:21: style: Variable 'sample' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/sample.c:121:16: style: Variable 'i' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/sample.c:133:26: style: Variable 'samp_max' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/sample.c:134:26: style: Variable 'samp_min' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/wildmidi.c:371:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi.c:402:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi.c:456:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi.c:496:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi.c:518:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi.c:1492:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi.c:1547:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WILDMIDI_CFG [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi.c:1553:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi.c:1632:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/reverb.c:123:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _rvb [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi.c:2103:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] wildmidi-wildmidi-0.4.3/src/wildmidi.c:2096:33: style:inconclusive: Function 'msleep' argument 1 names different: declaration 'millisec' definition 'milisec'. [funcArgNamesDifferent] wildmidi-wildmidi-0.4.3/src/wildmidi.c:110:33: note: Function 'msleep' argument 1 names different: declaration 'millisec' definition 'milisec'. wildmidi-wildmidi-0.4.3/src/wildmidi.c:2096:33: note: Function 'msleep' argument 1 names different: declaration 'millisec' definition 'milisec'. wildmidi-wildmidi-0.4.3/src/wildmidi.c:394:36: style: Parameter 'output_data' can be declared as pointer to const [constParameterPointer] wildmidi-wildmidi-0.4.3/src/wildmidi.c:486:37: 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-wildmidi-0.4.3/src/wildmidi.c:479:19: note: You might need to cast the function pointer here wildmidi-wildmidi-0.4.3/src/wildmidi.c:486:37: note: Parameter 'output_data' can be declared as pointer to const wildmidi-wildmidi-0.4.3/src/wildmidi.c:1570:22: style: Variable 'wm_info' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/wildmidi.c:1589:17: style: Variable 'spinner' can be declared as const array [constVariable] wildmidi-wildmidi-0.4.3/src/wildmidi.c:1594:12: style: Variable 'ret_err' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/wildmidi.c:1597:11: style: Variable 'last_lyric' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/wildmidi.c:1977:31: style: Variable 'real_file' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/reverb.c:77:12: style: Variable 'Freq' can be declared as const array [constVariable] wildmidi-wildmidi-0.4.3/src/reverb.c:81:12: style: Variable 'dbAirAbs' can be declared as const array [constVariable] wildmidi-wildmidi-0.4.3/src/reverb.c:88:12: style: Variable 'dbAttn' can be declared as const array [constVariable] wildmidi-wildmidi-0.4.3/src/reverb.c:297:23: style: Variable 'l_buf_flt' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/reverb.c:298:23: style: Variable 'r_buf_flt' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/reverb.c:299:19: style: Variable 'l_rfl' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/reverb.c:300:19: style: Variable 'r_rfl' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/wm_error.c:34:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wm_error.c:74:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_ERR_MAX [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wm_error.c:114:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_ERR_MAX [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wm_error.c:112:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: errorstring [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/wm_error.c:109:34: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/wm_error.c:109:19: note: Assignment 'errorstring=(char*)malloc(255+1)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/wm_error.c:112:5: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/f_xmidi.c:218:54: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] wildmidi-wildmidi-0.4.3/src/f_xmidi.c:210:39: style: Condition '*xmi_data>0x7f' is always false [knownConditionTrueFalse] wildmidi-wildmidi-0.4.3/src/f_xmidi.c:208:35: note: Assuming that condition '*xmi_data<0x80' is not redundant wildmidi-wildmidi-0.4.3/src/f_xmidi.c:210:39: note: Condition '*xmi_data>0x7f' is always false wildmidi-wildmidi-0.4.3/src/f_xmidi.c:141:12: warning: If memory allocation fails, then there is a possible null pointer dereference: xmi_notelen [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/f_xmidi.c:140:38: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/f_xmidi.c:140:19: note: Assignment 'xmi_notelen=(uint32_t*)malloc(sizeof(uint32_t)*16*128)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/f_xmidi.c:141:12: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/wm_tty.c:54:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICANON [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wm_tty.c:68:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSADRAIN [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/xmi2mid.c:471:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMIDI_CONVERT_MT32_TO_GS [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/xmi2mid.c:658:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMIDI_CONVERT_MT32_TO_GM [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/xmi2mid.c:776:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMIDI_CONVERT_MT32_TO_GS127 [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/xmi2mid.c:917:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/xmi2mid.c:960:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/xmi2mid.c:987:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/f_midi.c:463:6: warning: If memory allocation fails, then there is a possible null pointer dereference: *out [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/f_midi.c:460:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/f_midi.c:460:14: note: Assignment '(*out)=(uint8_t*)malloc(sizeof(uint8_t)*(mdi->event_count*12))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/f_midi.c:463:6: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/f_midi.c:310:25: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] wildmidi-wildmidi-0.4.3/src/f_midi.c:436:29: style: Parameter 'mdi' can be declared as pointer to const [constParameterPointer] wildmidi-wildmidi-0.4.3/src/f_midi.c:760:21: style: Variable 'foo' can be declared as const array [constVariable] wildmidi-wildmidi-0.4.3/src/f_midi.c:768:21: style: Variable 'foo' can be declared as const array [constVariable] wildmidi-wildmidi-0.4.3/src/f_midi.c:776:21: style: Variable 'foo' can be declared as const array [constVariable] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:218:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_patch [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:227:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_patch_lock [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:333:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:377:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:784:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:843:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MEM_CHUNK [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:1162:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MEM_CHUNK [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:1484:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:1499:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:1528:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:1537:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBWILDMIDI_VERSION [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:1543:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:1592:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:1601:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:1620:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:1668:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:1712:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:1756:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:1849:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:1953:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:1981:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:2000:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:2045:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:2057:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:2099:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:2153:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:2171:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_Global_ErrorS [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:2178:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WM_Global_ErrorI [valueFlowBailoutIncompleteVar] wildmidi-wildmidi-0.4.3/src/xmi2mid.c:553:9: warning: If memory allocation fails, then there is a possible null pointer dereference: event [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/xmi2mid.c:552:50: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/xmi2mid.c:552:29: note: Assignment 'event=(struct midi_event*)calloc(1,sizeof(struct midi_event))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/xmi2mid.c:553:9: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/xmi2mid.c:564:13: warning: If memory allocation fails, then there is a possible null pointer dereference: event [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/xmi2mid.c:563:54: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/xmi2mid.c:563:33: note: Assignment 'event=(struct midi_event*)calloc(1,sizeof(struct midi_event))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/xmi2mid.c:564:13: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/xmi2mid.c:567:16: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx->current [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/xmi2mid.c:563:54: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/xmi2mid.c:563:33: note: Assignment 'event=(struct midi_event*)calloc(1,sizeof(struct midi_event))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/xmi2mid.c:566:28: note: Assignment 'ctx->current=event', assigned value is 0 wildmidi-wildmidi-0.4.3/src/xmi2mid.c:567:16: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/xmi2mid.c:576:8: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx->current [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/xmi2mid.c:574:47: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/xmi2mid.c:574:26: note: Assignment 'ctx->current->next=(struct midi_event*)calloc(1,sizeof(struct midi_event))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/xmi2mid.c:575:32: note: Assignment 'ctx->current=ctx->current->next', assigned value is 0 wildmidi-wildmidi-0.4.3/src/xmi2mid.c:576:8: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/xmi2mid.c:183:44: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] wildmidi-wildmidi-0.4.3/src/xmi2mid.c:187:43: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] wildmidi-wildmidi-0.4.3/src/xmi2mid.c:191:43: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] wildmidi-wildmidi-0.4.3/src/xmi2mid.c:772:21: style: Variable 'status' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/xmi2mid.c:934:18: style: Variable 'len' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1130:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1949:27: note: Calling function '_WM_do_sysex_gm_reset', 1st argument 'mdi' value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1130:9: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1136:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1949:27: note: Calling function '_WM_do_sysex_gm_reset', 1st argument 'mdi' value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1136:9: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1137:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1949:27: note: Calling function '_WM_do_sysex_gm_reset', 1st argument 'mdi' value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1137:9: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1138:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1949:27: note: Calling function '_WM_do_sysex_gm_reset', 1st argument 'mdi' value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1138:9: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1139:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1949:27: note: Calling function '_WM_do_sysex_gm_reset', 1st argument 'mdi' value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1139:9: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1140:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1949:27: note: Calling function '_WM_do_sysex_gm_reset', 1st argument 'mdi' value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1140:9: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1141:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1949:27: note: Calling function '_WM_do_sysex_gm_reset', 1st argument 'mdi' value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1141:9: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1142:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1949:27: note: Calling function '_WM_do_sysex_gm_reset', 1st argument 'mdi' value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1142:9: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1143:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1949:27: note: Calling function '_WM_do_sysex_gm_reset', 1st argument 'mdi' value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1143:9: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1144:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1949:27: note: Calling function '_WM_do_sysex_gm_reset', 1st argument 'mdi' value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1144:9: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1145:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1949:27: note: Calling function '_WM_do_sysex_gm_reset', 1st argument 'mdi' value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1145:9: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1151:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1949:27: note: Calling function '_WM_do_sysex_gm_reset', 1st argument 'mdi' value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1151:5: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1815:22: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:2301:43: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:2301:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:2304:46: note: Calling function 'midi_setup_cuepoint', 2nd argument 'text' value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1907:16: note: Calling function 'strip_text', 1st argument 'text' value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1815:22: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1818:26: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:2301:43: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:2301:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:2304:46: note: Calling function 'midi_setup_cuepoint', 2nd argument 'text' value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1907:16: note: Calling function 'strip_text', 1st argument 'text' value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1818:26: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1820:22: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:2301:43: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:2301:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:2304:46: note: Calling function 'midi_setup_cuepoint', 2nd argument 'text' value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1907:16: note: Calling function 'strip_text', 1st argument 'text' value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1820:22: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1823:26: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:2301:43: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:2301:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:2304:46: note: Calling function 'midi_setup_cuepoint', 2nd argument 'text' value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1907:16: note: Calling function 'strip_text', 1st argument 'text' value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1823:26: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1923:12: warning: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1923:12: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1925:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1925:5: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1926:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1926:5: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1930:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1930:5: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1931:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1931:5: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1931:44: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1931:44: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1932:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1932:5: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1933:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1933:5: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1933:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1933:26: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1935:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1935:5: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1936:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1936:5: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1937:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1937:5: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1938:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1938:5: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1940:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1940:5: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1941:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1941:5: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1942:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1942:5: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1943:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1943:5: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1945:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1945:5: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1947:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1947:5: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:2121:28: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:2120:43: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:2120:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:2121:28: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:2122:21: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:2120:43: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:2120:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:2122:21: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:2162:28: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:2161:43: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:2161:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:2162:28: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:2163:21: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:2161:43: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:2161:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:2163:21: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:2190:28: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:2189:43: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:2189:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:2190:28: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:2191:21: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:2189:43: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:2189:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:2191:21: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:2218:28: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:2217:43: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:2217:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:2218:28: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:2219:21: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:2217:43: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:2217:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:2219:21: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:2246:28: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:2245:43: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:2245:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:2246:28: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:2247:21: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:2245:43: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:2245:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:2247:21: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:2274:28: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:2273:43: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:2273:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:2274:28: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:2275:21: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:2273:43: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:2273:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:2275:21: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:2302:28: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:2301:43: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:2301:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:2302:28: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:2303:21: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:2301:43: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:2301:28: note: Assignment 'text=(char*)malloc(tmp_length+1)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:2303:21: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:2417:24: warning: If memory allocation fails, then there is a possible null pointer dereference: sysex_store [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:2416:49: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:2416:31: note: Assignment 'sysex_store=(uint8_t*)malloc(sizeof(uint8_t)*sysex_len)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:2417:24: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:2419:21: warning: If memory allocation fails, then there is a possible null pointer dereference: sysex_store [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:2416:49: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:2416:31: note: Assignment 'sysex_store=(uint8_t*)malloc(sizeof(uint8_t)*sysex_len)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:2419:21: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/internal_midi.c:1123:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1125:7: note: Found duplicate branches for 'if' and 'else'. wildmidi-wildmidi-0.4.3/src/internal_midi.c:1123:5: note: Found duplicate branches for 'if' and 'else'. wildmidi-wildmidi-0.4.3/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-wildmidi-0.4.3/src/internal_midi.c:1557:25: note: You might need to cast the function pointer here wildmidi-wildmidi-0.4.3/src/internal_midi.c:844:72: note: Parameter 'data' can be declared as pointer to const wildmidi-wildmidi-0.4.3/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-wildmidi-0.4.3/src/internal_midi.c:1561:25: note: You might need to cast the function pointer here wildmidi-wildmidi-0.4.3/src/internal_midi.c:911:59: note: Parameter 'data' can be declared as pointer to const wildmidi-wildmidi-0.4.3/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-wildmidi-0.4.3/src/internal_midi.c:1565:25: note: You might need to cast the function pointer here wildmidi-wildmidi-0.4.3/src/internal_midi.c:923:59: note: Parameter 'data' can be declared as pointer to const wildmidi-wildmidi-0.4.3/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-wildmidi-0.4.3/src/internal_midi.c:1585:25: note: You might need to cast the function pointer here wildmidi-wildmidi-0.4.3/src/internal_midi.c:969:52: note: Parameter 'mdi' can be declared as pointer to const wildmidi-wildmidi-0.4.3/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-wildmidi-0.4.3/src/internal_midi.c:1585:25: note: You might need to cast the function pointer here wildmidi-wildmidi-0.4.3/src/internal_midi.c:970:59: note: Parameter 'data' can be declared as pointer to const wildmidi-wildmidi-0.4.3/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-wildmidi-0.4.3/src/internal_midi.c:1589:25: note: You might need to cast the function pointer here wildmidi-wildmidi-0.4.3/src/internal_midi.c:989:65: note: Parameter 'data' can be declared as pointer to const wildmidi-wildmidi-0.4.3/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-wildmidi-0.4.3/src/internal_midi.c:1593:25: note: You might need to cast the function pointer here wildmidi-wildmidi-0.4.3/src/internal_midi.c:1004:52: note: Parameter 'mdi' can be declared as pointer to const wildmidi-wildmidi-0.4.3/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-wildmidi-0.4.3/src/internal_midi.c:1593:25: note: You might need to cast the function pointer here wildmidi-wildmidi-0.4.3/src/internal_midi.c:1005:59: note: Parameter 'data' can be declared as pointer to const wildmidi-wildmidi-0.4.3/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-wildmidi-0.4.3/src/internal_midi.c:1665:46: note: You might need to cast the function pointer here wildmidi-wildmidi-0.4.3/src/internal_midi.c:1106:75: note: Parameter 'data' can be declared as pointer to const wildmidi-wildmidi-0.4.3/src/internal_midi.c:1120:66: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] wildmidi-wildmidi-0.4.3/src/internal_midi.c:2006:57: style: Parameter 'event_data' can be declared as pointer to const [constParameterPointer] wildmidi-wildmidi-0.4.3/src/internal_midi.c:2420:29: style: Variable 'rolandsysexid' can be declared as const array [constVariable] wildmidi-wildmidi-0.4.3/src/internal_midi.c:2455:33: style: Variable 'gm_reset' can be declared as const array [constVariable] wildmidi-wildmidi-0.4.3/src/internal_midi.c:2456:33: style: Variable 'yamaha_reset' can be declared as const array [constVariable] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1175:22: style: Variable 'release' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/DevTest.c:695:21: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] wildmidi-wildmidi-0.4.3/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-wildmidi-0.4.3/src/DevTest.c:1493:50: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] wildmidi-wildmidi-0.4.3/src/DevTest.c:736:5: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] wildmidi-wildmidi-0.4.3/src/DevTest.c:781:18: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] wildmidi-wildmidi-0.4.3/src/DevTest.c:781:18: warning: %i in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] wildmidi-wildmidi-0.4.3/src/DevTest.c:992:18: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] wildmidi-wildmidi-0.4.3/src/DevTest.c:1010:22: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] wildmidi-wildmidi-0.4.3/src/DevTest.c:1614:9: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] wildmidi-wildmidi-0.4.3/src/DevTest.c:1630:9: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] wildmidi-wildmidi-0.4.3/src/DevTest.c:1646:9: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] wildmidi-wildmidi-0.4.3/src/DevTest.c:1663:9: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] wildmidi-wildmidi-0.4.3/src/DevTest.c:1708:13: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] wildmidi-wildmidi-0.4.3/src/DevTest.c:450:17: error: Common realloc mistake: 'sysex_store' nulled but not freed upon failure [memleakOnRealloc] wildmidi-wildmidi-0.4.3/src/DevTest.c:1000:5: warning: If memory allocation fails, then there is a possible null pointer dereference: hmi_track_offset [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/DevTest.c:993:30: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/DevTest.c:993:30: note: Assignment 'hmi_track_offset=malloc(sizeof(uint32_t)*hmi_track_cnt)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/DevTest.c:1000:5: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/DevTest.c:1004:9: warning: If memory allocation fails, then there is a possible null pointer dereference: hmi_track_offset [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/DevTest.c:993:30: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/DevTest.c:993:30: note: Assignment 'hmi_track_offset=malloc(sizeof(uint32_t)*hmi_track_cnt)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/DevTest.c:1004:9: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/DevTest.c:1005:9: warning: If memory allocation fails, then there is a possible null pointer dereference: hmi_track_offset [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/DevTest.c:993:30: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/DevTest.c:993:30: note: Assignment 'hmi_track_offset=malloc(sizeof(uint32_t)*hmi_track_cnt)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/DevTest.c:1005:9: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/DevTest.c:1006:9: warning: If memory allocation fails, then there is a possible null pointer dereference: hmi_track_offset [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/DevTest.c:993:30: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/DevTest.c:993:30: note: Assignment 'hmi_track_offset=malloc(sizeof(uint32_t)*hmi_track_cnt)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/DevTest.c:1006:9: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/DevTest.c:1007:9: warning: If memory allocation fails, then there is a possible null pointer dereference: hmi_track_offset [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/DevTest.c:993:30: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/DevTest.c:993:30: note: Assignment 'hmi_track_offset=malloc(sizeof(uint32_t)*hmi_track_cnt)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/DevTest.c:1007:9: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/DevTest.c:1010:57: warning: If memory allocation fails, then there is a possible null pointer dereference: hmi_track_offset [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/DevTest.c:993:30: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/DevTest.c:993:30: note: Assignment 'hmi_track_offset=malloc(sizeof(uint32_t)*hmi_track_cnt)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/DevTest.c:1010:57: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/DevTest.c:1014:18: warning: If memory allocation fails, then there is a possible null pointer dereference: hmi_track_offset [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/DevTest.c:993:30: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/DevTest.c:993:30: note: Assignment 'hmi_track_offset=malloc(sizeof(uint32_t)*hmi_track_cnt)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/DevTest.c:1014:18: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/DevTest.c:1015:18: warning: If memory allocation fails, then there is a possible null pointer dereference: hmi_track_offset [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/DevTest.c:993:30: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/DevTest.c:993:30: note: Assignment 'hmi_track_offset=malloc(sizeof(uint32_t)*hmi_track_cnt)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/DevTest.c:1015:18: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/DevTest.c:1016:17: warning: If memory allocation fails, then there is a possible null pointer dereference: hmi_track_offset [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/DevTest.c:993:30: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/DevTest.c:993:30: note: Assignment 'hmi_track_offset=malloc(sizeof(uint32_t)*hmi_track_cnt)', assigned value is 0 wildmidi-wildmidi-0.4.3/src/DevTest.c:1016:17: note: Null pointer dereference wildmidi-wildmidi-0.4.3/src/DevTest.c:139:11: style: Variable 'ret_data' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/DevTest.c:143:20: style: Variable 'pwd_ent' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/DevTest.c:458:35: style: Variable 'tmpsysexdata' can be declared as const array [constVariable] wildmidi-wildmidi-0.4.3/src/DevTest.c:751:40: style: Parameter 'mus_data' can be declared as pointer to const [constParameterPointer] wildmidi-wildmidi-0.4.3/src/DevTest.c:760:13: style: Variable 'mus_hdr' can be declared as const array [constVariable] wildmidi-wildmidi-0.4.3/src/DevTest.c:1837:32: style: Variable 'tmp_ptr' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/DevTest.c:1867:40: style: Parameter 'gus_patch' can be declared as pointer to const [constParameterPointer] wildmidi-wildmidi-0.4.3/src/DevTest.c:2006:13: style: Variable 'mus_hdr' can be declared as const array [constVariable] wildmidi-wildmidi-0.4.3/src/DevTest.c:2007:13: style: Variable 'xmi_hdr' can be declared as const array [constVariable] wildmidi-wildmidi-0.4.3/src/DevTest.c:233:12: style: Variable 'nt' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/DevTest.c:457:49: style: Variable 'sysex_ofs' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/DevTest.c:695:31: style: Variable 'midi_data' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/DevTest.c:724:23: style: Variable 'add_mins' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/DevTest.c:962:24: style: Variable 'hmi_delta' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/DevTest.c:963:28: style: Variable 'hmi_track_end' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/DevTest.c:964:23: style: Variable 'check_ret' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/DevTest.c:966:38: style: Variable 'hmi_track_header_length' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/DevTest.c:1154:16: style: Variable 'j' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/DevTest.c:1157:28: style: Variable 'hmp_chunk_num' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/DevTest.c:1158:31: style: Variable 'hmp_chunk_length' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/DevTest.c:1161:24: style: Variable 'hmp_track' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/DevTest.c:1162:30: style: Variable 'hmp_var_len_val' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/DevTest.c:1163:23: style: Variable 'check_ret' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/DevTest.c:1310:20: style: Variable 'j' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/DevTest.c:1313:30: style: Variable 'subform_len' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/DevTest.c:1314:28: style: Variable 'event_len' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/DevTest.c:1474:31: style: Variable 'check_ret' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/DevTest.c:1577:19: style: Variable 'check_ret' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:331:21: error: Common realloc mistake: 'token_data' nulled but not freed upon failure [memleakOnRealloc] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:348:13: error: Common realloc mistake: 'token_data' nulled but not freed upon failure [memleakOnRealloc] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:1090:21: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:1427:21: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:1146:14: style: Variable 'sptr' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:1148:20: style: Variable 'gend' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:1590:48: style: Parameter 'callbacks' can be declared as pointer to const [constParameterPointer] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:1663:13: style: Variable 'mus_hdr' can be declared as const array [constVariable] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:1664:13: style: Variable 'xmi_hdr' can be declared as const array [constVariable] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:1707:13: style: Variable 'mus_hdr' can be declared as const array [constVariable] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:1708:13: style: Variable 'xmi_hdr' can be declared as const array [constVariable] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:1845:20: style: Variable 'event_new' can be declared as pointer to const [constVariablePointer] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:88:14: style: struct member '_miditrack::length' is never used. [unusedStructMember] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:89:14: style: struct member '_miditrack::ptr' is never used. [unusedStructMember] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:90:14: style: struct member '_miditrack::delta' is never used. [unusedStructMember] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:91:13: style: struct member '_miditrack::running_event' is never used. [unusedStructMember] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:92:13: style: struct member '_miditrack::EOT' is never used. [unusedStructMember] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:96:20: style: struct member '_mdi_patches::patch' is never used. [unusedStructMember] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:367:21: style: Variable 'token_count' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:826:34: style: Variable 'real_samples_to_mix' is assigned a value that is never used. [unreadVariable] wildmidi-wildmidi-0.4.3/src/wildmidi_lib.c:1141:34: style: Variable 'real_samples_to_mix' is assigned a value that is never used. [unreadVariable] diff: head wildmidi-wildmidi-0.4.3/src/internal_midi.c:1931:44: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1931:44: note: Null pointer dereference head wildmidi-wildmidi-0.4.3/src/internal_midi.c:1933:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mdi [nullPointerOutOfMemory] wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:33: note: Assuming allocation function fails wildmidi-wildmidi-0.4.3/src/internal_midi.c:1922:11: note: Assignment 'mdi=(struct _mdi*)malloc(sizeof(struct _mdi))', assigned value is 0 wildmidi-wildmidi-0.4.3/src/internal_midi.c:1933:26: note: Null pointer dereference DONE