2025-12-23 14:21 ftp://ftp.de.debian.org/debian/pool/main/p/phasex/phasex_0.14.97.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=motif --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 -j1 platform: Linux-6.8.0-90-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.19.0 head-info: b66f900 (2025-12-21 20:49:38 +0100) count: 426 426 elapsed-time: 15.1 15.3 head-timing-info: old-timing-info: head results: phasex-0.14.97/src/alsa_pcm.c:340:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_PCM_FORMAT_LAST [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/alsa_pcm.c:622:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_PCM_ACCESS_MMAP_INTERLEAVED [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/alsa_pcm.c:1009:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/alsa_pcm.c:1146:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPIPE [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/alsa_pcm.c:1182:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLERR [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/alsa_pcm.c:1236:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pollfd [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/alsa_pcm.c:1493:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_PCM_STATE_XRUN [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/alsa_pcm.c:909:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] phasex-0.14.97/src/alsa_pcm.c:920:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] phasex-0.14.97/src/alsa_pcm.c:1157:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] phasex-0.14.97/src/alsa_pcm.c:386:2: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/alsa_pcm.c:386:2: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/alsa_pcm.c:409:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/alsa_pcm.c:409:2: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/alsa_pcm.c:420:4: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/alsa_pcm.c:434:5: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/alsa_pcm.c:487:3: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/alsa_pcm.c:501:3: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/alsa_pcm.c:1010:5: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/alsa_pcm.c:1017:5: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/alsa_pcm.c:1028:4: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/alsa_pcm.c:1035:4: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/alsa_pcm.c:156:7: warning: Either the condition '(hw_info=malloc(sizeof(struct ALSA_PCM_HW_INFO)))==NULL' is redundant or there is possible null pointer dereference: hw_info. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_pcm.c:153:11: note: Assuming that condition '(hw_info=malloc(sizeof(struct ALSA_PCM_HW_INFO)))==NULL' is not redundant phasex-0.14.97/src/alsa_pcm.c:156:7: note: Null pointer dereference phasex-0.14.97/src/alsa_pcm.c:157:7: warning: Either the condition '(hw_info=malloc(sizeof(struct ALSA_PCM_HW_INFO)))==NULL' is redundant or there is possible null pointer dereference: hw_info. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_pcm.c:153:11: note: Assuming that condition '(hw_info=malloc(sizeof(struct ALSA_PCM_HW_INFO)))==NULL' is not redundant phasex-0.14.97/src/alsa_pcm.c:157:7: note: Null pointer dereference phasex-0.14.97/src/alsa_pcm.c:158:7: warning: Either the condition '(hw_info=malloc(sizeof(struct ALSA_PCM_HW_INFO)))==NULL' is redundant or there is possible null pointer dereference: hw_info. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_pcm.c:153:11: note: Assuming that condition '(hw_info=malloc(sizeof(struct ALSA_PCM_HW_INFO)))==NULL' is not redundant phasex-0.14.97/src/alsa_pcm.c:158:7: note: Null pointer dereference phasex-0.14.97/src/alsa_pcm.c:159:7: warning: Either the condition '(hw_info=malloc(sizeof(struct ALSA_PCM_HW_INFO)))==NULL' is redundant or there is possible null pointer dereference: hw_info. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_pcm.c:153:11: note: Assuming that condition '(hw_info=malloc(sizeof(struct ALSA_PCM_HW_INFO)))==NULL' is not redundant phasex-0.14.97/src/alsa_pcm.c:159:7: note: Null pointer dereference phasex-0.14.97/src/alsa_pcm.c:160:7: warning: Either the condition '(hw_info=malloc(sizeof(struct ALSA_PCM_HW_INFO)))==NULL' is redundant or there is possible null pointer dereference: hw_info. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_pcm.c:153:11: note: Assuming that condition '(hw_info=malloc(sizeof(struct ALSA_PCM_HW_INFO)))==NULL' is not redundant phasex-0.14.97/src/alsa_pcm.c:160:7: note: Null pointer dereference phasex-0.14.97/src/alsa_pcm.c:161:7: warning: Either the condition '(hw_info=malloc(sizeof(struct ALSA_PCM_HW_INFO)))==NULL' is redundant or there is possible null pointer dereference: hw_info. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_pcm.c:153:11: note: Assuming that condition '(hw_info=malloc(sizeof(struct ALSA_PCM_HW_INFO)))==NULL' is not redundant phasex-0.14.97/src/alsa_pcm.c:161:7: note: Null pointer dereference phasex-0.14.97/src/alsa_pcm.c:162:7: warning: Either the condition '(hw_info=malloc(sizeof(struct ALSA_PCM_HW_INFO)))==NULL' is redundant or there is possible null pointer dereference: hw_info. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_pcm.c:153:11: note: Assuming that condition '(hw_info=malloc(sizeof(struct ALSA_PCM_HW_INFO)))==NULL' is not redundant phasex-0.14.97/src/alsa_pcm.c:162:7: note: Null pointer dereference phasex-0.14.97/src/alsa_pcm.c:163:7: warning: Either the condition '(hw_info=malloc(sizeof(struct ALSA_PCM_HW_INFO)))==NULL' is redundant or there is possible null pointer dereference: hw_info. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_pcm.c:153:11: note: Assuming that condition '(hw_info=malloc(sizeof(struct ALSA_PCM_HW_INFO)))==NULL' is not redundant phasex-0.14.97/src/alsa_pcm.c:163:7: note: Null pointer dereference phasex-0.14.97/src/alsa_pcm.c:164:7: warning: Either the condition '(hw_info=malloc(sizeof(struct ALSA_PCM_HW_INFO)))==NULL' is redundant or there is possible null pointer dereference: hw_info. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_pcm.c:153:11: note: Assuming that condition '(hw_info=malloc(sizeof(struct ALSA_PCM_HW_INFO)))==NULL' is not redundant phasex-0.14.97/src/alsa_pcm.c:164:7: note: Null pointer dereference phasex-0.14.97/src/alsa_pcm.c:165:7: warning: Either the condition '(hw_info=malloc(sizeof(struct ALSA_PCM_HW_INFO)))==NULL' is redundant or there is possible null pointer dereference: hw_info. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_pcm.c:153:11: note: Assuming that condition '(hw_info=malloc(sizeof(struct ALSA_PCM_HW_INFO)))==NULL' is not redundant phasex-0.14.97/src/alsa_pcm.c:165:7: note: Null pointer dereference phasex-0.14.97/src/alsa_pcm.c:177:17: warning: Either the condition '(hw_info=malloc(sizeof(struct ALSA_PCM_HW_INFO)))==NULL' is redundant or there is possible null pointer dereference: hw_info. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_pcm.c:153:11: note: Assuming that condition '(hw_info=malloc(sizeof(struct ALSA_PCM_HW_INFO)))==NULL' is not redundant phasex-0.14.97/src/alsa_pcm.c:177:17: note: Null pointer dereference phasex-0.14.97/src/alsa_pcm.c:180:17: warning: Either the condition '(hw_info=malloc(sizeof(struct ALSA_PCM_HW_INFO)))==NULL' is redundant or there is possible null pointer dereference: hw_info. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_pcm.c:153:11: note: Assuming that condition '(hw_info=malloc(sizeof(struct ALSA_PCM_HW_INFO)))==NULL' is not redundant phasex-0.14.97/src/alsa_pcm.c:180:17: note: Null pointer dereference phasex-0.14.97/src/alsa_pcm.c:181:17: warning: Either the condition '(hw_info=malloc(sizeof(struct ALSA_PCM_HW_INFO)))==NULL' is redundant or there is possible null pointer dereference: hw_info. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_pcm.c:153:11: note: Assuming that condition '(hw_info=malloc(sizeof(struct ALSA_PCM_HW_INFO)))==NULL' is not redundant phasex-0.14.97/src/alsa_pcm.c:181:17: note: Null pointer dereference phasex-0.14.97/src/alsa_pcm.c:185:7: warning: Either the condition '(hw_info=malloc(sizeof(struct ALSA_PCM_HW_INFO)))==NULL' is redundant or there is possible null pointer dereference: hw_info. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_pcm.c:153:11: note: Assuming that condition '(hw_info=malloc(sizeof(struct ALSA_PCM_HW_INFO)))==NULL' is not redundant phasex-0.14.97/src/alsa_pcm.c:185:7: note: Null pointer dereference phasex-0.14.97/src/alsa_pcm.c:629:9: warning: Either the condition '(new_pcm_info=malloc(sizeof(struct ALSA_PCM_INFO)))==NULL' is redundant or there is possible null pointer dereference: new_pcm_info. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_pcm.c:626:53: note: Assuming that condition '(new_pcm_info=malloc(sizeof(struct ALSA_PCM_INFO)))==NULL' is not redundant phasex-0.14.97/src/alsa_pcm.c:629:9: note: Null pointer dereference phasex-0.14.97/src/alsa_pcm.c:246:23: style: Variable 'cur_a' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/alsa_pcm.c:247:23: style: Variable 'cur_b' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/alsa_pcm.c:292:27: style: Variable 'type' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/alsa_pcm.c:605:27: style: Variable 'hw_list' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/alsa_seq.c:171:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_SEQ_PORT_TYPE_MIDI_GENERIC [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/alsa_seq.c:351:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_SEQ_ADDRESS_SUBSCRIBERS [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/alsa_seq.c:386:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_SEQ_PORT_CAP_READ [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/alsa_seq.c:492:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_SEQ_PORT_TYPE_MIDI_GENERIC [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/alsa_seq.c:679:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_SEQ_ADDRESS_SUBSCRIBERS [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/alsa_seq.c:793:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_PARTS [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/alsa_seq.c:453:17: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] phasex-0.14.97/src/alsa_seq.c:464:14: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] phasex-0.14.97/src/alsa_seq.c:616:6: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] phasex-0.14.97/src/alsa_seq.c:718:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] phasex-0.14.97/src/alsa_seq.c:566:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/alsa_seq.c:785:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/alsa_seq.c:184:4: warning: Either the condition '(seq_port=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is redundant or there is possible null pointer dereference: seq_port. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_seq.c:181:51: note: Assuming that condition '(seq_port=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is not redundant phasex-0.14.97/src/alsa_seq.c:184:4: note: Null pointer dereference phasex-0.14.97/src/alsa_seq.c:185:4: warning: Either the condition '(seq_port=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is redundant or there is possible null pointer dereference: seq_port. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_seq.c:181:51: note: Assuming that condition '(seq_port=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is not redundant phasex-0.14.97/src/alsa_seq.c:185:4: note: Null pointer dereference phasex-0.14.97/src/alsa_seq.c:186:4: warning: Either the condition '(seq_port=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is redundant or there is possible null pointer dereference: seq_port. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_seq.c:181:51: note: Assuming that condition '(seq_port=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is not redundant phasex-0.14.97/src/alsa_seq.c:186:4: note: Null pointer dereference phasex-0.14.97/src/alsa_seq.c:187:4: warning: Either the condition '(seq_port=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is redundant or there is possible null pointer dereference: seq_port. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_seq.c:181:51: note: Assuming that condition '(seq_port=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is not redundant phasex-0.14.97/src/alsa_seq.c:187:4: note: Null pointer dereference phasex-0.14.97/src/alsa_seq.c:188:4: warning: Either the condition '(seq_port=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is redundant or there is possible null pointer dereference: seq_port. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_seq.c:181:51: note: Assuming that condition '(seq_port=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is not redundant phasex-0.14.97/src/alsa_seq.c:188:4: note: Null pointer dereference phasex-0.14.97/src/alsa_seq.c:189:13: warning: Either the condition '(seq_port=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is redundant or there is possible null pointer dereference: seq_port. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_seq.c:181:51: note: Assuming that condition '(seq_port=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is not redundant phasex-0.14.97/src/alsa_seq.c:189:13: note: Null pointer dereference phasex-0.14.97/src/alsa_seq.c:192:13: warning: Either the condition '(seq_port=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is redundant or there is possible null pointer dereference: seq_port. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_seq.c:181:51: note: Assuming that condition '(seq_port=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is not redundant phasex-0.14.97/src/alsa_seq.c:192:13: note: Null pointer dereference phasex-0.14.97/src/alsa_seq.c:193:13: warning: Either the condition '(seq_port=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is redundant or there is possible null pointer dereference: seq_port. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_seq.c:181:51: note: Assuming that condition '(seq_port=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is not redundant phasex-0.14.97/src/alsa_seq.c:193:13: note: Null pointer dereference phasex-0.14.97/src/alsa_seq.c:194:4: warning: Either the condition '(seq_port=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is redundant or there is possible null pointer dereference: seq_port. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_seq.c:181:51: note: Assuming that condition '(seq_port=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is not redundant phasex-0.14.97/src/alsa_seq.c:194:4: note: Null pointer dereference phasex-0.14.97/src/alsa_seq.c:195:4: warning: Either the condition '(seq_port=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is redundant or there is possible null pointer dereference: seq_port. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_seq.c:181:51: note: Assuming that condition '(seq_port=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is not redundant phasex-0.14.97/src/alsa_seq.c:195:4: note: Null pointer dereference phasex-0.14.97/src/alsa_seq.c:196:4: warning: Either the condition '(seq_port=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is redundant or there is possible null pointer dereference: seq_port. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_seq.c:181:51: note: Assuming that condition '(seq_port=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is not redundant phasex-0.14.97/src/alsa_seq.c:196:4: note: Null pointer dereference phasex-0.14.97/src/alsa_seq.c:197:4: warning: Either the condition '(seq_port=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is redundant or there is possible null pointer dereference: seq_port. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_seq.c:181:51: note: Assuming that condition '(seq_port=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is not redundant phasex-0.14.97/src/alsa_seq.c:197:4: note: Null pointer dereference phasex-0.14.97/src/alsa_seq.c:428:9: warning: Either the condition '(new_seq_info=malloc(sizeof(struct ALSA_SEQ_INFO)))==NULL' is redundant or there is possible null pointer dereference: new_seq_info. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_seq.c:425:53: note: Assuming that condition '(new_seq_info=malloc(sizeof(struct ALSA_SEQ_INFO)))==NULL' is not redundant phasex-0.14.97/src/alsa_seq.c:428:9: note: Null pointer dereference phasex-0.14.97/src/alsa_seq.c:429:7: warning: Either the condition '(new_seq_info=malloc(sizeof(struct ALSA_SEQ_INFO)))==NULL' is redundant or there is possible null pointer dereference: new_seq_info. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_seq.c:425:53: note: Assuming that condition '(new_seq_info=malloc(sizeof(struct ALSA_SEQ_INFO)))==NULL' is not redundant phasex-0.14.97/src/alsa_seq.c:429:7: note: Null pointer dereference phasex-0.14.97/src/alsa_seq.c:490:4: warning: Either the condition '(cur=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is redundant or there is possible null pointer dereference: cur. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_seq.c:485:46: note: Assuming that condition '(cur=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is not redundant phasex-0.14.97/src/alsa_seq.c:490:4: note: Null pointer dereference phasex-0.14.97/src/alsa_seq.c:491:4: warning: Either the condition '(cur=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is redundant or there is possible null pointer dereference: cur. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_seq.c:485:46: note: Assuming that condition '(cur=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is not redundant phasex-0.14.97/src/alsa_seq.c:491:4: note: Null pointer dereference phasex-0.14.97/src/alsa_seq.c:492:4: warning: Either the condition '(cur=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is redundant or there is possible null pointer dereference: cur. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_seq.c:485:46: note: Assuming that condition '(cur=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is not redundant phasex-0.14.97/src/alsa_seq.c:492:4: note: Null pointer dereference phasex-0.14.97/src/alsa_seq.c:493:4: warning: Either the condition '(cur=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is redundant or there is possible null pointer dereference: cur. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_seq.c:485:46: note: Assuming that condition '(cur=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is not redundant phasex-0.14.97/src/alsa_seq.c:493:4: note: Null pointer dereference phasex-0.14.97/src/alsa_seq.c:494:4: warning: Either the condition '(cur=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is redundant or there is possible null pointer dereference: cur. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_seq.c:485:46: note: Assuming that condition '(cur=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is not redundant phasex-0.14.97/src/alsa_seq.c:494:4: note: Null pointer dereference phasex-0.14.97/src/alsa_seq.c:495:4: warning: Either the condition '(cur=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is redundant or there is possible null pointer dereference: cur. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_seq.c:485:46: note: Assuming that condition '(cur=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is not redundant phasex-0.14.97/src/alsa_seq.c:495:4: note: Null pointer dereference phasex-0.14.97/src/alsa_seq.c:496:4: warning: Either the condition '(cur=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is redundant or there is possible null pointer dereference: cur. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_seq.c:485:46: note: Assuming that condition '(cur=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is not redundant phasex-0.14.97/src/alsa_seq.c:496:4: note: Null pointer dereference phasex-0.14.97/src/alsa_seq.c:497:13: warning: Either the condition '(cur=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is redundant or there is possible null pointer dereference: cur. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_seq.c:485:46: note: Assuming that condition '(cur=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is not redundant phasex-0.14.97/src/alsa_seq.c:497:13: note: Null pointer dereference phasex-0.14.97/src/alsa_seq.c:498:13: warning: Either the condition '(cur=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is redundant or there is possible null pointer dereference: cur. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_seq.c:485:46: note: Assuming that condition '(cur=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is not redundant phasex-0.14.97/src/alsa_seq.c:498:13: note: Null pointer dereference phasex-0.14.97/src/alsa_seq.c:498:26: warning: Either the condition '(cur=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is redundant or there is possible null pointer dereference: cur. [nullPointerRedundantCheck] phasex-0.14.97/src/alsa_seq.c:485:46: note: Assuming that condition '(cur=malloc(sizeof(struct ALSA_SEQ_PORT)))==NULL' is not redundant phasex-0.14.97/src/alsa_seq.c:498:26: note: Null pointer dereference phasex-0.14.97/src/alsa_seq.c:214:12: style: Variable 'prev' is reassigned a value before the old one has been used. [redundantAssignment] phasex-0.14.97/src/alsa_seq.c:209:20: note: prev is assigned phasex-0.14.97/src/alsa_seq.c:214:12: note: prev is overwritten phasex-0.14.97/src/alsa_seq.c:148:39: style:inconclusive: Function 'alsa_seq_get_port_list' argument 1 names different: declaration 'midi' definition 'seq_info'. [funcArgNamesDifferent] phasex-0.14.97/src/alsa_seq.h:71:54: note: Function 'alsa_seq_get_port_list' argument 1 names different: declaration 'midi' definition 'seq_info'. phasex-0.14.97/src/alsa_seq.c:148:39: note: Function 'alsa_seq_get_port_list' argument 1 names different: declaration 'midi' definition 'seq_info'. phasex-0.14.97/src/alsa_seq.c:148:83: style:inconclusive: Function 'alsa_seq_get_port_list' argument 3 names different: declaration 'orig_list' definition 'list'. [funcArgNamesDifferent] phasex-0.14.97/src/alsa_seq.h:73:54: note: Function 'alsa_seq_get_port_list' argument 3 names different: declaration 'orig_list' definition 'list'. phasex-0.14.97/src/alsa_seq.c:148:83: note: Function 'alsa_seq_get_port_list' argument 3 names different: declaration 'orig_list' definition 'list'. phasex-0.14.97/src/alsa_seq.c:238:40: style:inconclusive: Function 'alsa_seq_subscribe_port' argument 1 names different: declaration 'midi' definition 'seq_info'. [funcArgNamesDifferent] phasex-0.14.97/src/alsa_seq.h:74:45: note: Function 'alsa_seq_subscribe_port' argument 1 names different: declaration 'midi' definition 'seq_info'. phasex-0.14.97/src/alsa_seq.c:238:40: note: Function 'alsa_seq_subscribe_port' argument 1 names different: declaration 'midi' definition 'seq_info'. phasex-0.14.97/src/alsa_seq.c:273:42: style:inconclusive: Function 'alsa_seq_unsubscribe_port' argument 1 names different: declaration 'midi' definition 'seq_info'. [funcArgNamesDifferent] phasex-0.14.97/src/alsa_seq.h:75:47: note: Function 'alsa_seq_unsubscribe_port' argument 1 names different: declaration 'midi' definition 'seq_info'. phasex-0.14.97/src/alsa_seq.c:273:42: note: Function 'alsa_seq_unsubscribe_port' argument 1 names different: declaration 'midi' definition 'seq_info'. phasex-0.14.97/src/alsa_seq.c:301:41: style:inconclusive: Function 'alsa_seq_subscribe_ports' argument 1 names different: declaration 'midi' definition 'seq_info'. [funcArgNamesDifferent] phasex-0.14.97/src/alsa_seq.h:76:46: note: Function 'alsa_seq_subscribe_ports' argument 1 names different: declaration 'midi' definition 'seq_info'. phasex-0.14.97/src/alsa_seq.c:301:41: note: Function 'alsa_seq_subscribe_ports' argument 1 names different: declaration 'midi' definition 'seq_info'. phasex-0.14.97/src/alsa_seq.c:104:19: style: Variable 'cur_a' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/alsa_seq.c:105:19: style: Variable 'cur_b' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/alsa_seq.c:131:19: style: Variable 'cur' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/alsa_seq.c:305:41: style: Parameter 'port_name_match' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/alsa_seq.c:308:23: style: Variable 'alsa_name_match' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/alsa_seq.c:310:23: style: Variable 'check' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/alsa_seq.c:418:27: style: Variable 'p' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/alsa_seq.c:419:27: style: Variable 'q' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/alsa_seq.c:733:23: style: Variable 'part' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/alsa_seq.c:741:34: style: Variable 'cycle_frame' is assigned a value that is never used. [unreadVariable] phasex-0.14.97/src/bank.c:100:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_PARTS [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/bank.c:173:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_PARTS [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/bank.c:326:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/bank.c:378:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/bank.c:388:17: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] phasex-0.14.97/src/bank.c:439:12: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] phasex-0.14.97/src/bank.c:335:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/bank.c:340:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/bank.c:340:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/bank.c:474:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/bank.c:474:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/bank.c:474:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/bank.c:452:19: warning: Either the condition '(name=strdup(tmpname))==NULL' is redundant or there is possible null pointer dereference: name. [nullPointerRedundantCheck] phasex-0.14.97/src/bank.c:447:32: note: Assuming that condition '(name=strdup(tmpname))==NULL' is not redundant phasex-0.14.97/src/bank.c:452:19: note: Null pointer dereference phasex-0.14.97/src/bank.c:131:19: style: Variable 'bank_file' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/bank.c:132:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/bank.c:311:19: style: Variable 'patch' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/bank.c:313:19: style: Variable 'bank_file' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/bank.c:354:18: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/bank.c:356:19: style: Variable 'patch' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/bank.c:379:19: style: Variable 'patch_name' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/bank.c:430:11: style: Variable 'tmpname' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/bank.c:383:23: style: Variable 'prog' is assigned a value that is never used. [unreadVariable] phasex-0.14.97/src/bpm.c:48:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_PARTS [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/bpm.c:102:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_PARTS [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/bpm.c:75:27: style: Variable 'part' is assigned a value that is never used. [unreadVariable] phasex-0.14.97/src/bpm.c:80:27: style: Variable 'delay' is assigned a value that is never used. [unreadVariable] phasex-0.14.97/src/bpm.c:81:27: style: Variable 'chorus' is assigned a value that is never used. [unreadVariable] phasex-0.14.97/src/buffer.c:64:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_PARTS [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/buffer.c:86:19: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/buffer.c:99:19: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/buffer.c:132:19: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/buffer.c:166:19: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/buffer.c:178:19: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/debug.c:95:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/debug.c:92:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] phasex-0.14.97/src/driver.c:339:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/driver.c:417:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/driver.c:507:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_PARTS [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/driver.c:524:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_PARTS [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/driver.c:646:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_PARTS [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/driver.c:698:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_PCM_STREAM_CAPTURE [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/driver.c:825:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jack_default_audio_sample_t [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/driver.c:474:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] phasex-0.14.97/src/driver.c:479:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] phasex-0.14.97/src/driver.c:494:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] phasex-0.14.97/src/driver.c:512:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] phasex-0.14.97/src/driver.c:526:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] phasex-0.14.97/src/driver.c:677:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] phasex-0.14.97/src/driver.c:815:2: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/driver.c:739:9: warning: Either the condition '(alsa_seq_info=malloc(sizeof(struct ALSA_SEQ_INFO)))==NULL' is redundant or there is possible null pointer dereference: alsa_seq_info. [nullPointerRedundantCheck] phasex-0.14.97/src/driver.c:736:54: note: Assuming that condition '(alsa_seq_info=malloc(sizeof(struct ALSA_SEQ_INFO)))==NULL' is not redundant phasex-0.14.97/src/driver.c:739:9: note: Null pointer dereference phasex-0.14.97/src/driver.c:740:2: warning: Either the condition '(alsa_seq_info=malloc(sizeof(struct ALSA_SEQ_INFO)))==NULL' is redundant or there is possible null pointer dereference: alsa_seq_info. [nullPointerRedundantCheck] phasex-0.14.97/src/driver.c:736:54: note: Assuming that condition '(alsa_seq_info=malloc(sizeof(struct ALSA_SEQ_INFO)))==NULL' is not redundant phasex-0.14.97/src/driver.c:740:2: note: Null pointer dereference phasex-0.14.97/src/driver.c:689:27: style: Local variable 'alsa_seq_info' shadows outer variable [shadowVariable] phasex-0.14.97/src/alsa_seq.h:59:33: note: Shadowed declaration phasex-0.14.97/src/driver.c:689:27: note: Shadow variable phasex-0.14.97/src/driver.c:115:27: style: Parameter 'driver_name' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/driver.c:160:26: style: Parameter 'driver_name' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/driver.c:688:27: style: Variable 'pcm_hw_list' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/driver.c:690:27: style: Variable 'seq_port_list' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/driver.c:691:27: style: Variable 'rawmidi_hw_list' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/engine.c:88:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_PARTS [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/engine.c:136:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_PARTS [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/engine.c:224:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_PARTS [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/engine.c:527:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_PARTS [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/engine.c:747:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_PARTS [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/engine.c:620:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] phasex-0.14.97/src/engine.c:756:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] phasex-0.14.97/src/engine.c:760:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] phasex-0.14.97/src/engine.c:550:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/engine.c:629:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/engine.c:1553:18: style:inconclusive: Function 'run_delay' argument 1 names different: declaration 'this_delay' definition 'delay'. [funcArgNamesDifferent] phasex-0.14.97/src/engine.h:351:23: note: Function 'run_delay' argument 1 names different: declaration 'this_delay' definition 'delay'. phasex-0.14.97/src/engine.c:1553:18: note: Function 'run_delay' argument 1 names different: declaration 'this_delay' definition 'delay'. phasex-0.14.97/src/engine.c:1606:20: style:inconclusive: Function 'run_chorus' argument 1 names different: declaration 'this_chorus' definition 'chorus'. [funcArgNamesDifferent] phasex-0.14.97/src/engine.h:350:25: note: Function 'run_chorus' argument 1 names different: declaration 'this_chorus' definition 'chorus'. phasex-0.14.97/src/engine.c:1606:20: note: Function 'run_chorus' argument 1 names different: declaration 'this_chorus' definition 'chorus'. phasex-0.14.97/src/engine.c:525:21: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'engine_thread' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] phasex-0.14.97/src/engine.c:749:64: note: You might need to cast the function pointer here phasex-0.14.97/src/engine.c:525:21: note: Parameter 'arg' can be declared as pointer to const phasex-0.14.97/src/engine.c:897:34: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/engine.c:1553:50: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/engine.c:1606:53: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/engine.c:749:12: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] phasex-0.14.97/src/filter.c:280:13: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] phasex-0.14.97/src/filter.c:476:13: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] phasex-0.14.97/src/filter.c:231:64: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/filter.c:421:56: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/filter.c:625:51: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/filter.c:179:26: style: Variable 'x' is assigned a value that is never used. [unreadVariable] phasex-0.14.97/src/gtkknob.c:418:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [syntaxError] phasex-0.14.97/src/gui_alsa.c:108:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_SEQ_PORT_TYPE_HARDWARE [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/gui_alsa.c:249:68: style: Parameter 'data' can be declared as pointer to const. However it seems that 'on_select_alsa_pcm_hw_device' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] phasex-0.14.97/src/gui_alsa.c:90:4: note: You might need to cast the function pointer here phasex-0.14.97/src/gui_alsa.c:249:68: note: Parameter 'data' can be declared as pointer to const phasex-0.14.97/src/gui_alsa.c:278:63: style: Parameter 'data' can be declared as pointer to const. However it seems that 'on_select_alsa_seq_port' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] phasex-0.14.97/src/gui_alsa.c:187:5: note: You might need to cast the function pointer here phasex-0.14.97/src/gui_alsa.c:278:63: note: Parameter 'data' can be declared as pointer to const phasex-0.14.97/src/gui_alsa.c:309:69: style: Parameter 'data' can be declared as pointer to const. However it seems that 'on_select_alsa_rawmidi_device' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] phasex-0.14.97/src/gui_alsa.c:230:4: note: You might need to cast the function pointer here phasex-0.14.97/src/gui_alsa.c:309:69: note: Parameter 'data' can be declared as pointer to const phasex-0.14.97/src/gui_bank.c:697:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [syntaxError] phasex-0.14.97/src/gui_jack.c:89:64: style: Parameter 'data' can be declared as pointer to const. However it seems that 'on_select_jack_midi_port' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] phasex-0.14.97/src/gui_jack.c:70:4: note: You might need to cast the function pointer here phasex-0.14.97/src/gui_jack.c:89:64: note: Parameter 'data' can be declared as pointer to const phasex-0.14.97/src/gui_layout.c:604:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [syntaxError] phasex-0.14.97/src/gui_main.c:175:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [syntaxError] phasex-0.14.97/src/gui_menubar.c:217:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_MENU_BAR [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/gui_midimap.c:193:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [syntaxError] phasex-0.14.97/src/gui_navbar.c:349:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [syntaxError] phasex-0.14.97/src/gui_param.c:1063:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [syntaxError] phasex-0.14.97/src/gui_patch.c:108:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/gui_patch.c:103:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/gui_patch.c:127:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/gui_patch.c:176:22: style: Parameter 'patch' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/gui_patch.c:187:11: style: Variable 'patch' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/gui_patch.c:203:11: style: Variable 'session' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/gui_patch.c:103:16: style: Variable 'name' is assigned a value that is never used. [unreadVariable] phasex-0.14.97/src/gui_session.c:435:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [syntaxError] phasex-0.14.97/src/help.c:61:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [syntaxError] phasex-0.14.97/src/jack.c:130:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_PARTS [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/jack.c:210:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jack_default_audio_sample_t [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/jack.c:287:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JackPortIsOutput [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/jack.c:414:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JackPortIsOutput [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/jack.c:483:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JACK_DEFAULT_MIDI_TYPE [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/jack.c:679:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JackCaptureLatency [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/jack.c:810:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JackNoStartServer [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/jack.c:1105:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JackPortIsInput [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/jack.c:334:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] phasex-0.14.97/src/jack.c:386:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] phasex-0.14.97/src/jack.c:480:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] phasex-0.14.97/src/jack.c:517:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] phasex-0.14.97/src/jack.c:1147:14: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] phasex-0.14.97/src/jack.c:1231:14: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] phasex-0.14.97/src/jack.c:1478:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] phasex-0.14.97/src/jack.c:607:55: style: Condition '(unsigned int)sample_rate!=nframes' is always true [knownConditionTrueFalse] phasex-0.14.97/src/jack.c:565:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/jack.c:565:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/jack.c:565:2: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/jack.c:931:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/jack.c:931:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/jack.c:931:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/jack.c:940:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/jack.c:940:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/jack.c:940:2: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/jack.c:292:4: warning: Either the condition '(new=malloc(sizeof(struct JACK_PORT_INFO)))==NULL' is redundant or there is possible null pointer dereference: new. [nullPointerRedundantCheck] phasex-0.14.97/src/jack.c:289:47: note: Assuming that condition '(new=malloc(sizeof(struct JACK_PORT_INFO)))==NULL' is not redundant phasex-0.14.97/src/jack.c:292:4: note: Null pointer dereference phasex-0.14.97/src/jack.c:293:4: warning: Either the condition '(new=malloc(sizeof(struct JACK_PORT_INFO)))==NULL' is redundant or there is possible null pointer dereference: new. [nullPointerRedundantCheck] phasex-0.14.97/src/jack.c:289:47: note: Assuming that condition '(new=malloc(sizeof(struct JACK_PORT_INFO)))==NULL' is not redundant phasex-0.14.97/src/jack.c:293:4: note: Null pointer dereference phasex-0.14.97/src/jack.c:294:4: warning: Either the condition '(new=malloc(sizeof(struct JACK_PORT_INFO)))==NULL' is redundant or there is possible null pointer dereference: new. [nullPointerRedundantCheck] phasex-0.14.97/src/jack.c:289:47: note: Assuming that condition '(new=malloc(sizeof(struct JACK_PORT_INFO)))==NULL' is not redundant phasex-0.14.97/src/jack.c:294:4: note: Null pointer dereference phasex-0.14.97/src/jack.c:297:4: warning: Either the condition '(new=malloc(sizeof(struct JACK_PORT_INFO)))==NULL' is redundant or there is possible null pointer dereference: new. [nullPointerRedundantCheck] phasex-0.14.97/src/jack.c:289:47: note: Assuming that condition '(new=malloc(sizeof(struct JACK_PORT_INFO)))==NULL' is not redundant phasex-0.14.97/src/jack.c:297:4: note: Null pointer dereference phasex-0.14.97/src/jack.c:298:4: warning: Either the condition '(new=malloc(sizeof(struct JACK_PORT_INFO)))==NULL' is redundant or there is possible null pointer dereference: new. [nullPointerRedundantCheck] phasex-0.14.97/src/jack.c:289:47: note: Assuming that condition '(new=malloc(sizeof(struct JACK_PORT_INFO)))==NULL' is not redundant phasex-0.14.97/src/jack.c:298:4: note: Null pointer dereference phasex-0.14.97/src/jack.c:299:4: warning: Either the condition '(new=malloc(sizeof(struct JACK_PORT_INFO)))==NULL' is redundant or there is possible null pointer dereference: new. [nullPointerRedundantCheck] phasex-0.14.97/src/jack.c:289:47: note: Assuming that condition '(new=malloc(sizeof(struct JACK_PORT_INFO)))==NULL' is not redundant phasex-0.14.97/src/jack.c:299:4: note: Null pointer dereference phasex-0.14.97/src/jack.c:421:3: warning: Either the condition '(new=malloc(sizeof(struct JACK_PORT_INFO)))==NULL' is redundant or there is possible null pointer dereference: new. [nullPointerRedundantCheck] phasex-0.14.97/src/jack.c:418:46: note: Assuming that condition '(new=malloc(sizeof(struct JACK_PORT_INFO)))==NULL' is not redundant phasex-0.14.97/src/jack.c:421:3: note: Null pointer dereference phasex-0.14.97/src/jack.c:422:3: warning: Either the condition '(new=malloc(sizeof(struct JACK_PORT_INFO)))==NULL' is redundant or there is possible null pointer dereference: new. [nullPointerRedundantCheck] phasex-0.14.97/src/jack.c:418:46: note: Assuming that condition '(new=malloc(sizeof(struct JACK_PORT_INFO)))==NULL' is not redundant phasex-0.14.97/src/jack.c:422:3: note: Null pointer dereference phasex-0.14.97/src/jack.c:423:3: warning: Either the condition '(new=malloc(sizeof(struct JACK_PORT_INFO)))==NULL' is redundant or there is possible null pointer dereference: new. [nullPointerRedundantCheck] phasex-0.14.97/src/jack.c:418:46: note: Assuming that condition '(new=malloc(sizeof(struct JACK_PORT_INFO)))==NULL' is not redundant phasex-0.14.97/src/jack.c:423:3: note: Null pointer dereference phasex-0.14.97/src/jack.c:425:3: warning: Either the condition '(new=malloc(sizeof(struct JACK_PORT_INFO)))==NULL' is redundant or there is possible null pointer dereference: new. [nullPointerRedundantCheck] phasex-0.14.97/src/jack.c:418:46: note: Assuming that condition '(new=malloc(sizeof(struct JACK_PORT_INFO)))==NULL' is not redundant phasex-0.14.97/src/jack.c:425:3: note: Null pointer dereference phasex-0.14.97/src/jack.c:426:3: warning: Either the condition '(new=malloc(sizeof(struct JACK_PORT_INFO)))==NULL' is redundant or there is possible null pointer dereference: new. [nullPointerRedundantCheck] phasex-0.14.97/src/jack.c:418:46: note: Assuming that condition '(new=malloc(sizeof(struct JACK_PORT_INFO)))==NULL' is not redundant phasex-0.14.97/src/jack.c:426:3: note: Null pointer dereference phasex-0.14.97/src/jack.c:427:3: warning: Either the condition '(new=malloc(sizeof(struct JACK_PORT_INFO)))==NULL' is redundant or there is possible null pointer dereference: new. [nullPointerRedundantCheck] phasex-0.14.97/src/jack.c:418:46: note: Assuming that condition '(new=malloc(sizeof(struct JACK_PORT_INFO)))==NULL' is not redundant phasex-0.14.97/src/jack.c:427:3: note: Null pointer dereference phasex-0.14.97/src/jack.c:1336:10: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] phasex-0.14.97/src/jack.c:1334:14: note: Assuming allocation function fails phasex-0.14.97/src/jack.c:1334:14: note: Assignment 'dir=strdup(directory)', assigned value is 0 phasex-0.14.97/src/jack.c:1335:6: note: Assignment 'p=dir', assigned value is 0 phasex-0.14.97/src/jack.c:1336:10: note: Null pointer dereference phasex-0.14.97/src/jack.c:104:31: style: Variable 'in1' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/jack.c:105:31: style: Variable 'in2' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/jack.c:110:31: style: Variable 'part' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/jack.c:189:31: style: Variable 'in1' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/jack.c:190:31: style: Variable 'in2' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/jack.c:808:19: style: Variable 'cur' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/jack.c:1331:11: style: Variable 'q' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/jack.c:1386:32: style: Variable 'save_and_quit' is assigned a value that is never used. [unreadVariable] phasex-0.14.97/src/jack.c:1385:19: style: Unused variable: name [unusedVariable] phasex-0.14.97/src/jack.c:1386:18: style: Variable 'save_and_quit' is assigned a value that is never used. [unreadVariable] phasex-0.14.97/src/jack_midi.c:92:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_PARTS [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/jack_midi.c:52:23: style: Variable 'part' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/jack_midi.c:57:34: style: Variable 'type' is assigned a value that is never used. [unreadVariable] phasex-0.14.97/src/jack_transport.c:78:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JackTransportStopped [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/lash.c:66:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LASH_Client_Name [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/lash.c:197:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LASH_Save_File [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/lash.c:62:11: warning: Either the condition '(lash_name=malloc(64*sizeof(char)))==NULL' is redundant or there is possible null pointer dereference: lash_name. [nullPointerRedundantCheck] phasex-0.14.97/src/lash.c:58:46: note: Assuming that condition '(lash_name=malloc(64*sizeof(char)))==NULL' is not redundant phasex-0.14.97/src/lash.c:62:11: note: Null pointer dereference phasex-0.14.97/src/lash.c:125:20: warning: If memory allocation fails, then there is a possible null pointer dereference: dir [nullPointerOutOfMemory] phasex-0.14.97/src/lash.c:124:15: note: Assuming allocation function fails phasex-0.14.97/src/lash.c:124:15: note: Assignment 'dir=strdup(lash_dir)', assigned value is 0 phasex-0.14.97/src/lash.c:125:20: note: Null pointer dereference phasex-0.14.97/src/lash.c:125:11: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] phasex-0.14.97/src/lash.c:124:15: note: Assuming allocation function fails phasex-0.14.97/src/lash.c:124:15: note: Assignment 'dir=strdup(lash_dir)', assigned value is 0 phasex-0.14.97/src/lash.c:125:11: note: Null pointer addition phasex-0.14.97/src/lash.c:107:36: style: Parameter 'lash_dir' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/lash.c:112:11: style: Variable 'q' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/midi_event.c:63:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_PARTS [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/midi_event.c:192:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_PARTS [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/midi_event.c:113:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/midi_event.c:113:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/midi_event.c:231:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/midi_event.c:101:32: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/midi_process.c:64:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_PARTS [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/midi_process.c:579:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_PARTS [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/midi_process.c:177:20: style: Condition 'same_key==-1' is always true [knownConditionTrueFalse] phasex-0.14.97/src/midi_process.c:156:27: note: Assignment 'same_key=-1', assigned value is -1 phasex-0.14.97/src/midi_process.c:177:20: note: Condition 'same_key==-1' is always true phasex-0.14.97/src/midi_process.c:190:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/midi_process.c:220:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/midi_process.c:265:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/midi_process.c:389:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/midi_process.c:528:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/midi_process.c:572:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/midi_process.c:597:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/midi_process.c:969:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/midi_process.c:996:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/midi_process.c:1055:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/midi_process.c:1114:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/midi_process.c:1135:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/midi_process.c:1151:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/midi_process.c:1363:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/midi_process.c:186:20: style: Variable 'vnum[part_num]' is reassigned a value before the old one has been used. [redundantAssignment] phasex-0.14.97/src/midi_process.c:165:21: note: vnum[part_num] is assigned phasex-0.14.97/src/midi_process.c:186:20: note: vnum[part_num] is overwritten phasex-0.14.97/src/midi_process.c:95:19: style: Variable 'state' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/midi_process.c:316:19: style: Variable 'state' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/midi_process.c:521:35: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/midi_process.c:561:23: style: Variable 'part' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/midi_process.c:963:32: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/midi_process.c:966:15: style: Variable 'state' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/midi_process.c:989:34: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/midi_process.c:992:19: style: Variable 'state' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/midi_process.c:1109:31: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/midi_process.c:1127:31: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/midi_process.c:1149:36: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/midi_process.c:1165:32: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/midi_process.c:1281:32: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/midi_process.c:1298:32: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/midi_process.c:166:16: style: Variable 'voice_num' is assigned a value that is never used. [unreadVariable] phasex-0.14.97/src/midimap.c:252:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_PARTS [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/midimap.c:318:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/midimap.c:333:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/midimap.c:61:19: style: Variable 'param_info' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/midimap.c:134:20: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/midimap.c:308:20: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/midimap.c:310:19: style: Variable 'param' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/param.c:128:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_PARTS [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/param.c:203:10: warning: Either the condition '(numeric_label_list=malloc(129*sizeof(char*)))==NULL' is redundant or there is possible null pointer dereference: numeric_label_list. [nullPointerRedundantCheck] phasex-0.14.97/src/param.c:199:60: note: Assuming that condition '(numeric_label_list=malloc(129*sizeof(char*)))==NULL' is not redundant phasex-0.14.97/src/param.c:203:10: note: Null pointer dereference phasex-0.14.97/src/param.c:66:39: style: Parameter 'param_name' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/param.c:85:28: style: Parameter 'param_name' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/param_parse.c:73:21: style: Parameter 'token' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/param_parse.c:73:34: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/param_parse.c:100:16: style: Parameter 'token' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/param_parse.c:100:29: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/param_parse.c:222:20: style: Parameter 'token' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/param_parse.c:222:33: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/param_parse.c:244:16: style: Parameter 'token' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/param_parse.c:244:29: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/param_parse.c:256:19: style: Parameter 'token' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/param_parse.c:256:32: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/param_parse.c:280:21: style: Parameter 'token' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/param_parse.c:280:34: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/param_parse.c:102:15: style: Variable 'wave' is assigned a value that is never used. [unreadVariable] phasex-0.14.97/src/patch.c:268:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_PARTS [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/patch.c:315:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/patch.c:602:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/patch.c:342:6: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] phasex-0.14.97/src/patch.c:343:29: style: Condition '!dir_found' is always true [knownConditionTrueFalse] phasex-0.14.97/src/patch.c:331:32: note: Assignment 'dir_found=0', assigned value is 0 phasex-0.14.97/src/patch.c:336:25: note: Assuming condition is false phasex-0.14.97/src/patch.c:343:29: note: Condition '!dir_found' is always true phasex-0.14.97/src/patch.c:63:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/patch.c:63:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/patch.c:374:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/patch.c:613:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/patch.c:385:10: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] phasex-0.14.97/src/patch.c:383:13: note: Assuming allocation function fails phasex-0.14.97/src/patch.c:383:13: note: Assignment 'p=strdup(filename)', assigned value is 0 phasex-0.14.97/src/patch.c:385:10: note: Null pointer dereference phasex-0.14.97/src/patch.c:416:5: warning: Either the condition '(pdir=malloc(sizeof(struct DIR_LIST)))==NULL' is redundant or there is possible null pointer dereference: pdir. [nullPointerRedundantCheck] phasex-0.14.97/src/patch.c:413:43: note: Assuming that condition '(pdir=malloc(sizeof(struct DIR_LIST)))==NULL' is not redundant phasex-0.14.97/src/patch.c:416:5: note: Null pointer dereference phasex-0.14.97/src/patch.c:417:5: warning: Either the condition '(pdir=malloc(sizeof(struct DIR_LIST)))==NULL' is redundant or there is possible null pointer dereference: pdir. [nullPointerRedundantCheck] phasex-0.14.97/src/patch.c:413:43: note: Assuming that condition '(pdir=malloc(sizeof(struct DIR_LIST)))==NULL' is not redundant phasex-0.14.97/src/patch.c:417:5: note: Null pointer dereference phasex-0.14.97/src/patch.c:417:27: warning: Either the condition '(pdir=malloc(sizeof(struct DIR_LIST)))==NULL' is redundant or there is possible null pointer dereference: pdir. [nullPointerRedundantCheck] phasex-0.14.97/src/patch.c:413:43: note: Assuming that condition '(pdir=malloc(sizeof(struct DIR_LIST)))==NULL' is not redundant phasex-0.14.97/src/patch.c:417:27: note: Null pointer dereference phasex-0.14.97/src/patch.c:630:10: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] phasex-0.14.97/src/patch.c:628:15: note: Assuming allocation function fails phasex-0.14.97/src/patch.c:628:15: note: Assignment 'tmp=strdup(filename)', assigned value is 0 phasex-0.14.97/src/patch.c:630:10: note: Null pointer dereference phasex-0.14.97/src/patch.c:661:5: warning: Either the condition '(pdir=malloc(sizeof(struct DIR_LIST)))==NULL' is redundant or there is possible null pointer dereference: pdir. [nullPointerRedundantCheck] phasex-0.14.97/src/patch.c:658:43: note: Assuming that condition '(pdir=malloc(sizeof(struct DIR_LIST)))==NULL' is not redundant phasex-0.14.97/src/patch.c:661:5: note: Null pointer dereference phasex-0.14.97/src/patch.c:662:5: warning: Either the condition '(pdir=malloc(sizeof(struct DIR_LIST)))==NULL' is redundant or there is possible null pointer dereference: pdir. [nullPointerRedundantCheck] phasex-0.14.97/src/patch.c:658:43: note: Assuming that condition '(pdir=malloc(sizeof(struct DIR_LIST)))==NULL' is not redundant phasex-0.14.97/src/patch.c:662:5: note: Null pointer dereference phasex-0.14.97/src/patch.c:662:27: warning: Either the condition '(pdir=malloc(sizeof(struct DIR_LIST)))==NULL' is redundant or there is possible null pointer dereference: pdir. [nullPointerRedundantCheck] phasex-0.14.97/src/patch.c:658:43: note: Assuming that condition '(pdir=malloc(sizeof(struct DIR_LIST)))==NULL' is not redundant phasex-0.14.97/src/patch.c:662:27: note: Null pointer dereference phasex-0.14.97/src/patch.c:580:19: style: Variable 'param_str_val' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/phasex.c:172:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/phasex.c:190:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/phasex.c:253:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/phasex.c:394:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/phasex.c:464:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/phasex.c:264:45: warning: Either the condition 'home==NULL' is redundant or there is possible null pointer dereference: home. [nullPointerRedundantCheck] phasex-0.14.97/src/phasex.c:259:11: note: Assuming that condition 'home==NULL' is not redundant phasex-0.14.97/src/phasex.c:264:45: note: Null pointer dereference phasex-0.14.97/src/phasex.c:664:42: warning: If memory allocation fails, then there is a possible null pointer dereference: init_session_dir [nullPointerOutOfMemory] phasex-0.14.97/src/phasex.c:660:29: note: Assuming allocation function fails phasex-0.14.97/src/phasex.c:660:29: note: Assignment 'init_session_dir=strdup(optarg)', assigned value is 0 phasex-0.14.97/src/phasex.c:664:42: note: Null pointer dereference phasex-0.14.97/src/phasex.c:223:54: style: Checking if unsigned expression 'fread(buf,sizeof(char),sizeof(buf),cmdfile)' is less than zero. [unsignedLessThanZero] phasex-0.14.97/src/phasex.c:137:17: style: Parameter 'argvzero' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/phasex.c:196:18: style: Variable 'p' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/phasex.c:197:18: style: Variable 'q' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/phasex.c:251:15: style: Variable 'home' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/phasex.c:465:19: style: Variable 'op' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/phasex.c:739:12: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] phasex-0.14.97/src/rawmidi.c:157:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_RAWMIDI_STREAM_INPUT [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/rawmidi.c:241:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/rawmidi.c:670:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/rawmidi.c:1010:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_PARTS [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/rawmidi.c:613:6: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] phasex-0.14.97/src/rawmidi.c:688:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] phasex-0.14.97/src/rawmidi.c:706:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] phasex-0.14.97/src/rawmidi.c:850:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] phasex-0.14.97/src/rawmidi.c:69:11: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] phasex-0.14.97/src/rawmidi.c:68:13: note: outer condition: cur!=NULL phasex-0.14.97/src/rawmidi.c:69:11: note: identical inner condition: cur!=NULL phasex-0.14.97/src/rawmidi.c:168:6: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/rawmidi.c:186:6: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/rawmidi.c:1006:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/rawmidi.c:1064:6: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/rawmidi.c:179:5: warning: Either the condition '(hwinfo=malloc(sizeof(struct ALSA_RAWMIDI_HW_INFO)))==NULL' is redundant or there is possible null pointer dereference: hwinfo. [nullPointerRedundantCheck] phasex-0.14.97/src/rawmidi.c:176:57: note: Assuming that condition '(hwinfo=malloc(sizeof(struct ALSA_RAWMIDI_HW_INFO)))==NULL' is not redundant phasex-0.14.97/src/rawmidi.c:179:5: note: Null pointer dereference phasex-0.14.97/src/rawmidi.c:180:5: warning: Either the condition '(hwinfo=malloc(sizeof(struct ALSA_RAWMIDI_HW_INFO)))==NULL' is redundant or there is possible null pointer dereference: hwinfo. [nullPointerRedundantCheck] phasex-0.14.97/src/rawmidi.c:176:57: note: Assuming that condition '(hwinfo=malloc(sizeof(struct ALSA_RAWMIDI_HW_INFO)))==NULL' is not redundant phasex-0.14.97/src/rawmidi.c:180:5: note: Null pointer dereference phasex-0.14.97/src/rawmidi.c:181:5: warning: Either the condition '(hwinfo=malloc(sizeof(struct ALSA_RAWMIDI_HW_INFO)))==NULL' is redundant or there is possible null pointer dereference: hwinfo. [nullPointerRedundantCheck] phasex-0.14.97/src/rawmidi.c:176:57: note: Assuming that condition '(hwinfo=malloc(sizeof(struct ALSA_RAWMIDI_HW_INFO)))==NULL' is not redundant phasex-0.14.97/src/rawmidi.c:181:5: note: Null pointer dereference phasex-0.14.97/src/rawmidi.c:182:5: warning: Either the condition '(hwinfo=malloc(sizeof(struct ALSA_RAWMIDI_HW_INFO)))==NULL' is redundant or there is possible null pointer dereference: hwinfo. [nullPointerRedundantCheck] phasex-0.14.97/src/rawmidi.c:176:57: note: Assuming that condition '(hwinfo=malloc(sizeof(struct ALSA_RAWMIDI_HW_INFO)))==NULL' is not redundant phasex-0.14.97/src/rawmidi.c:182:5: note: Null pointer dereference phasex-0.14.97/src/rawmidi.c:183:5: warning: Either the condition '(hwinfo=malloc(sizeof(struct ALSA_RAWMIDI_HW_INFO)))==NULL' is redundant or there is possible null pointer dereference: hwinfo. [nullPointerRedundantCheck] phasex-0.14.97/src/rawmidi.c:176:57: note: Assuming that condition '(hwinfo=malloc(sizeof(struct ALSA_RAWMIDI_HW_INFO)))==NULL' is not redundant phasex-0.14.97/src/rawmidi.c:183:5: note: Null pointer dereference phasex-0.14.97/src/rawmidi.c:184:5: warning: Either the condition '(hwinfo=malloc(sizeof(struct ALSA_RAWMIDI_HW_INFO)))==NULL' is redundant or there is possible null pointer dereference: hwinfo. [nullPointerRedundantCheck] phasex-0.14.97/src/rawmidi.c:176:57: note: Assuming that condition '(hwinfo=malloc(sizeof(struct ALSA_RAWMIDI_HW_INFO)))==NULL' is not redundant phasex-0.14.97/src/rawmidi.c:184:5: note: Null pointer dereference phasex-0.14.97/src/rawmidi.c:93:27: style: Variable 'cur_a' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/rawmidi.c:94:27: style: Variable 'cur_b' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/rawmidi.c:228:20: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] phasex-0.14.97/src/rawmidi.c:775:27: style: Variable 'cur' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/rawmidi.c:917:23: style: Variable 'part' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/session.c:109:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_PARTS [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/session.c:149:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/session.c:262:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/session.c:429:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/session.c:564:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/session.c:523:6: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] phasex-0.14.97/src/session.c:604:12: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] phasex-0.14.97/src/session.c:170:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/session.c:174:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/session.c:204:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/session.c:364:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/session.c:395:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/session.c:405:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/session.c:475:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/session.c:579:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/session.c:292:4: error: Memory leak: streambuf [memleak] phasex-0.14.97/src/session.c:212:32: warning: Either the condition 'directory!=NULL' is redundant or there is possible null pointer dereference: directory. [nullPointerRedundantCheck] phasex-0.14.97/src/session.c:215:19: note: Assuming that condition 'directory!=NULL' is not redundant phasex-0.14.97/src/session.c:212:32: note: Null pointer dereference phasex-0.14.97/src/session.c:230:6: warning: Either the condition '(pdir=malloc(sizeof(struct DIR_LIST)))==NULL' is redundant or there is possible null pointer dereference: pdir. [nullPointerRedundantCheck] phasex-0.14.97/src/session.c:227:44: note: Assuming that condition '(pdir=malloc(sizeof(struct DIR_LIST)))==NULL' is not redundant phasex-0.14.97/src/session.c:230:6: note: Null pointer dereference phasex-0.14.97/src/session.c:231:6: warning: Either the condition '(pdir=malloc(sizeof(struct DIR_LIST)))==NULL' is redundant or there is possible null pointer dereference: pdir. [nullPointerRedundantCheck] phasex-0.14.97/src/session.c:227:44: note: Assuming that condition '(pdir=malloc(sizeof(struct DIR_LIST)))==NULL' is not redundant phasex-0.14.97/src/session.c:231:6: note: Null pointer dereference phasex-0.14.97/src/session.c:231:28: warning: Either the condition '(pdir=malloc(sizeof(struct DIR_LIST)))==NULL' is redundant or there is possible null pointer dereference: pdir. [nullPointerRedundantCheck] phasex-0.14.97/src/session.c:227:44: note: Assuming that condition '(pdir=malloc(sizeof(struct DIR_LIST)))==NULL' is not redundant phasex-0.14.97/src/session.c:231:28: note: Null pointer dereference phasex-0.14.97/src/session.c:453:14: warning: Either the condition '(dir=opendir(directory))==NULL' is redundant or there is possible null pointer dereference: dir. [nullPointerRedundantCheck] phasex-0.14.97/src/session.c:448:33: note: Assuming that condition '(dir=opendir(directory))==NULL' is not redundant phasex-0.14.97/src/session.c:453:14: note: Null pointer dereference phasex-0.14.97/src/session.c:458:11: warning: Either the condition '(dir=opendir(directory))==NULL' is redundant or there is possible null pointer dereference: dir. [nullPointerRedundantCheck] phasex-0.14.97/src/session.c:448:33: note: Assuming that condition '(dir=opendir(directory))==NULL' is not redundant phasex-0.14.97/src/session.c:458:11: note: Null pointer dereference phasex-0.14.97/src/session.c:453:14: error: Null pointer dereference [nullPointer] phasex-0.14.97/src/session.c:71:26: style:inconclusive: Function 'get_session' argument 1 names different: declaration 'session_num' definition 'sess_num'. [funcArgNamesDifferent] phasex-0.14.97/src/session.h:63:35: note: Function 'get_session' argument 1 names different: declaration 'session_num' definition 'sess_num'. phasex-0.14.97/src/session.c:71:26: note: Function 'get_session' argument 1 names different: declaration 'session_num' definition 'sess_num'. phasex-0.14.97/src/session.c:84:42: warning: Function 'set_patch_from_session_bank' argument order different: declaration 'part_num, session_num' definition 'sess_num, part_num' [funcArgOrderDifferent] phasex-0.14.97/src/session.h:64:49: note: Function 'set_patch_from_session_bank' argument order different: declaration 'part_num, session_num' definition 'sess_num, part_num' phasex-0.14.97/src/session.c:84:42: note: Function 'set_patch_from_session_bank' argument order different: declaration 'part_num, session_num' definition 'sess_num, part_num' phasex-0.14.97/src/session.c:141:44: style:inconclusive: Function 'load_session' argument 2 names different: declaration 'session_num' definition 'sess_num'. [funcArgNamesDifferent] phasex-0.14.97/src/session.h:68:48: note: Function 'load_session' argument 2 names different: declaration 'session_num' definition 'sess_num'. phasex-0.14.97/src/session.c:141:44: note: Function 'load_session' argument 2 names different: declaration 'session_num' definition 'sess_num'. phasex-0.14.97/src/session.c:421:44: style:inconclusive: Function 'save_session' argument 2 names different: declaration 'session_num' definition 'sess_num'. [funcArgNamesDifferent] phasex-0.14.97/src/session.h:69:48: note: Function 'save_session' argument 2 names different: declaration 'session_num' definition 'sess_num'. phasex-0.14.97/src/session.c:421:44: note: Function 'save_session' argument 2 names different: declaration 'session_num' definition 'sess_num'. phasex-0.14.97/src/session.c:145:19: style: Local variable 'active_patch' shadows outer variable [shadowVariable] phasex-0.14.97/src/patch.h:222:22: note: Shadowed declaration phasex-0.14.97/src/session.c:145:19: note: Shadow variable phasex-0.14.97/src/session.c:260:19: style: Variable 'session_bank_file' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/session.c:261:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/session.c:427:19: style: Variable 'tmpdir' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/session.c:550:19: style: Variable 'session' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/session.c:552:19: style: Variable 'session_bank_file' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/session.c:595:11: style: Variable 'tmpname' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/session.c:424:34: style: Variable 'new_session' is assigned a value that is never used. [unreadVariable] phasex-0.14.97/src/settings.c:2477:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [syntaxError] phasex-0.14.97/src/string_util.c:40:19: style: Variable 'token_begin' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/string_util.c:42:19: style: Variable 'last_inbuf' can be declared as pointer to const [constVariablePointer] phasex-0.14.97/src/timekeeping.c:312:26: style: Local variable 'last_cycle_frame' shadows outer variable [shadowVariable] phasex-0.14.97/src/timekeeping.c:70:29: note: Shadowed declaration phasex-0.14.97/src/timekeeping.c:312:26: note: Shadow variable phasex-0.14.97/src/timekeeping.c:243:25: error: Uninitialized variable: last_timeref [uninitvar] phasex-0.14.97/src/timekeeping.c:577:7: error: Uninitialized variable: timeout [uninitvar] phasex-0.14.97/src/timekeeping.c:586:32: error: Uninitialized variable: midi_clock [uninitvar] phasex-0.14.97/src/timekeeping.c:436:31: style: Variable 'next_timeref.timestamp.nsec' is assigned a value that is never used. [unreadVariable] phasex-0.14.97/src/timekeeping.c:437:31: style: Variable 'next_timeref.timestamp.sec' is assigned a value that is never used. [unreadVariable] phasex-0.14.97/src/timekeeping.c:440:31: style: Variable 'next_timeref.timestamp.nsec' is assigned a value that is never used. [unreadVariable] phasex-0.14.97/src/timekeeping.c:441:31: style: Variable 'next_timeref.timestamp.sec' is assigned a value that is never used. [unreadVariable] phasex-0.14.97/src/timekeeping.c:307:26: style: Unused variable: timeref [unusedVariable] phasex-0.14.97/src/timekeeping.c:542:31: style: Variable 'new_timeout.timestamp.sec' is assigned a value that is never used. [unreadVariable] phasex-0.14.97/src/timekeeping.c:543:31: style: Variable 'new_timeout.timestamp.nsec' is assigned a value that is never used. [unreadVariable] phasex-0.14.97/src/wave.c:558:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] phasex-0.14.97/src/wave.c:599:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phasex-0.14.97/src/wave.c:620:19: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] phasex-0.14.97/src/wave.c:727:26: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] diff: DONE