2025-11-24 21:09 ftp://ftp.de.debian.org/debian/pool/main/x/xwax/xwax_1.10~beta1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=sdl --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-5.4.0-216-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.69 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 cppcheck: head 2.18.0 head-info: cb76e52 (2025-11-22 14:47:37 +0100) count: 184 180 elapsed-time: 1.9 1.8 head-timing-info: old-timing-info: head results: xwax-1.10-beta1/alsa.c:51:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/spin.h:39:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_PROCESS_PRIVATE [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/cues.c:31:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/alsa.c:75:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_PCM_NONBLOCK [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/controller.c:87:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/cues.c:41:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/alsa.c:289:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_PCM_STATE_XRUN [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/cues.c:66:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/alsa.c:335:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_PCM_STATE_XRUN [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/cues.c:91:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/alsa.c:373:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/alsa.c:478:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_PCM_STREAM_CAPTURE [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/controller.c:28:66: style:inconclusive: Function 'controller_init' argument 2 names different: declaration 't' definition 'ops'. [funcArgNamesDifferent] xwax-1.10-beta1/controller.h:55:66: note: Function 'controller_init' argument 2 names different: declaration 't' definition 'ops'. xwax-1.10-beta1/controller.c:28:66: note: Function 'controller_init' argument 2 names different: declaration 't' definition 'ops'. xwax-1.10-beta1/timecoder.h:99:79: style: Parameter 'tc' can be declared as pointer to const [constParameterPointer] xwax-1.10-beta1/timecoder.h:139:63: style: Parameter 'tc' can be declared as pointer to const [constParameterPointer] xwax-1.10-beta1/pitch.h:66:50: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] xwax-1.10-beta1/track.h:86:53: style: Parameter 'tr' can be declared as pointer to const [constParameterPointer] xwax-1.10-beta1/device.c:120:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/alsa.c:109:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xwax-1.10-beta1/alsa.c:159:13: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] xwax-1.10-beta1/alsa.c:465:46: style:inconclusive: Function 'alsa_init' argument 2 names different: declaration 'name' definition 'device_name'. [funcArgNamesDifferent] xwax-1.10-beta1/alsa.h:25:46: note: Function 'alsa_init' argument 2 names different: declaration 'name' definition 'device_name'. xwax-1.10-beta1/alsa.c:465:46: note: Function 'alsa_init' argument 2 names different: declaration 'name' definition 'device_name'. xwax-1.10-beta1/alsa.c:466:47: style:inconclusive: Function 'alsa_init' argument 4 names different: declaration 'buffer_time' definition 'buffer'. [funcArgNamesDifferent] xwax-1.10-beta1/alsa.h:26:47: note: Function 'alsa_init' argument 4 names different: declaration 'buffer_time' definition 'buffer'. xwax-1.10-beta1/alsa.c:466:47: note: Function 'alsa_init' argument 4 names different: declaration 'buffer_time' definition 'buffer'. xwax-1.10-beta1/device.c:130:65: style:inconclusive: Function 'device_submit' argument 3 names different: declaration 'npcm' definition 'n'. [funcArgNamesDifferent] xwax-1.10-beta1/device.h:63:65: note: Function 'device_submit' argument 3 names different: declaration 'npcm' definition 'n'. xwax-1.10-beta1/device.c:130:65: note: Function 'device_submit' argument 3 names different: declaration 'npcm' definition 'n'. xwax-1.10-beta1/device.c:142:66: style:inconclusive: Function 'device_collect' argument 3 names different: declaration 'npcm' definition 'n'. [funcArgNamesDifferent] xwax-1.10-beta1/device.h:64:66: note: Function 'device_collect' argument 3 names different: declaration 'npcm' definition 'n'. xwax-1.10-beta1/device.c:142:66: note: Function 'device_collect' argument 3 names different: declaration 'npcm' definition 'n'. xwax-1.10-beta1/deck.c:58:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/deck.c:146:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/deck.c:163:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/deck.c:183:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/dummy.c:22:48: style: Parameter 'd' can be declared as pointer to const. However it seems that 'sample_rate' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xwax-1.10-beta1/dummy.c:28:20: note: You might need to cast the function pointer here xwax-1.10-beta1/dummy.c:22:48: note: Parameter 'd' can be declared as pointer to const xwax-1.10-beta1/external.c:302:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/deck.c:47:28: style:inconclusive: Function 'deck_init' argument 1 names different: declaration 'deck' definition 'd'. [funcArgNamesDifferent] xwax-1.10-beta1/deck.h:54:28: note: Function 'deck_init' argument 1 names different: declaration 'deck' definition 'd'. xwax-1.10-beta1/deck.c:47:28: note: Function 'deck_init' argument 1 names different: declaration 'deck' definition 'd'. xwax-1.10-beta1/deck.c:77:30: style:inconclusive: Function 'deck_clear' argument 1 names different: declaration 'deck' definition 'd'. [funcArgNamesDifferent] xwax-1.10-beta1/deck.h:57:30: note: Function 'deck_clear' argument 1 names different: declaration 'deck' definition 'd'. xwax-1.10-beta1/deck.c:77:30: note: Function 'deck_clear' argument 1 names different: declaration 'deck' definition 'd'. xwax-1.10-beta1/deck.c:85:40: style:inconclusive: Function 'deck_is_locked' argument 1 names different: declaration 'deck' definition 'd'. [funcArgNamesDifferent] xwax-1.10-beta1/deck.h:59:40: note: Function 'deck_is_locked' argument 1 names different: declaration 'deck' definition 'd'. xwax-1.10-beta1/deck.c:85:40: note: Function 'deck_is_locked' argument 1 names different: declaration 'deck' definition 'd'. xwax-1.10-beta1/deck.c:94:29: style:inconclusive: Function 'deck_load' argument 1 names different: declaration 'deck' definition 'd'. [funcArgNamesDifferent] xwax-1.10-beta1/deck.h:61:29: note: Function 'deck_load' argument 1 names different: declaration 'deck' definition 'd'. xwax-1.10-beta1/deck.c:94:29: note: Function 'deck_load' argument 1 names different: declaration 'deck' definition 'd'. xwax-1.10-beta1/deck.c:111:30: style:inconclusive: Function 'deck_recue' argument 1 names different: declaration 'deck' definition 'd'. [funcArgNamesDifferent] xwax-1.10-beta1/deck.h:63:30: note: Function 'deck_recue' argument 1 names different: declaration 'deck' definition 'd'. xwax-1.10-beta1/deck.c:111:30: note: Function 'deck_recue' argument 1 names different: declaration 'deck' definition 'd'. xwax-1.10-beta1/deck.c:121:30: style:inconclusive: Function 'deck_clone' argument 1 names different: declaration 'deck' definition 'd'. [funcArgNamesDifferent] xwax-1.10-beta1/deck.h:64:30: note: Function 'deck_clone' argument 1 names different: declaration 'deck' definition 'd'. xwax-1.10-beta1/deck.c:121:30: note: Function 'deck_clone' argument 1 names different: declaration 'deck' definition 'd'. xwax-1.10-beta1/deck.c:131:34: style:inconclusive: Function 'deck_unset_cue' argument 1 names different: declaration 'deck' definition 'd'. [funcArgNamesDifferent] xwax-1.10-beta1/deck.h:65:34: note: Function 'deck_unset_cue' argument 1 names different: declaration 'deck' definition 'd'. xwax-1.10-beta1/deck.c:131:34: note: Function 'deck_unset_cue' argument 1 names different: declaration 'deck' definition 'd'. xwax-1.10-beta1/deck.c:141:28: style:inconclusive: Function 'deck_cue' argument 1 names different: declaration 'deck' definition 'd'. [funcArgNamesDifferent] xwax-1.10-beta1/deck.h:66:28: note: Function 'deck_cue' argument 1 names different: declaration 'deck' definition 'd'. xwax-1.10-beta1/deck.c:141:28: note: Function 'deck_cue' argument 1 names different: declaration 'deck' definition 'd'. xwax-1.10-beta1/deck.c:94:47: style: Parameter 'record' can be declared as pointer to const [constParameterPointer] xwax-1.10-beta1/excrate.c:45:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/excrate.c:151:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/excrate.c:172:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/excrate.c:195:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/external.c:46:11: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] xwax-1.10-beta1/external.c:42:26: style: Parameter 'pp' can be declared as const array [constParameter] xwax-1.10-beta1/dicer.c:331:50: style: Parameter 'buf' can be declared as const array [constParameter] xwax-1.10-beta1/dicer.c:250:9: style: Variable 'buf' is assigned a value that is never used. [unreadVariable] xwax-1.10-beta1/dicer.c:251:9: style: Variable 'len' is assigned a value that is never used. [unreadVariable] xwax-1.10-beta1/excrate.c:47:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xwax-1.10-beta1/excrate.c:146:37: style:inconclusive: Function 'excrate_pollfd' argument 1 names different: declaration 'tr' definition 'e'. [funcArgNamesDifferent] xwax-1.10-beta1/excrate.h:59:37: note: Function 'excrate_pollfd' argument 1 names different: declaration 'tr' definition 'e'. xwax-1.10-beta1/excrate.c:146:37: note: Function 'excrate_pollfd' argument 1 names different: declaration 'tr' definition 'e'. xwax-1.10-beta1/excrate.c:224:37: style:inconclusive: Function 'excrate_handle' argument 1 names different: declaration 'tr' definition 'e'. [funcArgNamesDifferent] xwax-1.10-beta1/excrate.h:60:37: note: Function 'excrate_handle' argument 1 names different: declaration 'tr' definition 'e'. xwax-1.10-beta1/excrate.c:224:37: note: Function 'excrate_handle' argument 1 names different: declaration 'tr' definition 'e'. xwax-1.10-beta1/excrate.c:158:9: style: Local variable 'status' shadows outer function [shadowFunction] xwax-1.10-beta1/status.h:38:13: note: Shadowed declaration xwax-1.10-beta1/excrate.c:158:9: note: Shadow variable xwax-1.10-beta1/index.c:251:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/index.c:417:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/index.c:117:30: style:inconclusive: Function 'index_add' argument 1 names different: declaration 'li' definition 'ls'. [funcArgNamesDifferent] xwax-1.10-beta1/index.h:61:30: note: Function 'index_add' argument 1 names different: declaration 'li' definition 'ls'. xwax-1.10-beta1/index.c:117:30: note: Function 'index_add' argument 1 names different: declaration 'li' definition 'ls'. xwax-1.10-beta1/index.c:171:46: style: Parameter 're' can be declared as pointer to const [constParameterPointer] xwax-1.10-beta1/index.c:316:20: style: Variable 'x' can be declared as pointer to const [constVariablePointer] xwax-1.10-beta1/index.c:412:32: style: Parameter 'ls' can be declared as pointer to const [constParameterPointer] xwax-1.10-beta1/jack.c:69:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jack_default_audio_sample_t [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/jack.c:156:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JackNullOption [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/jack.c:184:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/jack.c:207:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/library.c:44:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iconv_t [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/library.c:67:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iconv_t [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/library.c:448:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/library.c:520:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iconv_t [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/library.c:562:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/lut.c:45:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/jack.c:173:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xwax-1.10-beta1/lut.c:98:18: style: Variable 'slot' can be declared as pointer to const [constVariablePointer] xwax-1.10-beta1/jack.c:132:22: style: Variable 'jack' can be declared as pointer to const [constVariablePointer] xwax-1.10-beta1/jack.c:144:37: style: Parameter 'local' can be declared as pointer to const. However it seems that 'shutdown_callback' is a callback function, if 'local' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xwax-1.10-beta1/jack.c:170:30: note: You might need to cast the function pointer here xwax-1.10-beta1/jack.c:144:37: note: Parameter 'local' can be declared as pointer to const xwax-1.10-beta1/jack.c:224:48: style: Parameter 'dv' can be declared as pointer to const. However it seems that 'sample_rate' is a callback function, if 'dv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xwax-1.10-beta1/jack.c:303:20: note: You might need to cast the function pointer here xwax-1.10-beta1/jack.c:224:48: note: Parameter 'dv' can be declared as pointer to const xwax-1.10-beta1/mktimecode.c:89:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/midi.c:30:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/midi.c:37:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_RAWMIDI_NONBLOCK [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/midi.c:89:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/midi.c:104:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/library.c:505:11: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] xwax-1.10-beta1/oss.c:72:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/oss.c:94:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/oss.c:108:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/oss.c:136:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/library.c:601:36: style:inconclusive: Function 'library_import' argument 1 names different: declaration 'lib' definition 'li'. [funcArgNamesDifferent] xwax-1.10-beta1/library.h:71:36: note: Function 'library_import' argument 1 names different: declaration 'lib' definition 'li'. xwax-1.10-beta1/library.c:601:36: note: Function 'library_import' argument 1 names different: declaration 'lib' definition 'li'. xwax-1.10-beta1/oss.c:165:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/library.c:603:11: style: Variable 'cratename' can be declared as pointer to const [constVariablePointer] xwax-1.10-beta1/oss.c:44:17: style: Variable 'oss' can be declared as pointer to const [constVariablePointer] xwax-1.10-beta1/oss.c:58:39: style: Parameter 'pcm' can be declared as pointer to const [constParameterPointer] xwax-1.10-beta1/oss.c:104:17: style: Variable 'oss' can be declared as pointer to const [constVariablePointer] xwax-1.10-beta1/oss.c:145:17: style: Variable 'oss' can be declared as pointer to const [constVariablePointer] xwax-1.10-beta1/realtime.c:42:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCHED_FIFO [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/realtime.c:88:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/realtime.c:146:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/realtime.c:180:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/realtime.c:220:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/player.c:213:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITY [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/player.c:365:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITY [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/player.c:381:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITY [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/player.c:406:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/player.c:448:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITY [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/realtime.c:128:26: style: Parameter 'rt' can be declared as pointer to const [constParameterPointer] xwax-1.10-beta1/interface.c:313:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/interface.c:1407:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/interface.c:1506:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_BACKSPACE [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/interface.c:1635:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/interface.c:1649:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_PEEKEVENT [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/interface.c:1662:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_USEREVENT [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/interface.c:1672:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_USEREVENT [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/interface.c:1677:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_USEREVENT [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/interface.c:1725:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_USEREVENT [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/interface.c:1910:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_WINDOWPOS_UNDEFINED [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/interface.c:2014:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_USEREVENT [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/mutex.h:47:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/rig.c:97:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/player.c:200:57: style:inconclusive: Function 'player_init' argument 4 names different: declaration 'timecoder' definition 'tc'. [funcArgNamesDifferent] xwax-1.10-beta1/player.h:54:57: note: Function 'player_init' argument 4 names different: declaration 'timecoder' definition 'tc'. xwax-1.10-beta1/player.c:200:57: note: Function 'player_init' argument 4 names different: declaration 'timecoder' definition 'tc'. xwax-1.10-beta1/player.c:139:21: style: Local variable 'c' shadows outer variable [shadowVariable] xwax-1.10-beta1/player.c:121:13: note: Shadowed declaration xwax-1.10-beta1/player.c:139:21: note: Shadow variable xwax-1.10-beta1/player.c:58:53: style: Parameter 'y' can be declared as const array [constParameter] xwax-1.10-beta1/player.c:138:31: style: Variable 'ts' can be declared as pointer to const [constVariablePointer] xwax-1.10-beta1/player.c:263:43: style: Parameter 'pl' can be declared as pointer to const [constParameterPointer] xwax-1.10-beta1/player.c:268:42: style: Parameter 'pl' can be declared as pointer to const [constParameterPointer] xwax-1.10-beta1/selector.c:67:19: style: Variable 'l' can be declared as pointer to const [constVariablePointer] xwax-1.10-beta1/selector.c:161:54: style: Parameter 'x' can be declared as pointer to const. However it seems that 'handle_refresh' is a callback function, if 'x' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xwax-1.10-beta1/selector.c:220:40: note: You might need to cast the function pointer here xwax-1.10-beta1/selector.c:161:54: note: Parameter 'x' can be declared as pointer to const xwax-1.10-beta1/status.c:55:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/tests/cues.c:35:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUE_UNSET [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/status.c:49:21: style:inconclusive: Function 'status_set' argument 1 names different: declaration 'level' definition 'l'. [funcArgNamesDifferent] xwax-1.10-beta1/status.h:41:21: note: Function 'status_set' argument 1 names different: declaration 'level' definition 'l'. xwax-1.10-beta1/status.c:49:21: note: Function 'status_set' argument 1 names different: declaration 'level' definition 'l'. xwax-1.10-beta1/status.c:66:24: style:inconclusive: Function 'status_printf' argument 1 names different: declaration 'level' definition 'lvl'. [funcArgNamesDifferent] xwax-1.10-beta1/status.h:42:24: note: Function 'status_printf' argument 1 names different: declaration 'level' definition 'lvl'. xwax-1.10-beta1/status.c:66:24: note: Function 'status_printf' argument 1 names different: declaration 'level' definition 'lvl'. xwax-1.10-beta1/status.c:66:41: style:inconclusive: Function 'status_printf' argument 2 names different: declaration 's' definition 't'. [funcArgNamesDifferent] xwax-1.10-beta1/status.h:42:43: note: Function 'status_printf' argument 2 names different: declaration 's' definition 't'. xwax-1.10-beta1/status.c:66:41: note: Function 'status_printf' argument 2 names different: declaration 's' definition 't'. xwax-1.10-beta1/tests/external.c:42:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/tests/library.c:44:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/tests/midi.c:30:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/tests/observer.c:26:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/tests/status.c:37:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS_VERBOSE [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/rig.c:148:23: style: Condition 'z==-1' is always false [knownConditionTrueFalse] xwax-1.10-beta1/tests/midi.c:65:17: warning: %hhx in format string (no. 1) requires 'unsigned char' but the argument type is 'char'. [invalidPrintfArgType_uint] xwax-1.10-beta1/tests/midi.c:68:13: portability: %d in format string (no. 1) requires 'int' but the argument type is 'ssize_t {aka signed long}'. [invalidPrintfArgType_sint] xwax-1.10-beta1/tests/midi.c:56:21: style: Local variable 'z' shadows outer variable [shadowVariable] xwax-1.10-beta1/tests/midi.c:38:17: note: Shadowed declaration xwax-1.10-beta1/tests/midi.c:56:21: note: Shadow variable xwax-1.10-beta1/tests/observer.c:24:32: style: Parameter 't' can be declared as pointer to const. However it seems that 'callback' is a callback function, if 't' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xwax-1.10-beta1/tests/observer.c:37:19: note: You might need to cast the function pointer here xwax-1.10-beta1/tests/observer.c:24:32: note: Parameter 't' can be declared as pointer to const xwax-1.10-beta1/tests/observer.c:24:41: style: Parameter 'x' can be declared as pointer to const. However it seems that 'callback' is a callback function, if 'x' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xwax-1.10-beta1/tests/observer.c:37:19: note: You might need to cast the function pointer here xwax-1.10-beta1/tests/observer.c:24:41: note: Parameter 'x' can be declared as pointer to const xwax-1.10-beta1/tests/status.c:24:32: style: Parameter 'o' can be declared as pointer to const. However it seems that 'callback' is a callback function, if 'o' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xwax-1.10-beta1/tests/status.c:43:32: note: You might need to cast the function pointer here xwax-1.10-beta1/tests/status.c:24:32: note: Parameter 'o' can be declared as pointer to const xwax-1.10-beta1/tests/status.c:24:41: style: Parameter 'x' can be declared as pointer to const. However it seems that 'callback' is a callback function, if 'x' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xwax-1.10-beta1/tests/status.c:43:32: note: You might need to cast the function pointer here xwax-1.10-beta1/tests/status.c:24:41: note: Parameter 'x' can be declared as pointer to const xwax-1.10-beta1/tests/track.c:35:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/tests/timecoder.c:51:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/tests/ttf.c:57:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/tests/ttf.c:54:19: style: Variable 'renderer' can be declared as pointer to const [constVariablePointer] xwax-1.10-beta1/thread.c:42:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/thread.c:81:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/timecoder.c:228:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/track.c:86:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/track.c:220:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/track.c:387:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/track.c:412:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/track.c:449:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwax-1.10-beta1/xwax.c:57:24: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] xwax-1.10-beta1/track.c:222:67: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xwax-1.10-beta1/track.c:382:33: style:inconclusive: Function 'track_pollfd' argument 1 names different: declaration 'tr' definition 't'. [funcArgNamesDifferent] xwax-1.10-beta1/track.h:81:33: note: Function 'track_pollfd' argument 1 names different: declaration 'tr' definition 't'. xwax-1.10-beta1/track.c:382:33: note: Function 'track_pollfd' argument 1 names different: declaration 'tr' definition 't'. xwax-1.10-beta1/track.c:438:9: style: Local variable 'status' shadows outer function [shadowFunction] xwax-1.10-beta1/status.h:38:13: note: Shadowed declaration xwax-1.10-beta1/track.c:438:9: note: Shadow variable xwax-1.10-beta1/track.c:134:41: portability: '(void*)tr->block[block]->pcm' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] xwax-1.10-beta1/timecoder.c:189:63: style: Parameter 'def' can be declared as pointer to const [constParameterPointer] xwax-1.10-beta1/timecoder.c:203:63: style: Parameter 'def' can be declared as pointer to const [constParameterPointer] xwax-1.10-beta1/timecoder.c:347:40: style: Parameter 'tc' can be declared as pointer to const [constParameterPointer] xwax-1.10-beta1/interface.c:1707:13: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] xwax-1.10-beta1/interface.c:1174:9: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] xwax-1.10-beta1/interface.c:1831:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xwax-1.10-beta1/interface.c:1713:14: warning: Either the condition '!surface' is redundant or there is possible null pointer dereference: surface. [nullPointerRedundantCheck] xwax-1.10-beta1/interface.c:1714:17: note: Assuming that condition '!surface' is not redundant xwax-1.10-beta1/interface.c:1713:14: note: Null pointer dereference xwax-1.10-beta1/interface.c:327:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] xwax-1.10-beta1/layout.h:240:18: style: Local variable 'pixels' shadows outer function [shadowFunction] xwax-1.10-beta1/layout.h:125:29: note: Shadowed declaration xwax-1.10-beta1/layout.h:240:18: note: Shadow variable xwax-1.10-beta1/interface.c:300:15: style: Local variable 'font' shadows outer variable [shadowVariable] xwax-1.10-beta1/interface.c:159:6: note: Shadowed declaration xwax-1.10-beta1/interface.c:300:15: note: Shadow variable xwax-1.10-beta1/interface.c:426:25: style: Local variable 'fill' shadows outer variable [shadowVariable] xwax-1.10-beta1/interface.c:410:24: note: Shadowed declaration xwax-1.10-beta1/interface.c:426:25: note: Shadow variable xwax-1.10-beta1/interface.c:834:12: style: Local variable 'pixels' shadows outer function [shadowFunction] xwax-1.10-beta1/layout.h:125:29: note: Shadowed declaration xwax-1.10-beta1/interface.c:834:12: note: Shadow variable xwax-1.10-beta1/interface.c:916:12: style: Local variable 'pixels' shadows outer function [shadowFunction] xwax-1.10-beta1/layout.h:125:29: note: Shadowed declaration xwax-1.10-beta1/interface.c:916:12: note: Shadow variable xwax-1.10-beta1/interface.c:1074:37: style: Local variable 'status' shadows outer function [shadowFunction] xwax-1.10-beta1/status.h:38:13: note: Shadowed declaration xwax-1.10-beta1/interface.c:1074:37: note: Shadow variable xwax-1.10-beta1/interface.c:1264:28: style: Local variable 'selector' shadows outer variable [shadowVariable] xwax-1.10-beta1/interface.c:180:24: note: Shadowed declaration xwax-1.10-beta1/interface.c:1264:28: note: Shadow variable xwax-1.10-beta1/interface.c:1375:18: style: Local variable 'rows' shadows outer function [shadowFunction] xwax-1.10-beta1/layout.h:110:29: note: Shadowed declaration xwax-1.10-beta1/interface.c:1375:18: note: Shadow variable xwax-1.10-beta1/interface.c:391:36: style: Parameter 'sf' can be declared as pointer to const [constParameterPointer] xwax-1.10-beta1/interface.c:391:51: style: Parameter 'col' can be declared as pointer to const [constParameterPointer] xwax-1.10-beta1/interface.c:1149:42: style: Parameter 'sel' can be declared as pointer to const [constParameterPointer] xwax-1.10-beta1/interface.c:1325:20: style: Variable 'record' can be declared as pointer to const [constVariablePointer] xwax-1.10-beta1/interface.c:1660:45: style: Parameter 'p' can be declared as pointer to const. However it seems that 'ticker' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xwax-1.10-beta1/interface.c:1768:35: note: You might need to cast the function pointer here xwax-1.10-beta1/interface.c:1660:45: note: Parameter 'p' can be declared as pointer to const xwax-1.10-beta1/interface.c:1670:50: style: Parameter 'o' can be declared as pointer to const. However it seems that 'defer_status_redraw' is a callback function, if 'o' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xwax-1.10-beta1/interface.c:1987:40: note: You might need to cast the function pointer here xwax-1.10-beta1/interface.c:1670:50: note: Parameter 'o' can be declared as pointer to const xwax-1.10-beta1/interface.c:1670:59: style: Parameter 'x' can be declared as pointer to const. However it seems that 'defer_status_redraw' is a callback function, if 'x' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xwax-1.10-beta1/interface.c:1987:40: note: You might need to cast the function pointer here xwax-1.10-beta1/interface.c:1670:59: note: Parameter 'x' can be declared as pointer to const xwax-1.10-beta1/interface.c:1675:52: style: Parameter 'o' can be declared as pointer to const. However it seems that 'defer_selector_redraw' is a callback function, if 'o' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xwax-1.10-beta1/interface.c:1988:44: note: You might need to cast the function pointer here xwax-1.10-beta1/interface.c:1675:52: note: Parameter 'o' can be declared as pointer to const xwax-1.10-beta1/interface.c:1675:61: style: Parameter 'x' can be declared as pointer to const. However it seems that 'defer_selector_redraw' is a callback function, if 'x' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xwax-1.10-beta1/interface.c:1988:44: note: You might need to cast the function pointer here xwax-1.10-beta1/interface.c:1675:61: note: Parameter 'x' can be declared as pointer to const xwax-1.10-beta1/interface.c:1683:20: style: Variable 'record' can be declared as pointer to const [constVariablePointer] xwax-1.10-beta1/interface.c:1800:27: style: Parameter 'p' can be declared as pointer to const. However it seems that 'launch' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xwax-1.10-beta1/interface.c:1993:35: note: You might need to cast the function pointer here xwax-1.10-beta1/interface.c:1800:27: note: Parameter 'p' can be declared as pointer to const diff: head xwax-1.10-beta1/deck.c:94:47: style: Parameter 'record' can be declared as pointer to const [constParameterPointer] head xwax-1.10-beta1/interface.c:1149:42: style: Parameter 'sel' can be declared as pointer to const [constParameterPointer] head xwax-1.10-beta1/interface.c:1683:20: style: Variable 'record' can be declared as pointer to const [constVariablePointer] head xwax-1.10-beta1/tests/status.c:24:41: style: Parameter 'x' can be declared as pointer to const. However it seems that 'callback' is a callback function, if 'x' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xwax-1.10-beta1/tests/status.c:43:32: note: You might need to cast the function pointer here xwax-1.10-beta1/tests/status.c:24:41: note: Parameter 'x' can be declared as pointer to const DONE