2024-04-13 19:55 ftp://ftp.de.debian.org/debian/pool/main/v/vorbis-tools/vorbis-tools_1.4.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=libcurl --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-102-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.56 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.13.0 head-info: 01c049d (2024-04-13 21:28:19 +0200) count: 343 273 elapsed-time: 43.5 53.8 head-timing-info: old-timing-info: head results: vorbis-tools-1.4.2/intl/bindtextdom.c:206:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable domainname [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/intl/bindtextdom.c:232:12: style: Local variable 'len' shadows outer variable [shadowVariable] vorbis-tools-1.4.2/intl/bindtextdom.c:204:14: note: Shadowed declaration vorbis-tools-1.4.2/intl/bindtextdom.c:232:12: note: Shadow variable vorbis-tools-1.4.2/intl/bindtextdom.c:261:15: style: Local variable 'len' shadows outer variable [shadowVariable] vorbis-tools-1.4.2/intl/bindtextdom.c:204:14: note: Shadowed declaration vorbis-tools-1.4.2/intl/bindtextdom.c:261:15: note: Shadow variable vorbis-tools-1.4.2/intl/dcigettext.c:547:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msgid [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/intl/dcigettext.c:650:14: style: Obsolescent function 'getwd' called. It is recommended to use 'getcwd' instead. [prohibitedgetwdCalled] vorbis-tools-1.4.2/intl/dcigettext.c:697:39: style: Redundant condition: The condition 'categoryvalue[0] != '\0'' is redundant since 'categoryvalue[0] == ':'' is sufficient. [redundantCondition] vorbis-tools-1.4.2/intl/dcigettext.c:487:25: style:inconclusive: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] vorbis-tools-1.4.2/intl/gettextP.h:80:46: note: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. vorbis-tools-1.4.2/intl/dcigettext.c:487:25: note: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. vorbis-tools-1.4.2/intl/dcigettext.c:487:49: style:inconclusive: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. [funcArgNamesDifferent] vorbis-tools-1.4.2/intl/gettextP.h:81:18: note: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. vorbis-tools-1.4.2/intl/dcigettext.c:487:49: note: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. vorbis-tools-1.4.2/intl/dcigettext.c:487:69: style:inconclusive: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. [funcArgNamesDifferent] vorbis-tools-1.4.2/intl/gettextP.h:81:40: note: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. vorbis-tools-1.4.2/intl/dcigettext.c:487:69: note: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. vorbis-tools-1.4.2/intl/dcigettext.c:488:10: style:inconclusive: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. [funcArgNamesDifferent] vorbis-tools-1.4.2/intl/gettextP.h:82:10: note: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. vorbis-tools-1.4.2/intl/dcigettext.c:488:10: note: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. vorbis-tools-1.4.2/intl/dcigettext.c:488:36: style:inconclusive: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. [funcArgNamesDifferent] vorbis-tools-1.4.2/intl/gettextP.h:82:38: note: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. vorbis-tools-1.4.2/intl/dcigettext.c:488:36: note: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. vorbis-tools-1.4.2/intl/dcigettext.c:488:43: style:inconclusive: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. [funcArgNamesDifferent] vorbis-tools-1.4.2/intl/gettextP.h:83:10: note: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. vorbis-tools-1.4.2/intl/dcigettext.c:488:43: note: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. vorbis-tools-1.4.2/intl/tsearch.c:184:8: style: Local variable 'root' shadows outer variable [shadowVariable] vorbis-tools-1.4.2/intl/dcigettext.c:278:14: note: Shadowed declaration vorbis-tools-1.4.2/intl/tsearch.c:184:8: note: Shadow variable vorbis-tools-1.4.2/intl/tsearch.c:284:12: style: Local variable 'root' shadows outer variable [shadowVariable] vorbis-tools-1.4.2/intl/dcigettext.c:278:14: note: Shadowed declaration vorbis-tools-1.4.2/intl/tsearch.c:284:12: note: Shadow variable vorbis-tools-1.4.2/intl/tsearch.c:345:12: style: Local variable 'root' shadows outer variable [shadowVariable] vorbis-tools-1.4.2/intl/dcigettext.c:278:14: note: Shadowed declaration vorbis-tools-1.4.2/intl/tsearch.c:345:12: note: Shadow variable vorbis-tools-1.4.2/intl/tsearch.c:370:8: style: Local variable 'root' shadows outer variable [shadowVariable] vorbis-tools-1.4.2/intl/dcigettext.c:278:14: note: Shadowed declaration vorbis-tools-1.4.2/intl/tsearch.c:370:8: note: Shadow variable vorbis-tools-1.4.2/intl/tsearch.c:620:14: style: Local variable 'root' shadows outer variable [shadowVariable] vorbis-tools-1.4.2/intl/dcigettext.c:278:14: note: Shadowed declaration vorbis-tools-1.4.2/intl/tsearch.c:620:14: note: Shadow variable vorbis-tools-1.4.2/intl/tsearch.c:643:14: style: Local variable 'root' shadows outer variable [shadowVariable] vorbis-tools-1.4.2/intl/dcigettext.c:278:14: note: Shadowed declaration vorbis-tools-1.4.2/intl/tsearch.c:643:14: note: Shadow variable vorbis-tools-1.4.2/intl/dcigettext.c:639:10: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/intl/dcigettext.c:1384:25: style: Variable 'domaindata' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/intl/dgettext.c:52:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/intl/dngettext.c:53:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/intl/finddomain.c:61:30: style:inconclusive: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. [funcArgNamesDifferent] vorbis-tools-1.4.2/intl/gettextP.h:243:54: note: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. vorbis-tools-1.4.2/intl/finddomain.c:61:30: note: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. vorbis-tools-1.4.2/intl/finddomain.c:61:45: style:inconclusive: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. [funcArgNamesDifferent] vorbis-tools-1.4.2/intl/gettextP.h:243:71: note: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. vorbis-tools-1.4.2/intl/finddomain.c:61:45: note: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. vorbis-tools-1.4.2/intl/finddomain.c:62:16: style:inconclusive: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] vorbis-tools-1.4.2/intl/gettextP.h:244:19: note: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. vorbis-tools-1.4.2/intl/finddomain.c:62:16: note: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. vorbis-tools-1.4.2/intl/finddomain.c:62:44: style:inconclusive: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] vorbis-tools-1.4.2/intl/gettextP.h:245:23: note: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. vorbis-tools-1.4.2/intl/finddomain.c:62:44: note: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. vorbis-tools-1.4.2/intl/gettext.c:57:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/intl/l10nflist.c:321:12: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/intl/loadmsgcat.c:784:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/intl/loadmsgcat.c:861:12: style: The comparison 'data == (struct mo_file_header*)-1' is always true because 'data' and '(struct mo_file_header*)-1' represent the same value. [knownConditionTrueFalse] vorbis-tools-1.4.2/intl/loadmsgcat.c:791:33: note: 'data' is assigned value '(struct mo_file_header*)-1' here. vorbis-tools-1.4.2/intl/loadmsgcat.c:861:12: note: The comparison 'data == (struct mo_file_header*)-1' is always true because 'data' and '(struct mo_file_header*)-1' represent the same value. vorbis-tools-1.4.2/intl/loadmsgcat.c:780:42: style:inconclusive: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. [funcArgNamesDifferent] vorbis-tools-1.4.2/intl/gettextP.h:247:47: note: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. vorbis-tools-1.4.2/intl/loadmsgcat.c:780:42: note: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. vorbis-tools-1.4.2/intl/loadmsgcat.c:781:20: style:inconclusive: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] vorbis-tools-1.4.2/intl/gettextP.h:248:25: note: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. vorbis-tools-1.4.2/intl/loadmsgcat.c:781:20: note: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. vorbis-tools-1.4.2/intl/localcharset.c:124:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBDIR [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/intl/localcharset.c:358:14: style: Condition 'locale==NULL' is always true [knownConditionTrueFalse] vorbis-tools-1.4.2/intl/localcharset.c:349:24: note: Assignment 'locale=NULL', assigned value is 0 vorbis-tools-1.4.2/intl/localcharset.c:358:14: note: Condition 'locale==NULL' is always true vorbis-tools-1.4.2/intl/localealias.c:163:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lock [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/intl/localealias.c:159:21: style: Variable 'retval' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/intl/localealias.c:261:13: style: Variable 'alias' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/intl/localealias.c:262:13: style: Variable 'value' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/intl/localealias.c:175:41: error: Uninitialized variable: &item.value [uninitvar] vorbis-tools-1.4.2/intl/log.c:113:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lock [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/intl/ngettext.c:59:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/intl/os2compat.c:60:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBDIR [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/intl/os2compat.c:51:9: style: Variable 'root' can be declared as pointer to const [constVariablePointer] plural.y:164:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qmop [valueFlowBailoutIncompleteVar] plural.y:280:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable equal [valueFlowBailoutIncompleteVar] plural.c:1160:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] plural.c:1416:15: style: Condition 'yyn==0' is always true [knownConditionTrueFalse] plural.c:1413:16: note: Assignment 'yyn=yytable[yyn]', assigned value is greater than -1 plural.c:1414:11: note: Assuming that condition 'yyn<=0' is not redundant plural.c:1416:15: note: Condition 'yyn==0' is always true plural.y:156:21: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:158:52: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:164:96: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:172:71: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:180:72: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:188:89: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:196:89: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:204:89: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:212:89: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:220:48: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:237:42: style: Same expression on both sides of '-'. [duplicateExpression] vorbis-tools-1.4.2/intl/xsize.h:60:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/intl/printf-parse.c:165:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/intl/vasnprintf.c:1431:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/intl/printf.c:111:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/intl/printf.c:137:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/intl/printf.c:170:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/intl/vasnprintf.c:4645:3: style: Label 'overflow' is not used. [unusedLabel] vorbis-tools-1.4.2/intl/vasnprintf.c:4215:12: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/intl/tsearch.c:623:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable leaf [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogg123/audio.c:29:41: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/ogg123/audio.c:29:60: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/ogg123/buffer.c:89:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogg123/buffer.c:795:26: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/ogg123/callbacks.c:56:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AO_FMT_LITTLE [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogg123/callbacks.c:123:24: style: Parameter 'fmt' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/ogg123/cfgfile_options.c:54:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogg123/cfgfile_options.c:323:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogg123/cfgfile_options.c:387:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogg123/cfgfile_options.c:431:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogg123/cfgfile_options.c:448:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILENAME_MAX [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogg123/cfgfile_options.c:391:2: error: Common realloc mistake: 'line' nulled but not freed upon failure [memleakOnRealloc] vorbis-tools-1.4.2/ogg123/cfgfile_options.c:283:30: warning: Either the condition 'value!=NULL' is redundant or there is possible null pointer dereference: value. [nullPointerRedundantCheck] vorbis-tools-1.4.2/ogg123/cfgfile_options.c:283:12: note: Assuming that condition 'value!=NULL' is not redundant vorbis-tools-1.4.2/ogg123/cfgfile_options.c:283:30: note: Null pointer dereference vorbis-tools-1.4.2/ogg123/cfgfile_options.c:283:30: error: Null pointer dereference [nullPointer] vorbis-tools-1.4.2/ogg123/cfgfile_options.c:110:57: style:inconclusive: Function 'file_options_describe' argument 2 names different: declaration 'outfile' definition 'f'. [funcArgNamesDifferent] vorbis-tools-1.4.2/ogg123/cfgfile_options.h:52:57: note: Function 'file_options_describe' argument 2 names different: declaration 'outfile' definition 'f'. vorbis-tools-1.4.2/ogg123/cfgfile_options.c:110:57: note: Function 'file_options_describe' argument 2 names different: declaration 'outfile' definition 'f'. vorbis-tools-1.4.2/ogg123/cfgfile_options.c:449:9: style: Variable 'homedir' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/ogg123/cmdline_options.c:81:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogg123/cmdline_options.c:336:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogg123/easyflac.c:46:58: style: Parameter 'decoder' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/ogg123/file_transport.c:70:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogg123/flac_format.c:202:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAC__METADATA_TYPE_STREAMINFO [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogg123/flac_format.c:340:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAC__STREAM_DECODER_END_OF_STREAM [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogg123/flac_format.c:462:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAC__byte [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogg123/flac_format.c:501:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAC__STREAM_DECODER_WRITE_STATUS_CONTINUE [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogg123/flac_format.c:572:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAC__int32 [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogg123/flac_format.c:619:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable length [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogg123/flac_format.c:621:7: error: Common realloc mistake: 'temp' nulled but not freed upon failure [memleakOnRealloc] vorbis-tools-1.4.2/ogg123/flac_format.c:609:63: style:inconclusive: Function 'print_flac_comments' argument 1 names different: declaration 'comments' definition 'f_comments'. [funcArgNamesDifferent] vorbis-tools-1.4.2/ogg123/flac_format.c:98:63: note: Function 'print_flac_comments' argument 1 names different: declaration 'comments' definition 'f_comments'. vorbis-tools-1.4.2/ogg123/flac_format.c:609:63: note: Function 'print_flac_comments' argument 1 names different: declaration 'comments' definition 'f_comments'. vorbis-tools-1.4.2/ogg123/flac_format.c:144:24: style: Parameter 'audio_fmt' can be declared as pointer to const. However it seems that 'flac_init' is a callback function, if 'audio_fmt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] vorbis-tools-1.4.2/ogg123/flac_format.c:441:4: note: You might need to cast the function pointer here vorbis-tools-1.4.2/ogg123/flac_format.c:144:24: note: Parameter 'audio_fmt' can be declared as pointer to const vorbis-tools-1.4.2/ogg123/flac_format.c:359:27: style: Parameter 'decoder' can be declared as pointer to const. However it seems that 'flac_seek' is a callback function, if 'decoder' is declared with const you might also need to cast function pointer(s). [constParameterCallback] vorbis-tools-1.4.2/ogg123/flac_format.c:443:4: note: You might need to cast the function pointer here vorbis-tools-1.4.2/ogg123/flac_format.c:359:27: note: Parameter 'decoder' can be declared as pointer to const vorbis-tools-1.4.2/ogg123/flac_format.c:530:115: style: Parameter 'client_data' can be declared as pointer to const. However it seems that 'easyflac_error_callback' is a callback function, if 'client_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] vorbis-tools-1.4.2/ogg123/flac_format.c:201:51: note: You might need to cast the function pointer here vorbis-tools-1.4.2/ogg123/flac_format.c:530:115: note: Parameter 'client_data' can be declared as pointer to const vorbis-tools-1.4.2/ogg123/format.c:61:37: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/ogg123/format.c:83:57: style: Parameter 'to_copy' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/ogg123/ogg123.c:398:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogg123/ogg123.c:186:13: style: Redundant condition: The condition '*b' is redundant since '*b == ' '' is sufficient. [redundantCondition] vorbis-tools-1.4.2/ogg123/ogg123.c:480:13: style: Local variable 'i' shadows outer variable [shadowVariable] vorbis-tools-1.4.2/ogg123/ogg123.c:396:7: note: Shadowed declaration vorbis-tools-1.4.2/ogg123/ogg123.c:480:13: note: Shadow variable vorbis-tools-1.4.2/ogg123/ogg123.c:249:13: style: Parameter 'audio_buffer' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/ogg123/ogg123.c:531:20: style: Variable 'eos' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/ogg123/ogg123.c:627:12: style: Variable 'eos' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/ogg123/ogg123.c:636:14: style: Variable 'eos' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/ogg123/oggvorbis_format.c:204:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OV_HOLE [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogg123/oggvorbis_format.c:393:7: error: Common realloc mistake: 'temp' nulled but not freed upon failure [memleakOnRealloc] vorbis-tools-1.4.2/ogg123/oggvorbis_format.c:66:36: style: Parameter 'source' can be declared as pointer to const. However it seems that 'ovf_can_decode' is a callback function, if 'source' is declared with const you might also need to cast function pointer(s). [constParameterCallback] vorbis-tools-1.4.2/ogg123/oggvorbis_format.c:302:4: note: You might need to cast the function pointer here vorbis-tools-1.4.2/ogg123/oggvorbis_format.c:66:36: note: Parameter 'source' can be declared as pointer to const vorbis-tools-1.4.2/ogg123/oggvorbis_format.c:73:24: style: Parameter 'audio_fmt' can be declared as pointer to const. However it seems that 'ovf_init' is a callback function, if 'audio_fmt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] vorbis-tools-1.4.2/ogg123/oggvorbis_format.c:303:4: note: You might need to cast the function pointer here vorbis-tools-1.4.2/ogg123/oggvorbis_format.c:73:24: note: Parameter 'audio_fmt' can be declared as pointer to const vorbis-tools-1.4.2/ogg123/oggvorbis_format.c:327:32: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'vorbisfile_cb_close' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] vorbis-tools-1.4.2/ogg123/oggvorbis_format.c:343:4: note: You might need to cast the function pointer here vorbis-tools-1.4.2/ogg123/oggvorbis_format.c:327:32: note: Parameter 'arg' can be declared as pointer to const vorbis-tools-1.4.2/ogg123/opus_format.c:188:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_HOLE [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogg123/opus_format.c:369:7: error: Common realloc mistake: 'temp' nulled but not freed upon failure [memleakOnRealloc] vorbis-tools-1.4.2/ogg123/opus_format.c:74:24: style: Parameter 'audio_fmt' can be declared as pointer to const. However it seems that 'opf_init' is a callback function, if 'audio_fmt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] vorbis-tools-1.4.2/ogg123/opus_format.c:288:4: note: You might need to cast the function pointer here vorbis-tools-1.4.2/ogg123/opus_format.c:74:24: note: Parameter 'audio_fmt' can be declared as pointer to const vorbis-tools-1.4.2/ogg123/opus_format.c:312:30: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/ogg123/playlist.c:184:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAME_MAX [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogg123/playlist.c:240:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAME_MAX [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogg123/playlist.c:192:11: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] vorbis-tools-1.4.2/ogg123/playlist.c:225:13: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] vorbis-tools-1.4.2/ogg123/playlist.c:39:51: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/ogg123/playlist.c:182:18: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/ogg123/playlist.c:237:55: style: Parameter 'playlist_filename' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/ogg123/remote.c:261:29: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE is a macro then please configure it. [unknownMacro] vorbis-tools-1.4.2/ogg123/speex_format.c:369:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable speex_mode_list [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogg123/speex_format.c:481:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPEEX_NB_MODES [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogg123/speex_format.c:161:11: style: Condition 'ret<0' is always false [knownConditionTrueFalse] vorbis-tools-1.4.2/ogg123/speex_format.c:159:9: note: Assignment 'ret=1', assigned value is 1 vorbis-tools-1.4.2/ogg123/speex_format.c:161:11: note: Condition 'ret<0' is always false vorbis-tools-1.4.2/ogg123/speex_format.c:164:5: error: Memory leak: decoder [memleak] vorbis-tools-1.4.2/ogg123/speex_format.c:449:7: error: Common realloc mistake: 'temp' nulled but not freed upon failure [memleakOnRealloc] vorbis-tools-1.4.2/ogg123/speex_format.c:116:26: style: Parameter 'audio_fmt' can be declared as pointer to const. However it seems that 'speex_init' is a callback function, if 'audio_fmt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] vorbis-tools-1.4.2/ogg123/speex_format.c:344:4: note: You might need to cast the function pointer here vorbis-tools-1.4.2/ogg123/speex_format.c:116:26: note: Parameter 'audio_fmt' can be declared as pointer to const vorbis-tools-1.4.2/ogg123/speex_format.c:389:9: style: Variable 'end' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/ogg123/status.c:94:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogg123/status.c:195:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogg123/status.c:204:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogg123/status.c:235:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stat_stringarg [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogg123/status.c:382:31: style:inconclusive: Function 'status_print_statistics' argument 3 names different: declaration 'data_source_statistics' definition 'transport_statistics'. [funcArgNamesDifferent] vorbis-tools-1.4.2/ogg123/status.h:68:31: note: Function 'status_print_statistics' argument 3 names different: declaration 'data_source_statistics' definition 'transport_statistics'. vorbis-tools-1.4.2/ogg123/status.c:382:31: note: Function 'status_print_statistics' argument 3 names different: declaration 'data_source_statistics' definition 'transport_statistics'. vorbis-tools-1.4.2/ogg123/status.c:54:61: style: Parameter 'buf_stats' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/ogg123/status.c:58:9: style: Variable 'sep' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/ogg123/status.c:383:27: style: Parameter 'decoder_statistics' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/ogg123/status.c:71:9: style: Variable 'sep' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/ogg123/status.c:74:9: style: Variable 'cur' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/ogg123/transport.c:64:69: style: Parameter 'to_copy' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/ogg123/vgfilter.c:62:27: style:inconclusive: Function 'vg_init' argument 1 names different: declaration 'vg_state' definition 'vg'. [funcArgNamesDifferent] vorbis-tools-1.4.2/ogg123/vgfilter.h:62:34: note: Function 'vg_init' argument 1 names different: declaration 'vg_state' definition 'vg'. vorbis-tools-1.4.2/ogg123/vgfilter.c:62:27: note: Function 'vg_init' argument 1 names different: declaration 'vg_state' definition 'vg'. vorbis-tools-1.4.2/ogg123/vgfilter.c:64:9: style: Variable 'tag' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/ogg123/vgfilter.c:92:16: style: Variable 'param' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/oggdec/oggdec.c:97:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/oggdec/oggdec.c:133:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable channels [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/oggdec/oggdec.c:176:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/oggdec/oggdec.c:192:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/oggdec/oggdec.c:214:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/oggdec/oggdec.c:267:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OV_CALLBACKS_DEFAULT [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/oggdec/oggdec.c:369:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/oggdec/oggdec.c:182:31: style: Parameter 'infile' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/oggdec/oggdec.c:205:32: style: Parameter 'outfile' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/oggdec/oggdec.c:228:24: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/oggdec/oggdec.c:250:51: style: Parameter 'infile' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/oggdec/oggdec.c:250:65: style: Parameter 'outfile' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/oggdec/oggdec.c:255:11: style: Variable 'p_outbuf' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/oggdec/oggdec.c:308:26: style: Variable 'vi' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/oggenc/audio.c:199:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/oggenc/audio.c:359:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/oggenc/audio.c:480:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/oggenc/audio.c:916:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/oggenc/audio.c:625:24: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] vorbis-tools-1.4.2/oggenc/audio.c:708:18: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] vorbis-tools-1.4.2/oggenc/audio.c:276:13: style: Condition 'len>readlen' is always false [knownConditionTrueFalse] vorbis-tools-1.4.2/oggenc/audio.c:274:13: note: readlen is assigned 'lenreadlen' is always false vorbis-tools-1.4.2/oggenc/audio.c:513:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] vorbis-tools-1.4.2/oggenc/audio.c:265:9: error: Memory leak: aiff [memleak] vorbis-tools-1.4.2/oggenc/audio.c:271:9: error: Memory leak: aiff [memleak] vorbis-tools-1.4.2/oggenc/audio.c:279:9: error: Memory leak: aiff [memleak] vorbis-tools-1.4.2/oggenc/audio.c:290:9: error: Memory leak: aiff [memleak] vorbis-tools-1.4.2/oggenc/audio.c:299:13: error: Memory leak: aiff [memleak] vorbis-tools-1.4.2/oggenc/audio.c:313:13: error: Memory leak: aiff [memleak] vorbis-tools-1.4.2/oggenc/audio.c:320:9: error: Memory leak: aiff [memleak] vorbis-tools-1.4.2/oggenc/audio.c:326:9: error: Memory leak: aiff [memleak] vorbis-tools-1.4.2/oggenc/audio.c:332:9: error: Memory leak: aiff [memleak] vorbis-tools-1.4.2/oggenc/audio.c:435:9: error: Memory leak: wav [memleak] vorbis-tools-1.4.2/oggenc/audio.c:440:9: error: Memory leak: wav [memleak] vorbis-tools-1.4.2/oggenc/audio.c:460:9: error: Memory leak: wav [memleak] vorbis-tools-1.4.2/oggenc/audio.c:473:9: error: Memory leak: wav [memleak] vorbis-tools-1.4.2/oggenc/audio.c:481:9: error: Memory leak: wav [memleak] vorbis-tools-1.4.2/oggenc/audio.c:818:9: error: Memory leak: rs [memleak] vorbis-tools-1.4.2/oggenc/audio.c:917:9: error: Memory leak: d [memleak] vorbis-tools-1.4.2/oggenc/audio.c:68:13: error: Common realloc mistake: 'buf' nulled but not freed upon failure [memleakOnRealloc] vorbis-tools-1.4.2/oggenc/audio.c:376:9: error: Memory leak: aiff.channel_permute [memleak] vorbis-tools-1.4.2/oggenc/audio.c:610:9: error: Memory leak: wav.channel_permute [memleak] vorbis-tools-1.4.2/oggenc/audio.c:762:5: error: Memory leak: wav.channel_permute [memleak] vorbis-tools-1.4.2/oggenc/audio.c:418:56: style:inconclusive: Function 'wav_open' argument 3 names different: declaration 'buf' definition 'oldbuf'. [funcArgNamesDifferent] vorbis-tools-1.4.2/oggenc/audio.h:60:56: note: Function 'wav_open' argument 3 names different: declaration 'buf' definition 'oldbuf'. vorbis-tools-1.4.2/oggenc/audio.c:418:56: note: Function 'wav_open' argument 3 names different: declaration 'buf' definition 'oldbuf'. vorbis-tools-1.4.2/oggenc/audio.c:121:43: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/oggenc/audio.c:150:44: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/oggenc/audio.c:187:35: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/oggenc/audio.c:219:28: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'aiff_id' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] vorbis-tools-1.4.2/oggenc/audio.c:48:6: note: You might need to cast the function pointer here vorbis-tools-1.4.2/oggenc/audio.c:219:28: note: Parameter 'buf' can be declared as pointer to const vorbis-tools-1.4.2/oggenc/audio.c:246:57: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'aiff_open' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] vorbis-tools-1.4.2/oggenc/audio.c:48:19: note: You might need to cast the function pointer here vorbis-tools-1.4.2/oggenc/audio.c:246:57: note: Parameter 'buf' can be declared as pointer to const vorbis-tools-1.4.2/oggenc/audio.c:629:10: style: Variable 'ch_permute' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/oggenc/audio.c:641:24: style: Variable 'bufu' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/oggenc/audio.c:397:10: style: Variable 'flen' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/oggenc/audio.c:743:19: style: Variable 'format.format' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/oggenc/audio.c:745:23: style: Variable 'format.samplerate' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/oggenc/audio.c:746:23: style: Variable 'format.samplesize' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/oggenc/audio.c:748:18: style: Variable 'format.align' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/oggenc/easyflac.c:47:58: style: Parameter 'decoder' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/oggenc/encode.c:715:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/oggenc/encode.c:725:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/oggenc/encode.c:775:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/oggenc/encode.c:801:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/oggenc/encode.c:418:16: style: Condition '!result' is always false [knownConditionTrueFalse] vorbis-tools-1.4.2/oggenc/encode.c:475:16: style: Condition '!result' is always false [knownConditionTrueFalse] vorbis-tools-1.4.2/oggenc/encode.c:740:61: style:inconclusive: Function 'final_statistics' argument 4 names different: declaration 'total_samples' definition 'samples'. [funcArgNamesDifferent] vorbis-tools-1.4.2/oggenc/encode.h:30:61: note: Function 'final_statistics' argument 4 names different: declaration 'total_samples' definition 'samples'. vorbis-tools-1.4.2/oggenc/encode.c:740:61: note: Function 'final_statistics' argument 4 names different: declaration 'total_samples' definition 'samples'. vorbis-tools-1.4.2/oggenc/encode.c:762:66: style:inconclusive: Function 'final_statistics_null' argument 4 names different: declaration 'total_samples' definition 'samples'. [funcArgNamesDifferent] vorbis-tools-1.4.2/oggenc/encode.h:32:66: note: Function 'final_statistics_null' argument 4 names different: declaration 'total_samples' definition 'samples'. vorbis-tools-1.4.2/oggenc/encode.c:762:66: note: Function 'final_statistics_null' argument 4 names different: declaration 'total_samples' definition 'samples'. vorbis-tools-1.4.2/oggenc/encode.c:568:25: style: Local variable 'result' shadows outer variable [shadowVariable] vorbis-tools-1.4.2/oggenc/encode.c:235:9: note: Shadowed declaration vorbis-tools-1.4.2/oggenc/encode.c:568:25: note: Shadow variable vorbis-tools-1.4.2/oggenc/encode.c:148:74: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/oggenc/encode.c:706:18: style: Variable 'spinner' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/oggenc/encode.c:722:18: style: Variable 'spinner' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/oggenc/encode.c:731:29: style: Parameter 'page' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/oggenc/encode.c:740:29: style: Parameter 'fn' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/oggenc/encode.c:762:34: style: Parameter 'fn' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/oggenc/encode.c:768:35: style: Parameter 'fn' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/oggenc/encode.c:773:25: style: Parameter 'errmsg' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/oggenc/encode.c:790:30: style: Parameter 'fn' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/oggenc/encode.c:790:40: style: Parameter 'outfn' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/oggenc/encode.c:833:30: style: Parameter 'fn' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/oggenc/encode.c:833:40: style: Parameter 'outfn' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/oggenc/flac.c:100:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAC__METADATA_TYPE_STREAMINFO [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/oggenc/flac.c:188:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAC__STREAM_DECODER_END_OF_STREAM [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/oggenc/flac.c:239:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAC__STREAM_DECODER_READ_STATUS_END_OF_STREAM [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/oggenc/flac.c:288:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAC__STREAM_DECODER_WRITE_STATUS_CONTINUE [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/oggenc/flac.c:367:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable length [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/oggenc/flac.c:64:57: style:inconclusive: Function 'flac_open' argument 3 names different: declaration 'buf' definition 'oldbuf'. [funcArgNamesDifferent] vorbis-tools-1.4.2/oggenc/flac.h:48:57: note: Function 'flac_open' argument 3 names different: declaration 'buf' definition 'oldbuf'. vorbis-tools-1.4.2/oggenc/flac.c:64:57: note: Function 'flac_open' argument 3 names different: declaration 'buf' definition 'oldbuf'. vorbis-tools-1.4.2/oggenc/flac.c:47:28: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/oggenc/flac.c:315:115: style: Parameter 'client_data' can be declared as pointer to const. However it seems that 'easyflac_error_callback' is a callback function, if 'client_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] vorbis-tools-1.4.2/oggenc/flac.c:99:50: note: You might need to cast the function pointer here vorbis-tools-1.4.2/oggenc/flac.c:315:115: note: Parameter 'client_data' can be declared as pointer to const vorbis-tools-1.4.2/oggenc/flac.c:361:85: style: Parameter 'f_comments' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/oggenc/lyrics.c:456:29: style: Parameter 'lyrics' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/oggenc/lyrics.c:480:77: style: Parameter 'idx' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/oggenc/oggenc.c:123:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/oggenc/oggenc.c:741:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/oggenc/oggenc.c:966:20: warning: %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] vorbis-tools-1.4.2/oggenc/oggenc.c:982:20: warning: %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] vorbis-tools-1.4.2/oggenc/oggenc.c:998:20: warning: %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] vorbis-tools-1.4.2/oggenc/oggenc.c:329:23: style: Variable 'extension' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/oggenc/oggenc.c:628:15: style: Parameter 'replace_list' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/oggenc/oggenc.c:630:11: style: Variable 'hit' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/oggenc/oggenc.c:630:17: style: Variable 'drop_margin' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/oggenc/oggenc.c:664:41: style: Parameter 'format' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/oggenc/oggenc.c:1039:53: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/oggenc/platform.c:89:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeval [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/oggenc/platform.c:164:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/oggenc/platform.c:137:17: style: Variable 'start' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/oggenc/resample.c:147:79: style: Condition 'taps<=0' is always false [knownConditionTrueFalse] vorbis-tools-1.4.2/oggenc/resample.c:137:16: note: Assignment 'taps=45', assigned value is 45 vorbis-tools-1.4.2/oggenc/resample.c:147:79: note: Condition 'taps<=0' is always false vorbis-tools-1.4.2/oggenc/resample.c:271:16: style: Checking if unsigned expression 'srclen' is less than zero. [unsignedLessThanZero] vorbis-tools-1.4.2/oggenc/resample.c:48:12: style: Variable 'endpoint' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/oggenc/resample.c:101:12: style: Variable 'endpoint' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/oggenc/resample.c:247:10: style: Variable 'poolend' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/oggenc/resample.c:384:31: style: Variable 'poolfill' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/oggenc/resample.c:384:44: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/oggenc/resample.c:411:31: style: Variable 'poolfill' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/oggenc/resample.c:411:44: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/oggenc/skeleton.c:208:12: style: Condition '!result' is always false [knownConditionTrueFalse] vorbis-tools-1.4.2/oggenc/skeleton.c:83:47: style: Parameter 'header_key' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/oggenc/skeleton.c:84:47: style: Parameter 'header_value' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/ogginfo/codec_flac.c:70:94: style: Parameter 'packet' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/ogginfo/codec_flac.c:86:102: style: Parameter 'packet' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/ogginfo/codec_flac.c:109:91: style: Parameter 'packet' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/ogginfo/codec_flac.c:178:21: style: Variable 'self' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/ogginfo/codec_invalid.c:20:47: style: Parameter 'stream' can be declared as pointer to const. However it seems that 'process_invalid' is a callback function, if 'stream' is declared with const you might also need to cast function pointer(s). [constParameterCallback] vorbis-tools-1.4.2/ogginfo/codec_invalid.c:29:28: note: You might need to cast the function pointer here vorbis-tools-1.4.2/ogginfo/codec_invalid.c:20:47: note: Parameter 'stream' can be declared as pointer to const vorbis-tools-1.4.2/ogginfo/codec_invalid.c:20:65: style: Parameter 'page' can be declared as pointer to const. However it seems that 'process_invalid' is a callback function, if 'page' is declared with const you might also need to cast function pointer(s). [constParameterCallback] vorbis-tools-1.4.2/ogginfo/codec_invalid.c:29:28: note: You might need to cast the function pointer here vorbis-tools-1.4.2/ogginfo/codec_invalid.c:20:65: note: Parameter 'page' can be declared as pointer to const vorbis-tools-1.4.2/ogginfo/codec_kate.c:207:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogginfo/codec_kate.c:259:21: style: Local variable 'info' shadows outer function [shadowFunction] vorbis-tools-1.4.2/ogginfo/private.h:50:6: note: Shadowed declaration vorbis-tools-1.4.2/ogginfo/codec_kate.c:259:21: note: Shadow variable vorbis-tools-1.4.2/ogginfo/codec_kate.c:252:40: style: Parameter 'stream' can be declared as pointer to const. However it seems that 'kate_end' is a callback function, if 'stream' is declared with const you might also need to cast function pointer(s). [constParameterCallback] vorbis-tools-1.4.2/ogginfo/codec_kate.c:263:27: note: You might need to cast the function pointer here vorbis-tools-1.4.2/ogginfo/codec_kate.c:252:40: note: Parameter 'stream' can be declared as pointer to const vorbis-tools-1.4.2/ogginfo/codec_kate.c:259:21: style: Variable 'info' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/ogginfo/codec_kate.c:267:10: style: Variable 'info' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/ogginfo/codec_opus.c:137:91: style: Parameter 'packet' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/ogginfo/codec_opus.c:181:21: style: Variable 'self' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/ogginfo/codec_skeleton.c:43:48: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/ogginfo/codec_skeleton.c:48:48: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/ogginfo/codec_skeleton.c:53:48: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/ogginfo/codec_skeleton.c:199:56: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/ogginfo/codec_skeleton.c:199:74: style: Parameter 'packet' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/ogginfo/codec_skeleton.c:254:25: style: Variable 'self' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/ogginfo/codec_skeleton.c:254:30: style: Variable 'self' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/ogginfo/codec_speex.c:70:104: style: Parameter 'packet' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/ogginfo/codec_speex.c:118:22: style: Variable 'self' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/ogginfo/codec_theora.c:149:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogginfo/codec_theora.c:199:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogginfo/codec_theora.c:213:23: style: Local variable 'info' shadows outer function [shadowFunction] vorbis-tools-1.4.2/ogginfo/private.h:50:6: note: Shadowed declaration vorbis-tools-1.4.2/ogginfo/codec_theora.c:213:23: note: Shadow variable vorbis-tools-1.4.2/ogginfo/codec_theora.c:131:27: style: Variable 'comment' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/ogginfo/codec_vorbis.c:153:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogginfo/codec_vorbis.c:182:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogginfo/codec_vorbis.c:195:23: style: Local variable 'info' shadows outer function [shadowFunction] vorbis-tools-1.4.2/ogginfo/private.h:50:6: note: Shadowed declaration vorbis-tools-1.4.2/ogginfo/codec_vorbis.c:195:23: note: Shadow variable vorbis-tools-1.4.2/ogginfo/codec_vorbis.c:140:27: style: Variable 'comment' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/ogginfo/metadata.c:238:13: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] vorbis-tools-1.4.2/ogginfo/metadata.c:232:9: note: outer condition: !broken vorbis-tools-1.4.2/ogginfo/metadata.c:238:13: note: identical inner condition: !broken vorbis-tools-1.4.2/ogginfo/metadata.c:206:18: style: Local variable 'i' shadows outer argument [shadowArgument] vorbis-tools-1.4.2/ogginfo/metadata.c:79:55: note: Shadowed declaration vorbis-tools-1.4.2/ogginfo/metadata.c:206:18: note: Shadow variable vorbis-tools-1.4.2/ogginfo/metadata.c:85:20: style: Variable 'val' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/ogginfo/metadata.c:204:26: style: Variable 'hex' can be declared as const array [constVariable] vorbis-tools-1.4.2/ogginfo/ogginfo2.c:77:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogginfo/ogginfo2.c:90:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogginfo/ogginfo2.c:101:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogginfo/ogginfo2.c:116:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogginfo/ogginfo2.c:278:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogginfo/ogginfo2.c:306:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogginfo/ogginfo2.c:416:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogginfo/ogginfo2.c:139:37: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/ogginfo/theora.c:158:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable oggpack_buffer [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/ogginfo/theora.c:147:47: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/ogginfo/theora.c:147:66: style: Parameter 'opb' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/ogginfo/theora.c:100:8: style: Variable '*&ret' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/share/charset.c:129:30: style:inconclusive: Function 'utf8_wctomb' argument 2 names different: declaration 'wc' definition 'wc1'. [funcArgNamesDifferent] vorbis-tools-1.4.2/share/charset.h:28:30: note: Function 'utf8_wctomb' argument 2 names different: declaration 'wc' definition 'wc1'. vorbis-tools-1.4.2/share/charset.c:129:30: note: Function 'utf8_wctomb' argument 2 names different: declaration 'wc' definition 'wc1'. vorbis-tools-1.4.2/share/charset.c:199:33: style: Parameter 'charset' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/share/charset.c:165:20: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] vorbis-tools-1.4.2/share/charset_test.c:123:39: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] vorbis-tools-1.4.2/share/getopt.c:673:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/share/getopt.c:768:11: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/share/makemap.c:62:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/share/picture.c:102:22: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] vorbis-tools-1.4.2/share/picture.c:140:24: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] vorbis-tools-1.4.2/share/picture.c:147:28: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] vorbis-tools-1.4.2/share/picture.c:149:25: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] vorbis-tools-1.4.2/share/picture.c:156:19: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] vorbis-tools-1.4.2/share/picture.c:158:29: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] vorbis-tools-1.4.2/share/picture.c:160:32: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] vorbis-tools-1.4.2/share/picture.c:161:19: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] vorbis-tools-1.4.2/share/picture.c:163:33: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] vorbis-tools-1.4.2/share/picture.c:165:32: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] vorbis-tools-1.4.2/share/picture.c:167:33: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] vorbis-tools-1.4.2/share/picture.c:169:40: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] vorbis-tools-1.4.2/share/picture.c:176:24: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] vorbis-tools-1.4.2/share/utf8.c:300:9: style: Variable 'charset' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/share/utf8.c:310:9: style: Variable 'charset' can be declared as pointer to const [constVariablePointer] vorbis-tools-1.4.2/vcut/vcut.c:244:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/vcut/vcut.c:342:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/vcut/vcut.c:259:26: style: Variable 'state.in' is reassigned a value before the old one has been used. [redundantAssignment] vorbis-tools-1.4.2/vcut/vcut.c:257:11: note: state.in is assigned vorbis-tools-1.4.2/vcut/vcut.c:259:26: note: state.in is overwritten vorbis-tools-1.4.2/vcut/vcut.c:594:30: style:inconclusive: Function 'vcut_process' argument 1 names different: declaration 'state' definition 's'. [funcArgNamesDifferent] vorbis-tools-1.4.2/vcut/vcut.h:73:30: note: Function 'vcut_process' argument 1 names different: declaration 'state' definition 's'. vorbis-tools-1.4.2/vcut/vcut.c:594:30: note: Function 'vcut_process' argument 1 names different: declaration 'state' definition 's'. vorbis-tools-1.4.2/vcut/vcut.c:635:44: style:inconclusive: Function 'vcut_vorbis_clear' argument 1 names different: declaration 'state' definition 'vs'. [funcArgNamesDifferent] vorbis-tools-1.4.2/vcut/vcut.h:75:44: note: Function 'vcut_vorbis_clear' argument 1 names different: declaration 'state' definition 'vs'. vorbis-tools-1.4.2/vcut/vcut.c:635:44: note: Function 'vcut_vorbis_clear' argument 1 names different: declaration 'state' definition 'vs'. vorbis-tools-1.4.2/vcut/vcut.c:650:29: style:inconclusive: Function 'vcut_clear' argument 1 names different: declaration 'state' definition 's'. [funcArgNamesDifferent] vorbis-tools-1.4.2/vcut/vcut.h:74:29: note: Function 'vcut_clear' argument 1 names different: declaration 'state' definition 's'. vorbis-tools-1.4.2/vcut/vcut.c:650:29: note: Function 'vcut_clear' argument 1 names different: declaration 'state' definition 's'. vorbis-tools-1.4.2/vcut/vcut.c:58:36: style: Parameter 'packet' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/vcut/vcut.c:192:50: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/vorbiscomment/vcedit.c:475:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ogg_sync_state [valueFlowBailoutIncompleteVar] vorbis-tools-1.4.2/vorbiscomment/vcedit.c:511:32: style: Condition 'test_supported>0' is always true [knownConditionTrueFalse] vorbis-tools-1.4.2/vorbiscomment/vcedit.c:506:32: note: Assuming that condition 'test_supported==0' is not redundant vorbis-tools-1.4.2/vorbiscomment/vcedit.c:511:32: note: Condition 'test_supported>0' is always true vorbis-tools-1.4.2/vorbiscomment/vcedit.c:52:72: style: Parameter 'og' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/vorbiscomment/vcedit.c:206:50: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/vorbiscomment/vcedit.c:271:40: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/vorbiscomment/vcedit.c:275:47: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/vorbiscomment/vcedit.c:340:57: style: Parameter 'vendor' can be declared as pointer to const [constParameterPointer] vorbis-tools-1.4.2/vorbiscomment/vcomment.c:758:70: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] diff: head plural.y:280:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable equal [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/intl/printf-parse.c:165:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/intl/printf.c:111:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/intl/printf.c:137:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/intl/printf.c:170:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/intl/vasnprintf.c:1431:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/ogg123/cfgfile_options.c:323:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/ogg123/cfgfile_options.c:387:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/ogg123/cfgfile_options.c:431:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/ogg123/cfgfile_options.c:448:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILENAME_MAX [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/ogg123/cmdline_options.c:336:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/ogg123/flac_format.c:340:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAC__STREAM_DECODER_END_OF_STREAM [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/ogg123/flac_format.c:359:27: style: Parameter 'decoder' can be declared as pointer to const. However it seems that 'flac_seek' is a callback function, if 'decoder' is declared with const you might also need to cast function pointer(s). [constParameterCallback] vorbis-tools-1.4.2/ogg123/flac_format.c:443:4: note: You might need to cast the function pointer here vorbis-tools-1.4.2/ogg123/flac_format.c:359:27: note: Parameter 'decoder' can be declared as pointer to const head vorbis-tools-1.4.2/ogg123/flac_format.c:462:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAC__byte [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/ogg123/flac_format.c:501:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAC__STREAM_DECODER_WRITE_STATUS_CONTINUE [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/ogg123/flac_format.c:530:115: style: Parameter 'client_data' can be declared as pointer to const. However it seems that 'easyflac_error_callback' is a callback function, if 'client_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] vorbis-tools-1.4.2/ogg123/flac_format.c:201:51: note: You might need to cast the function pointer here vorbis-tools-1.4.2/ogg123/flac_format.c:530:115: note: Parameter 'client_data' can be declared as pointer to const head vorbis-tools-1.4.2/ogg123/flac_format.c:572:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAC__int32 [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/ogg123/flac_format.c:619:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable length [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/ogg123/oggvorbis_format.c:327:32: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'vorbisfile_cb_close' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] vorbis-tools-1.4.2/ogg123/oggvorbis_format.c:343:4: note: You might need to cast the function pointer here vorbis-tools-1.4.2/ogg123/oggvorbis_format.c:327:32: note: Parameter 'arg' can be declared as pointer to const head vorbis-tools-1.4.2/ogg123/oggvorbis_format.c:66:36: style: Parameter 'source' can be declared as pointer to const. However it seems that 'ovf_can_decode' is a callback function, if 'source' is declared with const you might also need to cast function pointer(s). [constParameterCallback] vorbis-tools-1.4.2/ogg123/oggvorbis_format.c:302:4: note: You might need to cast the function pointer here vorbis-tools-1.4.2/ogg123/oggvorbis_format.c:66:36: note: Parameter 'source' can be declared as pointer to const head vorbis-tools-1.4.2/ogg123/opus_format.c:312:30: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] head vorbis-tools-1.4.2/ogg123/playlist.c:240:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAME_MAX [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/ogg123/speex_format.c:481:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPEEX_NB_MODES [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/ogg123/status.c:195:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/ogg123/status.c:204:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/ogg123/status.c:235:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stat_stringarg [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/oggdec/oggdec.c:133:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable channels [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/oggdec/oggdec.c:176:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/oggdec/oggdec.c:192:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/oggdec/oggdec.c:214:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/oggdec/oggdec.c:267:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OV_CALLBACKS_DEFAULT [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/oggdec/oggdec.c:369:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/oggenc/audio.c:359:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/oggenc/audio.c:480:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/oggenc/audio.c:641:24: style: Variable 'bufu' can be declared as pointer to const [constVariablePointer] head vorbis-tools-1.4.2/oggenc/audio.c:916:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/oggenc/encode.c:725:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/oggenc/encode.c:762:34: style: Parameter 'fn' can be declared as pointer to const [constParameterPointer] head vorbis-tools-1.4.2/oggenc/encode.c:768:35: style: Parameter 'fn' can be declared as pointer to const [constParameterPointer] head vorbis-tools-1.4.2/oggenc/encode.c:775:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/oggenc/encode.c:801:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/oggenc/encode.c:833:30: style: Parameter 'fn' can be declared as pointer to const [constParameterPointer] head vorbis-tools-1.4.2/oggenc/encode.c:833:40: style: Parameter 'outfn' can be declared as pointer to const [constParameterPointer] head vorbis-tools-1.4.2/oggenc/flac.c:188:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAC__STREAM_DECODER_END_OF_STREAM [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/oggenc/flac.c:239:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAC__STREAM_DECODER_READ_STATUS_END_OF_STREAM [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/oggenc/flac.c:288:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAC__STREAM_DECODER_WRITE_STATUS_CONTINUE [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/oggenc/flac.c:315:115: style: Parameter 'client_data' can be declared as pointer to const. However it seems that 'easyflac_error_callback' is a callback function, if 'client_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] vorbis-tools-1.4.2/oggenc/flac.c:99:50: note: You might need to cast the function pointer here vorbis-tools-1.4.2/oggenc/flac.c:315:115: note: Parameter 'client_data' can be declared as pointer to const head vorbis-tools-1.4.2/oggenc/flac.c:367:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable length [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/oggenc/lyrics.c:456:29: style: Parameter 'lyrics' can be declared as pointer to const [constParameterPointer] head vorbis-tools-1.4.2/oggenc/lyrics.c:480:77: style: Parameter 'idx' can be declared as pointer to const [constParameterPointer] head vorbis-tools-1.4.2/oggenc/oggenc.c:741:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/oggenc/platform.c:164:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/ogginfo/codec_flac.c:178:21: style: Variable 'self' can be declared as pointer to const [constVariablePointer] head vorbis-tools-1.4.2/ogginfo/codec_invalid.c:20:47: style: Parameter 'stream' can be declared as pointer to const. However it seems that 'process_invalid' is a callback function, if 'stream' is declared with const you might also need to cast function pointer(s). [constParameterCallback] vorbis-tools-1.4.2/ogginfo/codec_invalid.c:29:28: note: You might need to cast the function pointer here vorbis-tools-1.4.2/ogginfo/codec_invalid.c:20:47: note: Parameter 'stream' can be declared as pointer to const head vorbis-tools-1.4.2/ogginfo/codec_invalid.c:20:65: style: Parameter 'page' can be declared as pointer to const. However it seems that 'process_invalid' is a callback function, if 'page' is declared with const you might also need to cast function pointer(s). [constParameterCallback] vorbis-tools-1.4.2/ogginfo/codec_invalid.c:29:28: note: You might need to cast the function pointer here vorbis-tools-1.4.2/ogginfo/codec_invalid.c:20:65: note: Parameter 'page' can be declared as pointer to const head vorbis-tools-1.4.2/ogginfo/codec_kate.c:252:40: style: Parameter 'stream' can be declared as pointer to const. However it seems that 'kate_end' is a callback function, if 'stream' is declared with const you might also need to cast function pointer(s). [constParameterCallback] vorbis-tools-1.4.2/ogginfo/codec_kate.c:263:27: note: You might need to cast the function pointer here vorbis-tools-1.4.2/ogginfo/codec_kate.c:252:40: note: Parameter 'stream' can be declared as pointer to const head vorbis-tools-1.4.2/ogginfo/codec_skeleton.c:43:48: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] head vorbis-tools-1.4.2/ogginfo/codec_skeleton.c:48:48: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] head vorbis-tools-1.4.2/ogginfo/codec_skeleton.c:53:48: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] head vorbis-tools-1.4.2/ogginfo/codec_theora.c:199:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/ogginfo/codec_vorbis.c:182:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/ogginfo/ogginfo2.c:101:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/ogginfo/ogginfo2.c:116:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/ogginfo/ogginfo2.c:278:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/ogginfo/ogginfo2.c:306:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/ogginfo/ogginfo2.c:416:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/ogginfo/ogginfo2.c:90:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head vorbis-tools-1.4.2/ogginfo/theora.c:147:47: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] head vorbis-tools-1.4.2/ogginfo/theora.c:147:66: style: Parameter 'opb' can be declared as pointer to const [constParameterPointer] head vorbis-tools-1.4.2/share/charset.c:165:20: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] 2.13.0 vorbis-tools-1.4.2/share/charset.c:165:20: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] head vorbis-tools-1.4.2/share/charset_test.c:123:39: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] 2.13.0 vorbis-tools-1.4.2/share/charset_test.c:123:39: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] head vorbis-tools-1.4.2/vcut/vcut.c:342:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] DONE