2025-09-03 18:12 ftp://ftp.de.debian.org/debian/pool/main/s/sweep/sweep_0.9.3.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.12.41+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: e6e045f (2025-09-02 21:05:14 +0200) count: 498 691 elapsed-time: 2.2 5.9 head-timing-info: old-timing-info: head results: sweep-0.9.3/intl/dgettext.c:52:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] sweep-0.9.3/intl/dngettext.c:53:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] sweep-0.9.3/intl/bindtextdom.c:226:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable domainname [valueFlowBailoutIncompleteVar] sweep-0.9.3/intl/eval-plural.h:52:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lor [valueFlowBailoutIncompleteVar] sweep-0.9.3/intl/dcigettext.c:545:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] sweep-0.9.3/intl/finddomain.c:50:30: style:inconclusive: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. [funcArgNamesDifferent] sweep-0.9.3/intl/gettextP.h:160:54: note: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. sweep-0.9.3/intl/finddomain.c:50:30: note: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. sweep-0.9.3/intl/finddomain.c:50:45: style:inconclusive: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. [funcArgNamesDifferent] sweep-0.9.3/intl/gettextP.h:160:71: note: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. sweep-0.9.3/intl/finddomain.c:50:45: note: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. sweep-0.9.3/intl/finddomain.c:51:16: style:inconclusive: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] sweep-0.9.3/intl/gettextP.h:161:19: note: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. sweep-0.9.3/intl/finddomain.c:51:16: note: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. sweep-0.9.3/intl/finddomain.c:51:44: style:inconclusive: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] sweep-0.9.3/intl/gettextP.h:162:23: note: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. sweep-0.9.3/intl/finddomain.c:51:44: note: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. sweep-0.9.3/intl/gettext.c:57:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] sweep-0.9.3/intl/bindtextdom.c:252:12: style: Local variable 'len' shadows outer variable [shadowVariable] sweep-0.9.3/intl/bindtextdom.c:224:14: note: Shadowed declaration sweep-0.9.3/intl/bindtextdom.c:252:12: note: Shadow variable sweep-0.9.3/intl/bindtextdom.c:283:15: style: Local variable 'len' shadows outer variable [shadowVariable] sweep-0.9.3/intl/bindtextdom.c:224:14: note: Shadowed declaration sweep-0.9.3/intl/bindtextdom.c:283:15: note: Shadow variable sweep-0.9.3/intl/loadmsgcat.c:940:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] sweep-0.9.3/intl/localcharset.c:127:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBDIR [valueFlowBailoutIncompleteVar] sweep-0.9.3/intl/l10nflist.c:341:12: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/intl/localcharset.c:306:14: style: Condition 'locale==NULL' is always true [knownConditionTrueFalse] sweep-0.9.3/intl/localcharset.c:297:24: note: Assignment 'locale=NULL', assigned value is 0 sweep-0.9.3/intl/localcharset.c:306:14: note: Condition 'locale==NULL' is always true sweep-0.9.3/intl/localealias.c:163:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCALE_ALIAS_PATH [valueFlowBailoutIncompleteVar] sweep-0.9.3/intl/dcigettext.c:544:10: style: Obsolescent function 'getwd' called. It is recommended to use 'getcwd' instead. [prohibitedgetwdCalled] sweep-0.9.3/intl/dcigettext.c:583:39: style: Redundant condition: The condition 'categoryvalue[0] != '\0'' is redundant since 'categoryvalue[0] == ':'' is sufficient. [redundantCondition] sweep-0.9.3/intl/localealias.c:154:21: style: Variable 'retval' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/intl/localealias.c:254:13: style: Variable 'alias' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/intl/localealias.c:255:13: style: Variable 'value' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/intl/localealias.c:172:41: error: Uninitialized variable: &item.value [uninitvar] sweep-0.9.3/intl/ngettext.c:59:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] sweep-0.9.3/intl/dcigettext.c:427:25: style:inconclusive: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] sweep-0.9.3/intl/gettextP.h:210:46: note: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. sweep-0.9.3/intl/dcigettext.c:427:25: note: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. sweep-0.9.3/intl/dcigettext.c:427:49: style:inconclusive: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. [funcArgNamesDifferent] sweep-0.9.3/intl/gettextP.h:211:18: note: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. sweep-0.9.3/intl/dcigettext.c:427:49: note: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. sweep-0.9.3/intl/dcigettext.c:427:69: style:inconclusive: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. [funcArgNamesDifferent] sweep-0.9.3/intl/gettextP.h:211:40: note: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. sweep-0.9.3/intl/dcigettext.c:427:69: note: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. sweep-0.9.3/intl/dcigettext.c:428:10: style:inconclusive: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. [funcArgNamesDifferent] sweep-0.9.3/intl/gettextP.h:212:10: note: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. sweep-0.9.3/intl/dcigettext.c:428:10: note: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. sweep-0.9.3/intl/dcigettext.c:428:36: style:inconclusive: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. [funcArgNamesDifferent] sweep-0.9.3/intl/gettextP.h:212:38: note: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. sweep-0.9.3/intl/dcigettext.c:428:36: note: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. sweep-0.9.3/intl/dcigettext.c:428:43: style:inconclusive: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. [funcArgNamesDifferent] sweep-0.9.3/intl/gettextP.h:213:10: note: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. sweep-0.9.3/intl/dcigettext.c:428:43: note: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. sweep-0.9.3/intl/dcigettext.c:533:13: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/intl/dcigettext.c:224:9: style: struct member 'known_translation_t::domainname' is never used. [unusedStructMember] sweep-0.9.3/intl/dcigettext.c:227:7: style: struct member 'known_translation_t::category' is never used. [unusedStructMember] sweep-0.9.3/intl/dcigettext.c:230:7: style: struct member 'known_translation_t::counter' is never used. [unusedStructMember] sweep-0.9.3/intl/dcigettext.c:233:27: style: struct member 'known_translation_t::domain' is never used. [unusedStructMember] sweep-0.9.3/intl/dcigettext.c:236:15: style: struct member 'known_translation_t::translation' is never used. [unusedStructMember] sweep-0.9.3/intl/dcigettext.c:237:10: style: struct member 'known_translation_t::translation_length' is never used. [unusedStructMember] sweep-0.9.3/intl/dcigettext.c:240:8: style: struct member 'known_translation_t::msgid' is never used. [unusedStructMember] sweep-0.9.3/intl/os2compat.c:60:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBDIR [valueFlowBailoutIncompleteVar] sweep-0.9.3/intl/os2compat.c:61:19: warning: If memory allocation fails, then there is a possible null pointer dereference: _nlos2_libdir [nullPointerOutOfMemory] sweep-0.9.3/intl/os2compat.c:60:43: note: Assuming allocation function fails sweep-0.9.3/intl/os2compat.c:60:27: note: Assignment '_nlos2_libdir=(char*)malloc(sl+strlen(LIBDIR)+1)', assigned value is 0 sweep-0.9.3/intl/os2compat.c:61:19: note: Null pointer dereference sweep-0.9.3/intl/os2compat.c:75:19: warning: If memory allocation fails, then there is a possible null pointer dereference: _nlos2_localealiaspath [nullPointerOutOfMemory] sweep-0.9.3/intl/os2compat.c:74:52: note: Assuming allocation function fails sweep-0.9.3/intl/os2compat.c:74:36: note: Assignment '_nlos2_localealiaspath=(char*)malloc(sl+strlen(LOCALE_ALIAS_PATH)+1)', assigned value is 0 sweep-0.9.3/intl/os2compat.c:75:19: note: Null pointer dereference sweep-0.9.3/intl/os2compat.c:89:19: warning: If memory allocation fails, then there is a possible null pointer dereference: _nlos2_localedir [nullPointerOutOfMemory] sweep-0.9.3/intl/os2compat.c:88:46: note: Assuming allocation function fails sweep-0.9.3/intl/os2compat.c:88:30: note: Assignment '_nlos2_localedir=(char*)malloc(sl+strlen(LOCALEDIR)+1)', assigned value is 0 sweep-0.9.3/intl/os2compat.c:89:19: note: Null pointer dereference sweep-0.9.3/intl/os2compat.c:96:15: warning: If memory allocation fails, then there is a possible null pointer dereference: _nlos2_localedir [nullPointerOutOfMemory] sweep-0.9.3/intl/os2compat.c:88:46: note: Assuming allocation function fails sweep-0.9.3/intl/os2compat.c:88:30: note: Assignment '_nlos2_localedir=(char*)malloc(sl+strlen(LOCALEDIR)+1)', assigned value is 0 sweep-0.9.3/intl/os2compat.c:96:15: note: Null pointer dereference sweep-0.9.3/intl/os2compat.c:62:33: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] sweep-0.9.3/intl/os2compat.c:60:43: note: Assuming allocation function fails sweep-0.9.3/intl/os2compat.c:60:27: note: Assignment '_nlos2_libdir=(char*)malloc(sl+strlen(LIBDIR)+1)', assigned value is 0 sweep-0.9.3/intl/os2compat.c:62:33: note: Null pointer addition sweep-0.9.3/intl/os2compat.c:76:42: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] sweep-0.9.3/intl/os2compat.c:74:52: note: Assuming allocation function fails sweep-0.9.3/intl/os2compat.c:74:36: note: Assignment '_nlos2_localealiaspath=(char*)malloc(sl+strlen(LOCALE_ALIAS_PATH)+1)', assigned value is 0 sweep-0.9.3/intl/os2compat.c:76:42: note: Null pointer addition sweep-0.9.3/intl/os2compat.c:90:36: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] sweep-0.9.3/intl/os2compat.c:88:46: note: Assuming allocation function fails sweep-0.9.3/intl/os2compat.c:88:30: note: Assignment '_nlos2_localedir=(char*)malloc(sl+strlen(LOCALEDIR)+1)', assigned value is 0 sweep-0.9.3/intl/os2compat.c:90:36: note: Null pointer addition sweep-0.9.3/intl/os2compat.c:51:9: style: Variable 'root' can be declared as pointer to const [constVariablePointer] plural.y:160:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qmop [valueFlowBailoutIncompleteVar] plural.y:276:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable equal [valueFlowBailoutIncompleteVar] /home/haible/gnu/arch/linuxlibc6/share/bison/bison.simple:517:36: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] /home/haible/gnu/arch/linuxlibc6/share/bison/bison.simple:515:9: style: Variable 'yyss1' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/intl/xsize.h:60:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] sweep-0.9.3/intl/printf-parse.c:146:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] sweep-0.9.3/intl/vasnprintf.c:122:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sweep-0.9.3/intl/printf.c:116:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sweep-0.9.3/intl/loadmsgcat.c:982:2: error: Resource leak: fd [resourceLeak] sweep-0.9.3/intl/loadmsgcat.c:975: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] sweep-0.9.3/intl/loadmsgcat.c:919:33: note: 'data' is assigned value '(struct mo_file_header*)-1' here. sweep-0.9.3/intl/loadmsgcat.c:975: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. sweep-0.9.3/intl/loadmsgcat.c:771:47: style:inconclusive: Function '_nl_init_domain_conv' argument 1 names different: declaration '__domain_file' definition 'domain_file'. [funcArgNamesDifferent] sweep-0.9.3/intl/gettextP.h:169:59: note: Function '_nl_init_domain_conv' argument 1 names different: declaration '__domain_file' definition 'domain_file'. sweep-0.9.3/intl/loadmsgcat.c:771:47: note: Function '_nl_init_domain_conv' argument 1 names different: declaration '__domain_file' definition 'domain_file'. sweep-0.9.3/intl/loadmsgcat.c:772:31: style:inconclusive: Function '_nl_init_domain_conv' argument 2 names different: declaration '__domain' definition 'domain'. [funcArgNamesDifferent] sweep-0.9.3/intl/gettextP.h:170:29: note: Function '_nl_init_domain_conv' argument 2 names different: declaration '__domain' definition 'domain'. sweep-0.9.3/intl/loadmsgcat.c:772:31: note: Function '_nl_init_domain_conv' argument 2 names different: declaration '__domain' definition 'domain'. sweep-0.9.3/intl/loadmsgcat.c:773:25: style:inconclusive: Function '_nl_init_domain_conv' argument 3 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] sweep-0.9.3/intl/gettextP.h:171:23: note: Function '_nl_init_domain_conv' argument 3 names different: declaration '__domainbinding' definition 'domainbinding'. sweep-0.9.3/intl/loadmsgcat.c:773:25: note: Function '_nl_init_domain_conv' argument 3 names different: declaration '__domainbinding' definition 'domainbinding'. sweep-0.9.3/intl/loadmsgcat.c:889:45: style:inconclusive: Function '_nl_free_domain_conv' argument 1 names different: declaration '__domain' definition 'domain'. [funcArgNamesDifferent] sweep-0.9.3/intl/gettextP.h:173:50: note: Function '_nl_free_domain_conv' argument 1 names different: declaration '__domain' definition 'domain'. sweep-0.9.3/intl/loadmsgcat.c:889:45: note: Function '_nl_free_domain_conv' argument 1 names different: declaration '__domain' definition 'domain'. sweep-0.9.3/intl/loadmsgcat.c:909:42: style:inconclusive: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. [funcArgNamesDifferent] sweep-0.9.3/intl/gettextP.h:164:47: note: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. sweep-0.9.3/intl/loadmsgcat.c:909:42: note: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. sweep-0.9.3/intl/loadmsgcat.c:910:20: style:inconclusive: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] sweep-0.9.3/intl/gettextP.h:165:25: note: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. sweep-0.9.3/intl/loadmsgcat.c:910:20: note: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. sweep-0.9.3/plugins/byenergy/byenergy.c:98:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] sweep-0.9.3/plugins/byenergy/byenergy.c:108:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] sweep-0.9.3/plugins/byenergy/byenergy.c:141:10: style: Variable 'length' is reassigned a value before the old one has been used. [redundantAssignment] sweep-0.9.3/plugins/byenergy/byenergy.c:126:10: note: length is assigned sweep-0.9.3/plugins/byenergy/byenergy.c:141:10: note: length is overwritten sweep-0.9.3/plugins/byenergy/byenergy.c:163:10: style: Variable 'factor' is assigned a value that is never used. [unreadVariable] sweep-0.9.3/plugins/echo/echo.c:73:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable f [valueFlowBailoutIncompleteVar] sweep-0.9.3/plugins/echo/echo.c:81:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable f [valueFlowBailoutIncompleteVar] sweep-0.9.3/plugins/echo/echo.c:85:16: style: Variable 'd' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/plugins/echo/echo.c:91:13: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] sweep-0.9.3/plugins/example/example.c:85:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] sweep-0.9.3/plugins/example/example.c:94:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] sweep-0.9.3/plugins/example/example.c:91:38: style: Parameter 'data' can be declared as pointer to const. However it seems that 'example_filter_region_func' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sweep-0.9.3/plugins/example/example.c:123:29: note: You might need to cast the function pointer here sweep-0.9.3/plugins/example/example.c:91:38: note: Parameter 'data' can be declared as pointer to const sweep-0.9.3/plugins/example/example.c:91:56: style: Parameter 'format' can be declared as pointer to const. However it seems that 'example_filter_region_func' is a callback function, if 'format' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sweep-0.9.3/plugins/example/example.c:123:29: note: You might need to cast the function pointer here sweep-0.9.3/plugins/example/example.c:91:56: note: Parameter 'format' can be declared as pointer to const sweep-0.9.3/plugins/example/example.c:92:36: style: Parameter 'custom_data' can be declared as pointer to const. However it seems that 'example_filter_region_func' is a callback function, if 'custom_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sweep-0.9.3/plugins/example/example.c:123:29: note: You might need to cast the function pointer here sweep-0.9.3/plugins/example/example.c:92:36: note: Parameter 'custom_data' can be declared as pointer to const sweep-0.9.3/plugins/example/example.c:95:11: style: Variable 'beans' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/plugins/fade/fade.c:102:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_CANCEL [valueFlowBailoutIncompleteVar] sweep-0.9.3/plugins/fade/fade.c:36:12: style: Variable 'sel' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/plugins/fade/fade.c:38:17: style: Variable 'factor' is assigned a value that is never used. [unreadVariable] sweep-0.9.3/plugins/ladspa/ladspameta.c:105:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_TYPE_BOOL [valueFlowBailoutIncompleteVar] sweep-0.9.3/plugins/ladspa/ladspameta.c:118:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SW_RANGE_LOWER_BOUND_VALID [valueFlowBailoutIncompleteVar] sweep-0.9.3/plugins/ladspa/ladspameta.c:453:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] sweep-0.9.3/plugins/ladspa/ladspameta.c:696:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sw_param_spec [valueFlowBailoutIncompleteVar] sweep-0.9.3/plugins/normalise/normalise.c:63:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_CANCEL [valueFlowBailoutIncompleteVar] sweep-0.9.3/plugins/normalise/normalise.c:36:12: style: Variable 'sel' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/plugins/reverse/reverse.c:67:15: debug: Scope::checkVariable found variable 'e' with varid 0. [varid0] sweep-0.9.3/plugins/reverse/reverse.c:67:18: debug: Scope::checkVariable found variable 't' with varid 0. [varid0] sweep-0.9.3/plugins/reverse/reverse.c:67:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e [valueFlowBailoutIncompleteVar] sweep-0.9.3/plugins/reverse/reverse.c:82:7: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] sweep-0.9.3/plugins/reverse/reverse.c:90:11: portability: 'd' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] sweep-0.9.3/plugins/reverse/reverse.c:107:6: portability: 'd' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] sweep-0.9.3/src/about_dialog.c:66:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/about_dialog.c:80:12: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] sweep-0.9.3/src/about_dialog.c:45:29: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'sweep_homepage' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sweep-0.9.3/src/about_dialog.c:127:5: note: You might need to cast the function pointer here sweep-0.9.3/src/about_dialog.c:45:29: note: Parameter 'widget' can be declared as pointer to const sweep-0.9.3/src/about_dialog.c:45:46: style: Parameter 'data' can be declared as pointer to const. However it seems that 'sweep_homepage' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sweep-0.9.3/src/about_dialog.c:127:5: note: You might need to cast the function pointer here sweep-0.9.3/src/about_dialog.c:45:46: note: Parameter 'data' can be declared as pointer to const sweep-0.9.3/src/callbacks.h:293:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] sweep-0.9.3/src/callbacks.h:293:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] sweep-0.9.3/src/cursors.c:102:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_XTERM [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/channelops.c:89:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_CANCEL [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/channelops.c:208:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WIN_POS_MOUSE [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/channelops.c:295:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_CANCEL [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/channelops.c:391:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_CANCEL [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/channelops.c:485:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_CANCEL [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/channelops.c:517:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_BUSY [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/channelops.c:590:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_CANCEL [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/channelops.c:693:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WIN_POS_MOUSE [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/db_ruler.c:105:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_RULER [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/db_ruler.c:160:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dragging [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/db_ruler.c:174:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_REALIZED [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/db_ruler.c:242:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dragging [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/db_ruler.c:281:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable y [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/db_ruler.c:294:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dragging [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/db_ruler.c:305:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SCROLL_UP [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/db_ruler.c:327:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dragging [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/db_ruler.c:364:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STATE_NORMAL [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/db_ruler.c:518:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STATE_NORMAL [valueFlowBailoutIncompleteVar] sweep-0.9.3/plugins/ladspa/ladspameta.c:224:7: warning: Return value of function exp() is not used. [ignoredReturnValue] sweep-0.9.3/plugins/ladspa/ladspameta.c:230:7: warning: Return value of function exp() is not used. [ignoredReturnValue] sweep-0.9.3/plugins/ladspa/ladspameta.c:775:24: warning: If memory allocation fails, then there is a possible null pointer dereference: ladspa_path [nullPointerOutOfMemory] sweep-0.9.3/plugins/ladspa/ladspameta.c:772:36: note: Assuming allocation function fails sweep-0.9.3/plugins/ladspa/ladspameta.c:772:28: note: Assignment 'ladspa_path=saved_lp=strdup(default_ladspa_path)', assigned value is 0 sweep-0.9.3/plugins/ladspa/ladspameta.c:775:24: note: Null pointer dereference sweep-0.9.3/plugins/ladspa/ladspameta.c:190:30: style: Parameter 'format' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/plugins/ladspa/ladspameta.c:293:19: style: Variable 'param_specs' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/plugins/ladspa/ladspameta.c:301:12: style: Variable 'sel' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/plugins/ladspa/ladspameta.c:656:32: style: Parameter 'dir' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/plugins/ladspa/ladspameta.c:656:45: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/plugins/ladspa/ladspameta.c:740:10: style: Variable 'name' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/channelops.c:265:16: style: Variable 'old_d' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/channelops.c:360:16: style: Variable 'old_d' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/db_slider.c:65:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_FLOAT [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/db_slider.c:94:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_VBOX [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/db_slider.c:143:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/db_slider.c:169:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db_label [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/db_slider.c:196:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db_label [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/db_slider.c:188:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] sweep-0.9.3/src/db_slider.c:54:19: style: Variable 'object_class' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/db_slider.c:70:29: style: Parameter 'slider' can be declared as pointer to const. However it seems that 'db_slider_init' is a callback function, if 'slider' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sweep-0.9.3/src/db_slider.c:90:22: note: You might need to cast the function pointer here sweep-0.9.3/src/db_slider.c:70:29: note: Parameter 'slider' can be declared as pointer to const sweep-0.9.3/src/db_slider.c:178:46: style: Parameter 'title' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/db_slider.c:56:16: style: Variable 'object_class' is assigned a value that is never used. [unreadVariable] sweep-0.9.3/src/db_ruler.c:471:27: warning: Invalid log10() argument nr 1. The value is 0 but the valid values are '4.94066e-324:'. [invalidFunctionArg] sweep-0.9.3/src/db_ruler.c:470:40: note: Assignment 'a_cur=0.0', assigned value is 0.0 sweep-0.9.3/src/db_ruler.c:471:27: note: Invalid argument sweep-0.9.3/src/db_ruler.c:527:21: style: Condition 'bs_width>0' is always true [knownConditionTrueFalse] sweep-0.9.3/src/db_ruler.c:525:18: note: Assignment 'bs_width=4', assigned value is 4 sweep-0.9.3/src/db_ruler.c:527:21: note: Condition 'bs_width>0' is always true sweep-0.9.3/src/db_ruler.c:527:40: style: Condition 'bs_height>0' is always true [knownConditionTrueFalse] sweep-0.9.3/src/db_ruler.c:524:19: note: Assignment 'bs_height=7', assigned value is 7 sweep-0.9.3/src/db_ruler.c:527:40: note: Condition 'bs_height>0' is always true sweep-0.9.3/src/db_ruler.c:114:19: style: Variable 'object_class' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/db_ruler.c:224:60: style: Parameter 'event' can be declared as pointer to const. However it seems that 'db_ruler_motion_notify' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sweep-0.9.3/src/db_ruler.c:124:39: note: You might need to cast the function pointer here sweep-0.9.3/src/db_ruler.c:224:60: note: Parameter 'event' can be declared as pointer to const sweep-0.9.3/src/db_ruler.c:300:59: style: Parameter 'event' can be declared as pointer to const. However it seems that 'db_ruler_scroll_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sweep-0.9.3/src/db_ruler.c:127:32: note: You might need to cast the function pointer here sweep-0.9.3/src/db_ruler.c:300:59: note: Parameter 'event' can be declared as pointer to const sweep-0.9.3/src/db_ruler.c:336:15: style: Variable 'bg_gc' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/db_ruler.c:118:16: style: Variable 'object_class' is assigned a value that is never used. [unreadVariable] sweep-0.9.3/src/db_ruler.c:520:18: style: Variable 'ythickness' is assigned a value that is never used. [unreadVariable] sweep-0.9.3/src/db_ruler.c:538:14: style: Variable 'increment' is assigned a value that is never used. [unreadVariable] sweep-0.9.3/src/driver.c:370:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WIN_POS_MOUSE [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/driver.c:405:12: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] sweep-0.9.3/src/driver.c:425:12: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] sweep-0.9.3/src/driver.c:435:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] sweep-0.9.3/src/driver.c:474:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] sweep-0.9.3/src/driver.c:499:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] sweep-0.9.3/src/driver.c:517:13: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] sweep-0.9.3/src/driver.c:555:12: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] sweep-0.9.3/src/driver.c:560:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] sweep-0.9.3/src/driver.c:602:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] sweep-0.9.3/src/driver.c:618:13: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] sweep-0.9.3/src/driver.c:159:15: style: Local variable 'dialog' shadows outer variable [shadowVariable] sweep-0.9.3/src/driver.c:139:20: note: Shadowed declaration sweep-0.9.3/src/driver.c:159:15: note: Shadow variable sweep-0.9.3/src/driver.c:160:19: style: Local variable 'adj' shadows outer variable [shadowVariable] sweep-0.9.3/src/driver.c:142:20: note: Shadowed declaration sweep-0.9.3/src/driver.c:160:19: note: Shadow variable sweep-0.9.3/src/driver.c:188:15: style: Local variable 'dialog' shadows outer variable [shadowVariable] sweep-0.9.3/src/driver.c:139:20: note: Shadowed declaration sweep-0.9.3/src/driver.c:188:15: note: Shadow variable sweep-0.9.3/src/driver.c:197:15: style: Local variable 'dialog' shadows outer variable [shadowVariable] sweep-0.9.3/src/driver.c:139:20: note: Shadowed declaration sweep-0.9.3/src/driver.c:197:15: note: Shadow variable sweep-0.9.3/src/driver.c:239:19: style: Local variable 'adj' shadows outer variable [shadowVariable] sweep-0.9.3/src/driver.c:142:20: note: Shadowed declaration sweep-0.9.3/src/driver.c:239:19: note: Shadow variable sweep-0.9.3/src/driver.c:248:15: style: Local variable 'dialog' shadows outer variable [shadowVariable] sweep-0.9.3/src/driver.c:139:20: note: Shadowed declaration sweep-0.9.3/src/driver.c:248:15: note: Shadow variable sweep-0.9.3/src/driver.c:268:15: style: Local variable 'dialog' shadows outer variable [shadowVariable] sweep-0.9.3/src/driver.c:139:20: note: Shadowed declaration sweep-0.9.3/src/driver.c:268:15: note: Shadow variable sweep-0.9.3/src/driver.c:285:15: style: Local variable 'dialog' shadows outer variable [shadowVariable] sweep-0.9.3/src/driver.c:139:20: note: Shadowed declaration sweep-0.9.3/src/driver.c:285:15: note: Shadow variable sweep-0.9.3/src/driver.c:304:15: style: Local variable 'dialog' shadows outer variable [shadowVariable] sweep-0.9.3/src/driver.c:139:20: note: Shadowed declaration sweep-0.9.3/src/driver.c:304:15: note: Shadow variable sweep-0.9.3/src/driver.c:315:15: style: Local variable 'dialog' shadows outer variable [shadowVariable] sweep-0.9.3/src/driver.c:139:20: note: Shadowed declaration sweep-0.9.3/src/driver.c:315:15: note: Shadow variable sweep-0.9.3/src/driver.c:323:15: style: Local variable 'dialog' shadows outer variable [shadowVariable] sweep-0.9.3/src/driver.c:139:20: note: Shadowed declaration sweep-0.9.3/src/driver.c:323:15: note: Shadow variable sweep-0.9.3/src/driver.c:120:9: style: Variable 'use_monitor' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/driver.c:160:19: style: Variable 'adj' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/driver.c:199:11: style: Variable 'main_devname' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/driver.c:199:27: style: Variable 'monitor_devname' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/driver.c:249:23: style: Variable 'monitor_dev' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/driver.c:269:10: style: Variable 'main_dev' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/driver.c:269:22: style: Variable 'monitor_dev' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/driver.c:286:10: style: Variable 'name' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/edit.c:634:16: debug: Scope::checkVariable found variable 'd' with varid 0. [varid0] sweep-0.9.3/src/file_dialogs.c:155:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/file_dialogs.c:256:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/file_dialogs.c:291:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/file_dialogs.c:343:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/file_dialogs.c:432:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SW_DIR_LEN [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/file_dialogs.c:709:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SAVE [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/edit.c:148:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sw_edit_region [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/edit.c:187:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sw_edit_buffer [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/edit.c:572:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRAMECOUNT_MAX [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/edit.c:634:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/edit.c:861:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_CANCEL [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/edit.c:1146:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_CANCEL [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/edit.c:1236:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_CANCEL [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/edit.c:1335:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_BUSY [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/edit.c:1379:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_BUSY [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/edit.c:1423:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_BUSY [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/edit.c:1475:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_BUSY [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/edit.c:1557:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_BUSY [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/edit.c:1629:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_BUSY [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/edit.c:1713:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_BUSY [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/file_dialogs.c:152:13: style: Obsolete function 'g_dirname' called. It is recommended to use 'g_path_get_dirname' instead. [prohibitedg_dirnameCalled] sweep-0.9.3/src/file_dialogs.c:372:6: style: Obsolete function 'g_basename' called. It is recommended to use 'g_path_get_basename' instead. [prohibitedg_basenameCalled] sweep-0.9.3/src/file_dialogs.c:432:10: style: g_strncasecmp has been deprecated since version 2.2 and should not be used in newly-written code. [prohibitedg_strncasecmpCalled] sweep-0.9.3/src/file_dialogs.c:472:7: style: g_strncasecmp has been deprecated since version 2.2 and should not be used in newly-written code. [prohibitedg_strncasecmpCalled] sweep-0.9.3/src/file_dialogs.c:545:53: style: Obsolete function 'g_basename' called. It is recommended to use 'g_path_get_basename' instead. [prohibitedg_basenameCalled] sweep-0.9.3/src/file_dialogs.c:587:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] sweep-0.9.3/src/file_dialogs.c:626:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] sweep-0.9.3/src/file_dialogs.c:719:18: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] sweep-0.9.3/src/file_dialogs.c:725:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] sweep-0.9.3/src/file_dialogs.c:757:31: style: Obsolete function 'g_dirname' called. It is recommended to use 'g_path_get_dirname' instead. [prohibitedg_dirnameCalled] sweep-0.9.3/src/file_dialogs.c:824:57: style: Obsolete function 'g_basename' called. It is recommended to use 'g_path_get_basename' instead. [prohibitedg_basenameCalled] sweep-0.9.3/src/file_dialogs.c:199:18: style: Condition 'new_sample==NULL' is always true [knownConditionTrueFalse] sweep-0.9.3/src/file_dialogs.c:193:28: note: Assignment 'new_sample=NULL', assigned value is 0 sweep-0.9.3/src/file_dialogs.c:199:18: note: Condition 'new_sample==NULL' is always true sweep-0.9.3/src/file_dialogs.c:227:14: style: Condition 'sample==NULL' is always true [knownConditionTrueFalse] sweep-0.9.3/src/file_dialogs.c:221:24: note: Assignment 'sample=NULL', assigned value is 0 sweep-0.9.3/src/file_dialogs.c:227:14: note: Condition 'sample==NULL' is always true sweep-0.9.3/src/file_dialogs.c:752:15: error: Allocation with g_path_get_dirname, strcmp doesn't release it. [leakNoVarFunctionCall] sweep-0.9.3/src/file_dialogs.c:779:10: style: Variable 'retval' is reassigned a value before the old one has been used. [redundantAssignment] sweep-0.9.3/src/file_dialogs.c:769:13: note: retval is assigned sweep-0.9.3/src/file_dialogs.c:779:10: note: retval is overwritten sweep-0.9.3/src/file_dialogs.c:781:12: style: Variable 'filename' is reassigned a value before the old one has been used. [redundantAssignment] sweep-0.9.3/src/file_dialogs.c:773:18: note: filename is assigned sweep-0.9.3/src/file_dialogs.c:781:12: note: filename is overwritten sweep-0.9.3/src/file_dialogs.c:142:26: style: Parameter 'pathname' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/file_dialogs.c:393:47: style: Parameter 'pathname' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/file_dialogs.c:396:11: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/file_dialogs.c:403:25: style: Variable 'desc' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/format.c:32:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sw_format [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/format.c:40:26: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/format.c:50:27: style: Parameter 'f1' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/format.c:50:43: style: Parameter 'f2' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/levelmeter.c:83:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_REALIZED [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/levelmeter.c:151:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STATE_NORMAL [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/levelmeter.c:261:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_WIDGET [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/levelmeter.c:268:22: style:inconclusive: Function 'levelmeter_new' argument 1 names different: declaration 'state' definition 'level'. [funcArgNamesDifferent] sweep-0.9.3/src/levelmeter.h:48:33: note: Function 'levelmeter_new' argument 1 names different: declaration 'state' definition 'level'. sweep-0.9.3/src/levelmeter.c:268:22: note: Function 'levelmeter_new' argument 1 names different: declaration 'state' definition 'level'. sweep-0.9.3/src/levelmeter.c:50:35: style: Parameter 'levelmeter' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/levelmeter.c:76:15: style: Variable 'levelmeter' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/levelmeter.c:124:15: style: Variable 'levelmeter' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/levelmeter.c:181:15: style: Variable 'levelmeter' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/levelmeter.c:84:14: style: Variable 'levelmeter' is assigned a value that is never used. [unreadVariable] sweep-0.9.3/src/levelmeter.c:132:16: style: Variable 'levelmeter' is assigned a value that is never used. [unreadVariable] sweep-0.9.3/src/levelmeter.c:186:14: style: Variable 'levelmeter' is assigned a value that is never used. [unreadVariable] sweep-0.9.3/src/paste_dialogs.c:102:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_IDLE [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/paste_dialogs.c:145:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_IDLE [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/paste_dialogs.c:179:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_IDLE [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/paste_dialogs.c:191:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_IDLE [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/paste_dialogs.c:236:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WIN_POS_MOUSE [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/edit.c:50:44: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/edit.c:268:38: style: Parameter 'eb' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/edit.c:271:20: style: Variable 'er' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/edit.c:284:37: style: Parameter 'eb' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/edit.c:287:20: style: Variable 'er' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/edit.c:349:48: style: Parameter 'eb' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/edit.c:352:20: style: Variable 'er' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/edit.c:719:61: style: Parameter 'eb' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/edit.c:724:20: style: Variable 'er1' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/edit.c:724:27: style: Variable 'er2' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/edit.c:806:20: style: Variable 'er' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/edit.c:887:20: style: Variable 'sel2' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/edit.c:1008:20: style: Variable 'er' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/edit.c:1077:50: style: Parameter 'eb' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/edit.c:1277:34: style: Parameter 'inst' can be declared as pointer to const. However it seems that 'do_copy_thread' is a callback function, if 'inst' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sweep-0.9.3/src/edit.c:1297:18: note: You might need to cast the function pointer here sweep-0.9.3/src/edit.c:1277:34: note: Parameter 'inst' can be declared as pointer to const sweep-0.9.3/src/edit.c:169:52: portability: 'data0' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] sweep-0.9.3/src/edit.c:523:7: portability: 'd' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] sweep-0.9.3/src/edit.c:559:7: portability: 'd' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] sweep-0.9.3/src/edit.c:673:8: portability: 'di' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] sweep-0.9.3/src/edit.c:759:29: portability: 'd' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] sweep-0.9.3/src/edit.c:767:28: portability: 'd' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] sweep-0.9.3/src/edit.c:775:28: portability: 'd' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] sweep-0.9.3/src/edit.c:781:28: portability: 'd' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] sweep-0.9.3/src/edit.c:785:28: portability: 'd' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] sweep-0.9.3/src/edit.c:793:28: portability: 'd' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] sweep-0.9.3/src/edit.c:933:32: portability: 'd' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] sweep-0.9.3/src/edit.c:986:26: portability: 'd' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] sweep-0.9.3/src/edit.c:1024:7: portability: 'd' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] sweep-0.9.3/src/edit.c:1035:7: portability: 'd' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] sweep-0.9.3/src/edit.c:1043:7: portability: 'd' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] sweep-0.9.3/src/param.c:78:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sw_param [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/param.c:86:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sw_param [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/param.c:160:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SW_PARAM_CONSTRAINED_NOT [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/param.c:274:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/param.c:395:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_TYPE_BOOL [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/param.c:629:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vbox [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/paste_dialogs.c:251:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] sweep-0.9.3/src/paste_dialogs.c:264:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] sweep-0.9.3/src/paste_dialogs.c:268:11: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] sweep-0.9.3/src/paste_dialogs.c:296:7: style: Obsolete function 'g_basename' called. It is recommended to use 'g_path_get_basename' instead. [prohibitedg_basenameCalled] sweep-0.9.3/src/paste_dialogs.c:303:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] sweep-0.9.3/src/paste_dialogs.c:307:11: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] sweep-0.9.3/src/paste_dialogs.c:349:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] sweep-0.9.3/src/plugin.c:58:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MODULE_BIND_LAZY [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/plugin.c:103:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_PLUGIN_DIR [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/plugin.c:116:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_PLUGIN_DIR [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/plugin.c:92:10: style: Variable 'name' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/plugin.c:102:10: style: Variable 'name' is assigned a value that is never used. [unreadVariable] sweep-0.9.3/src/param.c:415:14: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] sweep-0.9.3/src/param.c:636:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] sweep-0.9.3/src/param.c:645:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] sweep-0.9.3/src/param.c:734:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] sweep-0.9.3/src/param.c:742:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] sweep-0.9.3/src/param.c:50:14: style: Condition 'p1.i>p2.i' is always true [knownConditionTrueFalse] sweep-0.9.3/src/param.c:48:14: note: Assuming that condition 'p1.i==p2.i' is not redundant sweep-0.9.3/src/param.c:49:14: note: Assuming condition is false sweep-0.9.3/src/param.c:50:14: note: Condition 'p1.i>p2.i' is always true sweep-0.9.3/src/param.c:55:14: style: Condition 'p1.f>p2.f' is always true [knownConditionTrueFalse] sweep-0.9.3/src/param.c:53:14: note: Assuming that condition 'p1.f==p2.f' is not redundant sweep-0.9.3/src/param.c:54:14: note: Assuming condition is false sweep-0.9.3/src/param.c:55:14: note: Condition 'p1.f>p2.f' is always true sweep-0.9.3/src/param.c:75:24: style: Parameter 'p1' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/param.c:82:34: style: Parameter 'proc' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/param.c:248:39: style: Parameter 'ps' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/param.c:265:19: style: Variable 'pspec' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/param.c:388:15: style: Variable 'digits' is assigned a value that is never used. [unreadVariable] sweep-0.9.3/src/preferences.c:58:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/preferences.c:191:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_REPLACE [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/preferences.c:243:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_REPLACE [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/preferences.c:302:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_REPLACE [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/preferences.c:333:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_REPLACE [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/preferences.c:218:3: style: Variable '*(long*)val_data.dptr' is assigned an expression that holds the same value. [redundantAssignment] sweep-0.9.3/src/preferences.c:215:7: note: val is assigned 'nval' here. sweep-0.9.3/src/preferences.c:218:3: note: Variable '*(long*)val_data.dptr' is assigned an expression that holds the same value. sweep-0.9.3/src/print.c:62:10: style: Variable 'sign' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/print.c:109:28: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/question_dialogs.c:57:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_MODE_READY [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/question_dialogs.c:106:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WIN_POS_MOUSE [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/question_dialogs.c:182:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_MODE_READY [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/question_dialogs.c:123:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] sweep-0.9.3/src/question_dialogs.c:84:46: style: Parameter 'title' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/play.c:676:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sw_audio_t [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/play.c:730:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sw_audio_t [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/play.c:859:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sw_audio_t [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/play.c:937:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_filter.c:68:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_CANCEL [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_filter.c:116:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_BUSY [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_filter.c:177:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_BUSY [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sw_chooser.c:96:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_INT [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sw_chooser.c:130:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_FRAME [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sw_chooser.c:250:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sw_chooser.c:277:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable title [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_filter.c:47:12: style: Variable 'sel' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/sweep_filter.c:166:15: style: Variable 'out' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/sw_chooser.c:279:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] sweep-0.9.3/src/sw_chooser.c:302:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] sweep-0.9.3/src/sw_chooser.c:84:19: style: Variable 'object_class' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/sw_chooser.c:103:30: style: Parameter 'chooser' can be declared as pointer to const. However it seems that 'sw_chooser_init' is a callback function, if 'chooser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sweep-0.9.3/src/sw_chooser.c:126:22: note: You might need to cast the function pointer here sweep-0.9.3/src/sw_chooser.c:103:30: note: Parameter 'chooser' can be declared as pointer to const sweep-0.9.3/src/sw_chooser.c:86:16: style: Variable 'object_class' is assigned a value that is never used. [unreadVariable] sweep-0.9.3/src/sweep_selection.c:47:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sw_sel [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_selection.c:241:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_BUSY [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_selection.c:80:19: style: Parameter 's1' can be declared as pointer to const. However it seems that 'sel_cmp' is a callback function, if 's1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sweep-0.9.3/src/sweep_selection.c:126:57: note: You might need to cast the function pointer here sweep-0.9.3/src/sweep_selection.c:80:19: note: Parameter 's1' can be declared as pointer to const sweep-0.9.3/src/sweep_selection.c:80:32: style: Parameter 's2' can be declared as pointer to const. However it seems that 'sel_cmp' is a callback function, if 's2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sweep-0.9.3/src/sweep_selection.c:126:57: note: You might need to cast the function pointer here sweep-0.9.3/src/sweep_selection.c:80:32: note: Parameter 's2' can be declared as pointer to const sweep-0.9.3/src/sweep_selection.c:87:20: style: Parameter 'sels' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/sweep_selection.c:87:33: style: Parameter 'desc' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/sweep_sounddata.c:51:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sw_sounddata [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_sounddata.c:241:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sel_cmp [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_sounddata.c:266:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sel_cmp [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_typeconvert.c:47:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sw_audio_t [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_typeconvert.c:36:32: style: Parameter 'format' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/sweep_typeconvert.c:45:30: style: Parameter 'format' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/sweep_typeconvert.c:54:29: style: Parameter 'format' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/sweep_sounddata.c:148:48: style: Parameter 'sounddata' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/sweep_sounddata.c:154:48: style: Parameter 'sounddata' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/sweep_sounddata.c:157:12: style: Variable 'osel' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/sweep_sounddata.c:290:47: style: Parameter 'sounddata' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/sweep_sounddata.c:294:12: style: Variable 'sel' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/sweep_sounddata.c:306:43: style: Parameter 'sounddata' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/sweep_sounddata.c:309:12: style: Variable 'sel' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/sweep_sounddata.c:370:44: style: Parameter 'sounddata1' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/sweep_sample.c:129:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sw_sample [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_sample.c:211:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_sample.c:322:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sw_audio_t [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_sample.c:406:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WIN_POS_CENTER [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_sample.c:905:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_IDLE [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_sample.c:1226:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_IDLE [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_sample.c:1240:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_IDLE [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_sample.c:1264:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_IDLE [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_sample.c:1874:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WIN_POS_CENTER [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/spinlock.c:464:31: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/tdb/spinlock.c:465:33: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/sweep_undo.c:68:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_CANCEL [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_undo.c:186:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_BUSY [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_undo.c:256:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sw_op_instance [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_undo.c:323:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_MODE_META [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_undo.c:388:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_MODE_META [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_undo.c:421:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_BUSY [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_undo.c:463:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_MODE_FILTER [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_undo.c:477:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_IDLE [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_undo.c:502:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_BUSY [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_undo.c:544:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_MODE_FILTER [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_undo.c:558:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_IDLE [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_undo.c:675:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_STATE_CANCEL [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_undo.c:736:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sounddata_replace_data [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_undo.c:779:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable paste_over_data [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_undo.c:813:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable splice_data [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_undo.c:252:48: style: Parameter 'desc' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/sweep_undo.c:572:40: style: Parameter 'op_gl' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/sweep_undo.c:758:68: style: Parameter 'sr' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/sweep_undo.c:766:68: style: Parameter 'sr' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/sweep_undo.c:84:26: style: Variable 'was_going' is assigned a value that is never used. [unreadVariable] sweep-0.9.3/src/sweep_undo.c:97:17: style: Variable 'was_going' is assigned a value that is never used. [unreadVariable] sweep-0.9.3/src/sweep_undo.c:581:10: style: Variable 'inst' is assigned a value that is never used. [unreadVariable] sweep-0.9.3/src/sweep_sample.c:184:44: style: Obsolete function 'g_basename' called. It is recommended to use 'g_path_get_basename' instead. [prohibitedg_basenameCalled] sweep-0.9.3/src/sweep_sample.c:417:15: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] sweep-0.9.3/src/sweep_sample.c:423:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] sweep-0.9.3/src/sweep_sample.c:430:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] sweep-0.9.3/src/sweep_sample.c:450:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] sweep-0.9.3/src/sweep_sample.c:477:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] sweep-0.9.3/src/sweep_sample.c:508:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] sweep-0.9.3/src/sweep_sample.c:528:11: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] sweep-0.9.3/src/sweep_sample.c:573:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] sweep-0.9.3/src/sweep_sample.c:695:43: style: Obsolete function 'g_basename' called. It is recommended to use 'g_path_get_basename' instead. [prohibitedg_basenameCalled] sweep-0.9.3/src/sweep_sample.c:713:18: style: Obsolete function 'g_basename' called. It is recommended to use 'g_path_get_basename' instead. [prohibitedg_basenameCalled] sweep-0.9.3/src/sweep_sample.c:1830:47: style: Obsolete function 'g_basename' called. It is recommended to use 'g_path_get_basename' instead. [prohibitedg_basenameCalled] sweep-0.9.3/src/sweep_sample.c:123:26: style: Parameter 'pathname' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/sweep_sample.c:385:36: style: Parameter 'pathname' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/sweep_sample.c:659:35: style: Parameter 's' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/sweep_sample.c:665:45: style: Parameter 'pathname' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/sweep_sample.c:690:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/sweep_sample.c:760:31: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'sweep_quit_ok_cb' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sweep-0.9.3/src/sweep_sample.c:809:5: note: You might need to cast the function pointer here sweep-0.9.3/src/sweep_sample.c:760:31: note: Parameter 'widget' can be declared as pointer to const sweep-0.9.3/src/sweep_sample.c:760:48: style: Parameter 'data' can be declared as pointer to const. However it seems that 'sweep_quit_ok_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sweep-0.9.3/src/sweep_sample.c:809:5: note: You might need to cast the function pointer here sweep-0.9.3/src/sweep_sample.c:760:48: note: Parameter 'data' can be declared as pointer to const sweep-0.9.3/src/sweep_sample.c:784:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/sweep_sample.c:838:41: style: Parameter 's' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/sweep_sample.c:850:40: style: Parameter 's' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/sweep_sample.c:919:38: style: Parameter 's' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/sweep_sample.c:923:13: style: Variable 'head' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/sweep_sample.c:1050:40: style: Parameter 's' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/sweep_sample.c:1082:33: style: Parameter 's' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/sweep_sample.c:1107:33: style: Parameter 's' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/sweep_sample.c:1132:30: style: Parameter 's' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/sweep_sample.c:1157:33: style: Parameter 's' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/sweep_sample.c:1221:46: style: Parameter 's' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/sweep_sample.c:1338:35: style: Parameter 's' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/sweep_sample.c:1341:12: style: Variable 'sel' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/sweep_sample.c:1354:36: style: Parameter 's' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/tdb/tdb.c:142:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_INTERNAL [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:158:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_INTERNAL [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:239:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_NOLOCK [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:295:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_NOLOCK [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:325:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_NOLOCK [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:366:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_INTERNAL [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:412:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:435:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:452:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_OOM [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:467:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_CONVERT [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:472:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_CONVERT [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:478:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_CONVERT [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:491:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_CONVERT [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:497:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_CONVERT [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:530:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tdb_off [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:539:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_CONVERT [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:565:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tdb_header [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:602:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:644:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tdb_header [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:664:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:771:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:809:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:886:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:968:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tdb_header [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:1015:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tdb_header [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:1096:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tdb_off [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:1130:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:1153:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:1225:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tdb_header [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:1251:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:1339:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:1391:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:1406:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:1459:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:1488:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:1576:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tdb_off [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:1604:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:1740:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:1924:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_INTERNAL [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:1955:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_LOCK [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:1975:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:1982:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:1987:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:1992:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:1997:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:2013:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_INTERNAL [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/tdb/tdb.c:2054:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_CLEAR_IF_FIRST [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/time_ruler.c:87:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_RULER [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/time_ruler.c:203:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STATE_NORMAL [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/time_ruler.c:341:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STATE_NORMAL [valueFlowBailoutIncompleteVar] sweep-0.9.3/src/sweep_sample.c:1684:5: style: Variable 'n' is assigned a value that is never used. [unreadVariable] sweep-0.9.3/src/sweep_sample.c:1737:5: style: Variable 'n' is assigned a value that is never used. [unreadVariable] sweep-0.9.3/src/sweep_sample.c:1782:5: style: Variable 'n' is assigned a value that is never used. [unreadVariable] sweep-0.9.3/src/time_ruler.c:135:62: style: Parameter 'event' can be declared as pointer to const. However it seems that 'time_ruler_motion_notify' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sweep-0.9.3/src/time_ruler.c:104:39: note: You might need to cast the function pointer here sweep-0.9.3/src/time_ruler.c:135:62: note: Parameter 'event' can be declared as pointer to const sweep-0.9.3/src/time_ruler.c:175:15: style: Variable 'bg_gc' can be declared as pointer to const [constVariablePointer] sweep-0.9.3/src/time_ruler.c:381:60: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/tdb/tdb.c:390:22: style: Condition 'tdb_munmap(tdb)==-1' is always false [knownConditionTrueFalse] sweep-0.9.3/src/tdb/tdb.c:390:16: note: Calling function 'tdb_munmap' returns 0 sweep-0.9.3/src/tdb/tdb.c:390:22: note: Condition 'tdb_munmap(tdb)==-1' is always false sweep-0.9.3/src/tdb/tdb.c:2015:22: style: Condition 'tdb_munmap(tdb)!=0' is always false [knownConditionTrueFalse] sweep-0.9.3/src/tdb/tdb.c:2015:16: note: Calling function 'tdb_munmap' returns 0 sweep-0.9.3/src/tdb/tdb.c:2015:22: note: Condition 'tdb_munmap(tdb)!=0' is always false sweep-0.9.3/src/tdb/tdb.c:983:3: style: Redundant pointer operation on 'newdb' - it's already a pointer. [redundantPointerOp] sweep-0.9.3/src/tdb/tdb.c:398:59: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/tdb/tdb.c:1055:39: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/tdb/tdb.c:1072:39: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] sweep-0.9.3/src/tdb/tdb.c:1356:8: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] sweep-0.9.3/src/tdb/tdb.c:1359:9: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] sweep-0.9.3/src/play.c:623:27: style: Condition 'src_channels==dest_channels' is always true [knownConditionTrueFalse] sweep-0.9.3/src/play.c:616:28: note: Assuming that condition 'dest_channelsx_max' is not redundant sweep-0.9.3/src/sample-display.c:1246:12: note: Assuming condition is false sweep-0.9.3/src/sample-display.c:1248:32: note: Condition 'x<=x_max' is always true 2.18.0 sweep-0.9.3/src/sample-display.c:1251:17: style: Condition 'x2>=x_min' is always true [knownConditionTrueFalse] sweep-0.9.3/src/sample-display.c:1246:12: note: Assuming that condition 'x2=x_min' is always true 2.18.0 sweep-0.9.3/src/sample-display.c:1330:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_NOOP [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/sample-display.c:1344:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_NOOP [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/sample-display.c:1360:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COPY [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/sample-display.c:1395:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/sample-display.c:1430:15: style: Variable 'sample' can be declared as pointer to const [constVariablePointer] 2.18.0 sweep-0.9.3/src/sample-display.c:1432:13: style: Variable 'head' can be declared as pointer to const [constVariablePointer] 2.18.0 sweep-0.9.3/src/sample-display.c:1445:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/sample-display.c:1480:15: style: Variable 'sample' can be declared as pointer to const [constVariablePointer] 2.18.0 sweep-0.9.3/src/sample-display.c:1505:12: style: Variable 'sample' is assigned a value that is never used. [unreadVariable] 2.18.0 sweep-0.9.3/src/sample-display.c:1518:55: style: Parameter 'area' can be declared as pointer to const [constParameterPointer] 2.18.0 sweep-0.9.3/src/sample-display.c:1521:15: style: Variable 'sample' can be declared as pointer to const [constVariablePointer] 2.18.0 sweep-0.9.3/src/sample-display.c:1540:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable style [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/sample-display.c:1756:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_MODE_READY [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/sample-display.c:1783:5: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] 2.18.0 sweep-0.9.3/src/sample-display.c:1923:19: style: Variable 'adj' can be declared as pointer to const [constVariablePointer] 2.18.0 sweep-0.9.3/src/sample-display.c:1982:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/sample-display.c:2011:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_MODE_READY [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/sample-display.c:2096:16: style: Redundant initialization for 'just_clicked'. The initialized value is overwritten before it is read. [redundantInitialization] sweep-0.9.3/src/sample-display.c:2007:25: note: just_clicked is initialized sweep-0.9.3/src/sample-display.c:2096:16: note: just_clicked is overwritten 2.18.0 sweep-0.9.3/src/sample-display.c:2121:12: style: Variable 'sel' can be declared as pointer to const [constVariablePointer] 2.18.0 sweep-0.9.3/src/sample-display.c:2139:22: style: Parameter 'event' can be declared as pointer to const. However it seems that 'sample_display_scroll_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sweep-0.9.3/src/sample-display.c:2883:32: note: You might need to cast the function pointer here sweep-0.9.3/src/sample-display.c:2139:22: note: Parameter 'event' can be declared as pointer to const 2.18.0 sweep-0.9.3/src/sample-display.c:2145:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SCROLL_UP [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/sample-display.c:2176:13: warning: Either the condition 's->view' is redundant or there is possible null pointer dereference: s->view. [nullPointerRedundantCheck] sweep-0.9.3/src/sample-display.c:2286:11: note: Assuming that condition 's->view' is not redundant sweep-0.9.3/src/sample-display.c:2176:13: note: Null pointer dereference 2.18.0 sweep-0.9.3/src/sample-display.c:2215:2: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] sweep-0.9.3/src/sample-display.c:2227:4: note: Found duplicate branches for 'if' and 'else'. sweep-0.9.3/src/sample-display.c:2215:2: note: Found duplicate branches for 'if' and 'else'. 2.18.0 sweep-0.9.3/src/sample-display.c:2261:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/sample-display.c:2453:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON1_MASK [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/sample-display.c:2550:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_HAS_FOCUS [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/sample-display.c:2579:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_HAS_FOCUS [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/sample-display.c:2616:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWEEP_EDIT_MODE_ALLOC [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/sample-display.c:269:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/sample-display.c:2826:63: style: Parameter 'event' can be declared as pointer to const. However it seems that 'sample_display_key_release' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sweep-0.9.3/src/sample-display.c:2888:37: note: You might need to cast the function pointer here sweep-0.9.3/src/sample-display.c:2826:63: note: Parameter 'event' can be declared as pointer to const 2.18.0 sweep-0.9.3/src/sample-display.c:2840:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON1_MASK [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/sample-display.c:2868:19: style: Variable 'object_class' can be declared as pointer to const [constVariablePointer] 2.18.0 sweep-0.9.3/src/sample-display.c:2967:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_CAN_FOCUS [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/sample-display.c:297:15: style: Variable 'sample' can be declared as pointer to const [constVariablePointer] 2.18.0 sweep-0.9.3/src/sample-display.c:3008:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_WIDGET [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/sample-display.c:331:15: style: Variable 'sample' can be declared as pointer to const [constVariablePointer] 2.18.0 sweep-0.9.3/src/sample-display.c:332:13: style: Variable 'head' can be declared as pointer to const [constVariablePointer] 2.18.0 sweep-0.9.3/src/sample-display.c:365:15: style: Variable 'sample' can be declared as pointer to const [constVariablePointer] 2.18.0 sweep-0.9.3/src/sample-display.c:366:13: style: Variable 'rec_head' can be declared as pointer to const [constVariablePointer] 2.18.0 sweep-0.9.3/src/sample-display.c:402:15: style: Variable 'sample' can be declared as pointer to const [constVariablePointer] 2.18.0 sweep-0.9.3/src/sample-display.c:404:12: style: Variable 'sel' can be declared as pointer to const [constVariablePointer] 2.18.0 sweep-0.9.3/src/sample-display.c:464:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/sample-display.c:499:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/sample-display.c:582:15: style: Variable 'window' can be declared as pointer to const [constVariablePointer] 2.18.0 sweep-0.9.3/src/sample-display.c:583:15: style: Variable 'visual' can be declared as pointer to const [constVariablePointer] 2.18.0 sweep-0.9.3/src/sample-display.c:641:10: style: Variable 'window' is assigned a value that is never used. [unreadVariable] 2.18.0 sweep-0.9.3/src/sample-display.c:641:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/sample-display.c:642:10: style: Variable 'visual' is assigned a value that is never used. [unreadVariable] 2.18.0 sweep-0.9.3/src/sample-display.c:695:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_REALIZED [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/sample-display.c:864:10: style: Variable 'totpos' is assigned a value that is never used. [unreadVariable] 2.18.0 sweep-0.9.3/src/sample-display.c:864:19: style: Variable 'totneg' is assigned a value that is never used. [unreadVariable] 2.18.0 sweep-0.9.3/src/sample-display.c:865:10: style: Variable 'maxpos' is assigned a value that is never used. [unreadVariable] 2.18.0 sweep-0.9.3/src/sample-display.c:865:19: style: Variable 'minneg' is assigned a value that is never used. [unreadVariable] 2.18.0 sweep-0.9.3/src/undo_dialog.c:173:9: style: Obsolete function 'g_basename' called. It is recommended to use 'g_path_get_basename' instead. [prohibitedg_basenameCalled] 2.18.0 sweep-0.9.3/src/undo_dialog.c:305:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 sweep-0.9.3/src/undo_dialog.c:353:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WIN_POS_MOUSE [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/undo_dialog.c:372:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 sweep-0.9.3/src/undo_dialog.c:389:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 sweep-0.9.3/src/undo_dialog.c:84:44: style: Parameter 'sample' can be declared as pointer to const [constParameterPointer] 2.18.0 sweep-0.9.3/src/view.c:1385:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/view.c:1428:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/view.c:1448:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/view.c:1485:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/view.c:1566:56: style: Parameter 'event' can be declared as pointer to const. However it seems that 'scrub_clicked_cb' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sweep-0.9.3/src/view.c:2133:3: note: You might need to cast the function pointer here sweep-0.9.3/src/view.c:1566:56: note: Parameter 'event' can be declared as pointer to const 2.18.0 sweep-0.9.3/src/view.c:1579:55: style: Parameter 'event' can be declared as pointer to const. However it seems that 'scrub_motion_cb' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sweep-0.9.3/src/view.c:2135:3: note: You might need to cast the function pointer here sweep-0.9.3/src/view.c:1579:55: note: Parameter 'event' can be declared as pointer to const 2.18.0 sweep-0.9.3/src/view.c:1588:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON1_MASK [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/view.c:1604:31: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'vzoom_clicked_cb' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sweep-0.9.3/src/view.c:2161:3: note: You might need to cast the function pointer here sweep-0.9.3/src/view.c:1604:31: note: Parameter 'widget' can be declared as pointer to const 2.18.0 sweep-0.9.3/src/view.c:1604:56: style: Parameter 'event' can be declared as pointer to const. However it seems that 'vzoom_clicked_cb' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sweep-0.9.3/src/view.c:2161:3: note: You might need to cast the function pointer here sweep-0.9.3/src/view.c:1604:56: note: Parameter 'event' can be declared as pointer to const 2.18.0 sweep-0.9.3/src/view.c:1604:72: style: Parameter 'data' can be declared as pointer to const. However it seems that 'vzoom_clicked_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sweep-0.9.3/src/view.c:2161:3: note: You might need to cast the function pointer here sweep-0.9.3/src/view.c:1604:72: note: Parameter 'data' can be declared as pointer to const 2.18.0 sweep-0.9.3/src/view.c:1610:30: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'vzoom_motion_cb' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sweep-0.9.3/src/view.c:2163:3: note: You might need to cast the function pointer here sweep-0.9.3/src/view.c:1610:30: note: Parameter 'widget' can be declared as pointer to const 2.18.0 sweep-0.9.3/src/view.c:1610:55: style: Parameter 'event' can be declared as pointer to const. However it seems that 'vzoom_motion_cb' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sweep-0.9.3/src/view.c:2163:3: note: You might need to cast the function pointer here sweep-0.9.3/src/view.c:1610:55: note: Parameter 'event' can be declared as pointer to const 2.18.0 sweep-0.9.3/src/view.c:1610:71: style: Parameter 'data' can be declared as pointer to const. However it seems that 'vzoom_motion_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sweep-0.9.3/src/view.c:2163:3: note: You might need to cast the function pointer here sweep-0.9.3/src/view.c:1610:71: note: Parameter 'data' can be declared as pointer to const 2.18.0 sweep-0.9.3/src/view.c:1616:32: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'vzoom_released_cb' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sweep-0.9.3/src/view.c:2165:3: note: You might need to cast the function pointer here sweep-0.9.3/src/view.c:1616:32: note: Parameter 'widget' can be declared as pointer to const 2.18.0 sweep-0.9.3/src/view.c:1616:57: style: Parameter 'event' can be declared as pointer to const. However it seems that 'vzoom_released_cb' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sweep-0.9.3/src/view.c:2165:3: note: You might need to cast the function pointer here sweep-0.9.3/src/view.c:1616:57: note: Parameter 'event' can be declared as pointer to const 2.18.0 sweep-0.9.3/src/view.c:1616:73: style: Parameter 'data' can be declared as pointer to const. However it seems that 'vzoom_released_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sweep-0.9.3/src/view.c:2165:3: note: You might need to cast the function pointer here sweep-0.9.3/src/view.c:1616:73: note: Parameter 'data' can be declared as pointer to const 2.18.0 sweep-0.9.3/src/view.c:1683:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SW_AUDIO_T_MIN [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/view.c:1707:16: style: Variable 'screen_width' is assigned a value that is never used. [unreadVariable] 2.18.0 sweep-0.9.3/src/view.c:1730:15: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 sweep-0.9.3/src/view.c:1751:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 sweep-0.9.3/src/view.c:1764:15: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 sweep-0.9.3/src/view.c:1806:15: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 sweep-0.9.3/src/view.c:1883:15: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 sweep-0.9.3/src/view.c:1918:15: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 sweep-0.9.3/src/view.c:1979:15: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 sweep-0.9.3/src/view.c:198:18: style: Variable 'li' is assigned a value that is never used. [unreadVariable] 2.18.0 sweep-0.9.3/src/view.c:2173:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 sweep-0.9.3/src/view.c:217:5: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] 2.18.0 sweep-0.9.3/src/view.c:2200:15: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 sweep-0.9.3/src/view.c:225:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 sweep-0.9.3/src/view.c:2286:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 sweep-0.9.3/src/view.c:2295:15: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 sweep-0.9.3/src/view.c:2326:15: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 sweep-0.9.3/src/view.c:2330:14: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 sweep-0.9.3/src/view.c:2347:14: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 sweep-0.9.3/src/view.c:236:2: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] 2.18.0 sweep-0.9.3/src/view.c:2370:15: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 sweep-0.9.3/src/view.c:237:5: style: Variable 'li' is assigned a value that is never used. [unreadVariable] 2.18.0 sweep-0.9.3/src/view.c:2412:15: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 sweep-0.9.3/src/view.c:2463:15: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 sweep-0.9.3/src/view.c:249:5: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] 2.18.0 sweep-0.9.3/src/view.c:2515:15: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 sweep-0.9.3/src/view.c:254:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 sweep-0.9.3/src/view.c:2598:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 sweep-0.9.3/src/view.c:2613:15: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 sweep-0.9.3/src/view.c:2639:15: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 sweep-0.9.3/src/view.c:2663:15: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 sweep-0.9.3/src/view.c:2786:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/view.c:2880:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/view.c:2956:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/view.c:3076:12: style: Variable 'sel' can be declared as pointer to const [constVariablePointer] 2.18.0 sweep-0.9.3/src/view.c:3141:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/view.c:3158:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/view.c:3245:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/view.c:3262:43: style:inconclusive: Function 'view_refresh_offset_indicators' argument 1 names different: declaration 'v' definition 'view'. [funcArgNamesDifferent] sweep-0.9.3/src/view.h:111:43: note: Function 'view_refresh_offset_indicators' argument 1 names different: declaration 'v' definition 'view'. sweep-0.9.3/src/view.c:3262:43: note: Function 'view_refresh_offset_indicators' argument 1 names different: declaration 'v' definition 'view'. 2.18.0 sweep-0.9.3/src/view.c:3346:6: style: Obsolete function 'g_basename' called. It is recommended to use 'g_path_get_basename' instead. [prohibitedg_basenameCalled] 2.18.0 sweep-0.9.3/src/view.c:3367:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/view.c:3400:8: style: Obsolete function 'g_basename' called. It is recommended to use 'g_path_get_basename' instead. [prohibitedg_basenameCalled] 2.18.0 sweep-0.9.3/src/view.c:3448:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/view.c:3450:21: style: Obsolete function 'g_basename' called. It is recommended to use 'g_path_get_basename' instead. [prohibitedg_basenameCalled] 2.18.0 sweep-0.9.3/src/view.c:3463:21: style: Obsolete function 'g_basename' called. It is recommended to use 'g_path_get_basename' instead. [prohibitedg_basenameCalled] 2.18.0 sweep-0.9.3/src/view.c:3532:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/view.c:3600:33: style:inconclusive: Function 'view_refresh_looping' argument 1 names different: declaration 'v' definition 'view'. [funcArgNamesDifferent] sweep-0.9.3/src/view.h:141:33: note: Function 'view_refresh_looping' argument 1 names different: declaration 'v' definition 'view'. sweep-0.9.3/src/view.c:3600:33: note: Function 'view_refresh_looping' argument 1 names different: declaration 'v' definition 'view'. 2.18.0 sweep-0.9.3/src/view.c:3602:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/view.c:3616:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/view.c:3630:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/view.c:3644:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] 2.18.0 sweep-0.9.3/src/view.c:614:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] DONE