2024-03-25 03:04 ftp://ftp.de.debian.org/debian/pool/main/p/parted/parted_3.6.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-101-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.55 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.13.0 head-info: 51f8b53 (2024-03-24 16:07:43 +0100) count: 1168 797 elapsed-time: 574.4 120.3 head-timing-info: old-timing-info: head results: parted-3.6/lib/argmatch.c:165:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parted-3.6/lib/gettext.h:247:16: error: Returning pointer to local variable 'msg_ctxt_id' that will be invalid when returning. [returnDanglingLifetime] parted-3.6/lib/gettext.h:239:15: note: Array decayed to pointer here. parted-3.6/lib/gettext.h:226:8: note: Variable created here. parted-3.6/lib/gettext.h:247:16: note: Returning pointer to local variable 'msg_ctxt_id' that will be invalid when returning. parted-3.6/lib/basename-lgpl.c:59:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] parted-3.6/lib/xalloc.h:29:0: error: #error "Please include config.h first." [preprocessorErrorDirective] parted-3.6/lib/btowc.c:29:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] parted-3.6/lib/c-ctype.h:27:0: error: #error "Please include config.h first." [preprocessorErrorDirective] parted-3.6/lib/calloc.c:41:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] parted-3.6/lib/canonicalize-lgpl.c:441:1: error: There is an unknown macro here somewhere. Configuration is required. If libc_hidden_def is a macro then please configure it. [unknownMacro] parted-3.6/lib/cloexec.c:62:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] parted-3.6/lib/cloexec.c:82:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_DUPFD_CLOEXEC [valueFlowBailoutIncompleteVar] parted-3.6/lib/close-stream.c:69:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] parted-3.6/lib/closeout.c:118:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] parted-3.6/lib/dirname-lgpl.c:38:35: style: Condition 'prefix_length!=0' is always false [knownConditionTrueFalse] parted-3.6/lib/dirname-lgpl.c:34:26: note: Assignment 'prefix_length=((void)(file),0)', assigned value is 0 parted-3.6/lib/dirname-lgpl.c:38:35: note: Condition 'prefix_length!=0' is always false parted-3.6/lib/dup2.c:182:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] parted-3.6/lib/error.c:140:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] parted-3.6/lib/fcntl.c:437:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] parted-3.6/lib/fcntl.c:492:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] parted-3.6/lib/fpending.c:60:0: error: #error "Please port gnulib fpending.c to your platform!" [preprocessorErrorDirective] parted-3.6/lib/free.c:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] parted-3.6/lib/stat-time.h:30:0: error: #error "Please include config.h first." [preprocessorErrorDirective] parted-3.6/lib/fsync.c:85:0: error: #error "This platform lacks fsync function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." [preprocessorErrorDirective] parted-3.6/lib/getdtablesize.c:114:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_NOFILE [valueFlowBailoutIncompleteVar] parted-3.6/lib/getopt.c:278:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parted-3.6/lib/getopt.c:621:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parted-3.6/lib/getopt.c:471:25: style:inconclusive: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] parted-3.6/lib/getopt_int.h:101:36: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. parted-3.6/lib/getopt.c:471:25: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. parted-3.6/lib/getopt.c:471:38: style:inconclusive: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] parted-3.6/lib/getopt_int.h:101:52: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. parted-3.6/lib/getopt.c:471:38: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. parted-3.6/lib/getopt.c:471:56: style:inconclusive: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] parted-3.6/lib/getopt_int.h:102:23: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. parted-3.6/lib/getopt.c:471:56: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. parted-3.6/lib/getopt.c:472:28: style:inconclusive: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] parted-3.6/lib/getopt_int.h:103:32: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. parted-3.6/lib/getopt.c:472:28: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. parted-3.6/lib/getopt.c:472:43: style:inconclusive: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] parted-3.6/lib/getopt_int.h:103:49: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. parted-3.6/lib/getopt.c:472:43: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. parted-3.6/lib/getopt.c:473:11: style:inconclusive: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] parted-3.6/lib/getopt_int.h:104:15: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. parted-3.6/lib/getopt.c:473:11: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. parted-3.6/lib/getopt.c:473:43: style:inconclusive: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] parted-3.6/lib/getopt_int.h:104:49: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. parted-3.6/lib/getopt.c:473:43: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. parted-3.6/lib/getopt.c:473:50: style:inconclusive: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] parted-3.6/lib/getopt_int.h:105:15: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. parted-3.6/lib/getopt.c:473:50: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. parted-3.6/lib/getopt.c:703:23: style:inconclusive: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] parted-3.6/lib/getopt_int.h:25:34: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. parted-3.6/lib/getopt.c:703:23: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. parted-3.6/lib/getopt.c:703:36: style:inconclusive: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] parted-3.6/lib/getopt_int.h:25:50: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. parted-3.6/lib/getopt.c:703:36: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. parted-3.6/lib/getopt.c:703:54: style:inconclusive: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] parted-3.6/lib/getopt_int.h:26:21: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. parted-3.6/lib/getopt.c:703:54: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. parted-3.6/lib/getopt.c:704:26: style:inconclusive: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] parted-3.6/lib/getopt_int.h:27:30: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. parted-3.6/lib/getopt.c:704:26: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. parted-3.6/lib/getopt.c:704:41: style:inconclusive: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] parted-3.6/lib/getopt_int.h:27:47: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. parted-3.6/lib/getopt.c:704:41: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. parted-3.6/lib/getopt.c:704:54: style:inconclusive: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] parted-3.6/lib/getopt_int.h:28:13: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. parted-3.6/lib/getopt.c:704:54: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. parted-3.6/lib/getopt.c:705:9: style:inconclusive: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] parted-3.6/lib/getopt_int.h:28:30: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. parted-3.6/lib/getopt.c:705:9: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. parted-3.6/lib/getopt1.c:36:21: style:inconclusive: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] parted-3.6/lib/getopt_int.h:107:32: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. parted-3.6/lib/getopt1.c:36:21: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. parted-3.6/lib/getopt1.c:36:34: style:inconclusive: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] parted-3.6/lib/getopt_int.h:107:48: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. parted-3.6/lib/getopt1.c:36:34: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. parted-3.6/lib/getopt1.c:36:52: style:inconclusive: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] parted-3.6/lib/getopt_int.h:108:19: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. parted-3.6/lib/getopt1.c:36:52: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. parted-3.6/lib/getopt1.c:37:24: style:inconclusive: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] parted-3.6/lib/getopt_int.h:109:28: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. parted-3.6/lib/getopt1.c:37:24: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. parted-3.6/lib/getopt1.c:37:43: style:inconclusive: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] parted-3.6/lib/getopt_int.h:109:45: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. parted-3.6/lib/getopt1.c:37:43: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. parted-3.6/lib/getopt1.c:38:24: style:inconclusive: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] parted-3.6/lib/getopt_int.h:110:28: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. parted-3.6/lib/getopt1.c:38:24: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. parted-3.6/lib/getopt1.c:59:26: style:inconclusive: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] parted-3.6/lib/getopt_int.h:112:37: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. parted-3.6/lib/getopt1.c:59:26: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. parted-3.6/lib/getopt1.c:59:39: style:inconclusive: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] parted-3.6/lib/getopt_int.h:112:53: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. parted-3.6/lib/getopt1.c:59:39: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. parted-3.6/lib/getopt1.c:59:57: style:inconclusive: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] parted-3.6/lib/getopt_int.h:113:17: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. parted-3.6/lib/getopt1.c:59:57: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. parted-3.6/lib/getopt1.c:60:29: style:inconclusive: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] parted-3.6/lib/getopt_int.h:114:26: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. parted-3.6/lib/getopt1.c:60:29: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. parted-3.6/lib/getopt1.c:60:48: style:inconclusive: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] parted-3.6/lib/getopt_int.h:115:10: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. parted-3.6/lib/getopt1.c:60:48: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. parted-3.6/lib/getopt1.c:61:29: style:inconclusive: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] parted-3.6/lib/getopt_int.h:116:26: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. parted-3.6/lib/getopt1.c:61:29: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. parted-3.6/lib/getprogname.c:289:0: error: #error "getprogname module not ported to this OS" [preprocessorErrorDirective] parted-3.6/lib/getrandom.c:168:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRND_RANDOM [valueFlowBailoutIncompleteVar] parted-3.6/lib/getrandom.c:177:46: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] parted-3.6/lib/hard-locale.c:30:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SETLOCALE_NULL_MAX [valueFlowBailoutIncompleteVar] parted-3.6/lib/ialloc.h:28:0: error: #error "Please include config.h first." [preprocessorErrorDirective] parted-3.6/lib/localcharset.c:1088:14: style: Condition 'locale==NULL' is always true [knownConditionTrueFalse] parted-3.6/lib/localcharset.c:1079:24: note: Assignment 'locale=NULL', assigned value is 0 parted-3.6/lib/localcharset.c:1088:14: note: Condition 'locale==NULL' is always true parted-3.6/lib/localcharset.c:579:14: style: struct member 'table_entry::locale' is never used. [unusedStructMember] parted-3.6/lib/localcharset.c:580:14: style: struct member 'table_entry::canonical' is never used. [unusedStructMember] parted-3.6/lib/localcharset.c:1097:22: style: Variable 'locale' is assigned a value that is never used. [unreadVariable] parted-3.6/lib/long-options.c:56:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opterr [valueFlowBailoutIncompleteVar] parted-3.6/lib/long-options.c:108:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opterr [valueFlowBailoutIncompleteVar] parted-3.6/lib/long-options.c:45:25: style:inconclusive: Function 'parse_long_options' argument 1 names different: declaration '_argc' definition 'argc'. [funcArgNamesDifferent] parted-3.6/lib/long-options.h:23:30: note: Function 'parse_long_options' argument 1 names different: declaration '_argc' definition 'argc'. parted-3.6/lib/long-options.c:45:25: note: Function 'parse_long_options' argument 1 names different: declaration '_argc' definition 'argc'. parted-3.6/lib/long-options.c:46:28: style:inconclusive: Function 'parse_long_options' argument 2 names different: declaration '_argv' definition 'argv'. [funcArgNamesDifferent] parted-3.6/lib/long-options.h:24:33: note: Function 'parse_long_options' argument 2 names different: declaration '_argv' definition 'argv'. parted-3.6/lib/long-options.c:46:28: note: Function 'parse_long_options' argument 2 names different: declaration '_argv' definition 'argv'. parted-3.6/lib/long-options.c:47:33: style:inconclusive: Function 'parse_long_options' argument 3 names different: declaration '_command_name' definition 'command_name'. [funcArgNamesDifferent] parted-3.6/lib/long-options.h:25:38: note: Function 'parse_long_options' argument 3 names different: declaration '_command_name' definition 'command_name'. parted-3.6/lib/long-options.c:47:33: note: Function 'parse_long_options' argument 3 names different: declaration '_command_name' definition 'command_name'. parted-3.6/lib/long-options.c:48:33: style:inconclusive: Function 'parse_long_options' argument 4 names different: declaration '_package' definition 'package'. [funcArgNamesDifferent] parted-3.6/lib/long-options.h:26:38: note: Function 'parse_long_options' argument 4 names different: declaration '_package' definition 'package'. parted-3.6/lib/long-options.c:48:33: note: Function 'parse_long_options' argument 4 names different: declaration '_package' definition 'package'. parted-3.6/lib/long-options.c:49:33: style:inconclusive: Function 'parse_long_options' argument 5 names different: declaration '_version' definition 'version'. [funcArgNamesDifferent] parted-3.6/lib/long-options.h:27:38: note: Function 'parse_long_options' argument 5 names different: declaration '_version' definition 'version'. parted-3.6/lib/long-options.c:49:33: note: Function 'parse_long_options' argument 5 names different: declaration '_version' definition 'version'. parted-3.6/lib/long-options.c:76:11: error: va_list 'authors' was opened but not closed by va_end(). [va_end_missing] parted-3.6/lib/long-options.c:129:11: error: va_list 'authors' was opened but not closed by va_end(). [va_end_missing] parted-3.6/lib/lseek.c:80:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] parted-3.6/lib/malloc.c:37:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] parted-3.6/lib/malloc/dynarray-skeleton.c:95:0: error: #error "DYNARRAY_STRUCT must be defined" [preprocessorErrorDirective] parted-3.6/lib/malloc/dynarray_emplace_enlarge.c:53:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] parted-3.6/lib/malloc/dynarray_emplace_enlarge.c:31:40: style: Parameter 'scratch' can be declared as pointer to const. However it seems that '__libc_dynarray_emplace_enlarge' is a callback function, if 'scratch' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/lib/malloc/dynarray_emplace_enlarge.c:77:18: note: You might need to cast the function pointer here parted-3.6/lib/malloc/dynarray_emplace_enlarge.c:31:40: note: Parameter 'scratch' can be declared as pointer to const parted-3.6/lib/malloc/dynarray_finalize.c:59:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable array [valueFlowBailoutIncompleteVar] parted-3.6/lib/malloc/dynarray_finalize.c:29:33: style: Parameter 'scratch' can be declared as pointer to const. However it seems that '__libc_dynarray_finalize' is a callback function, if 'scratch' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/lib/malloc/dynarray_finalize.c:66:18: note: You might need to cast the function pointer here parted-3.6/lib/malloc/dynarray_finalize.c:29:33: note: Parameter 'scratch' can be declared as pointer to const parted-3.6/lib/malloc/dynarray_resize.c:48:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] parted-3.6/lib/malloc/dynarray_resize.c:31:31: style: Parameter 'scratch' can be declared as pointer to const. However it seems that '__libc_dynarray_resize' is a callback function, if 'scratch' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/lib/malloc/dynarray_resize.c:68:18: note: You might need to cast the function pointer here parted-3.6/lib/malloc/dynarray_resize.c:31:31: note: Parameter 'scratch' can be declared as pointer to const parted-3.6/lib/malloc/scratch_buffer_grow.c:40:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] parted-3.6/lib/malloc/scratch_buffer_grow_preserve.c:49:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] parted-3.6/lib/malloc/scratch_buffer_set_array_size.c:41:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] parted-3.6/lib/mbtowc-impl.h:37:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] parted-3.6/lib/mkdir.c:63:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] parted-3.6/lib/nl_langinfo.c:77:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SETLOCALE_NULL_MAX [valueFlowBailoutIncompleteVar] parted-3.6/lib/nl_langinfo.c:377:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable decimal_point [valueFlowBailoutIncompleteVar] parted-3.6/lib/open.c:72:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] parted-3.6/lib/progname.c:55:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parted-3.6/lib/rawmemchr.c:37:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTPTR_WIDTH [valueFlowBailoutIncompleteVar] parted-3.6/lib/rawmemchr.c:109:16: style: Variable 's' is reassigned a value before the old one has been used. [redundantAssignment] parted-3.6/lib/rawmemchr.c:50:36: note: s is assigned parted-3.6/lib/rawmemchr.c:109:16: note: s is overwritten parted-3.6/lib/rawmemchr.c:109:16: style: Variable 's' is assigned a value that is never used. [unreadVariable] parted-3.6/lib/readlink.c:41:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] parted-3.6/lib/realloc.c:49:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] parted-3.6/lib/reallocarray.c:32:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] parted-3.6/lib/regcomp.c:125:5: error: There is an unknown macro here somewhere. Configuration is required. If gettext_noop is a macro then please configure it. [unknownMacro] parted-3.6/lib/regcomp.c:490:1: error: There is an unknown macro here somewhere. Configuration is required. If libc_hidden_def is a macro then please configure it. [unknownMacro] parted-3.6/lib/regex_internal.c:60:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] parted-3.6/lib/regex_internal.c:79:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_string_t [valueFlowBailoutIncompleteVar] parted-3.6/lib/regex_internal.c:141:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] parted-3.6/lib/regex_internal.c:261:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] parted-3.6/lib/regex_internal.c:337:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] parted-3.6/lib/regex_internal.c:494:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] parted-3.6/lib/regex_internal.c:586:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] parted-3.6/lib/regex_internal.c:902:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTEOL [valueFlowBailoutIncompleteVar] parted-3.6/lib/regex_internal.c:939:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] parted-3.6/lib/regex_internal.c:952:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] parted-3.6/lib/regex_internal.c:967:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] parted-3.6/lib/regex_internal.c:1000:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] parted-3.6/lib/regex_internal.c:1024:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] parted-3.6/lib/regex_internal.c:1117:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] parted-3.6/lib/regex_internal.c:1167:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] parted-3.6/lib/regex_internal.c:1255:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] parted-3.6/lib/regex_internal.c:1312:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] parted-3.6/lib/regex_internal.c:1388:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_token_t [valueFlowBailoutIncompleteVar] parted-3.6/lib/regex_internal.c:1461:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] parted-3.6/lib/regex_internal.c:1509:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] parted-3.6/lib/regex_internal.c:1546:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] parted-3.6/lib/regex_internal.c:1599:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_dfastate_t [valueFlowBailoutIncompleteVar] parted-3.6/lib/regex_internal.c:1647:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_dfastate_t [valueFlowBailoutIncompleteVar] parted-3.6/lib/regex_internal.c:1612:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] parted-3.6/lib/regex_internal.c:1662:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] parted-3.6/lib/regexec.c:194:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:413:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regmatch_t [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:457:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGS_REALLOCATE [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:537:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGS_REALLOCATE [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:609:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOMATCH [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:909:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:1042:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:1164:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:1205:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:1315:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_fail_stack_ent_t [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:1342:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:1381:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_fail_stack_ent_t [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:1465:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eps_via_nodes [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:1477:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:1557:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:1605:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable non_eps_nodes [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:1668:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:1695:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodes [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:1714:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:1760:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:1798:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:1846:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:1880:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:1994:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:2076:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:2172:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodes [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:2203:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:2279:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:2371:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:2442:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable accept_mb [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:2511:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_BACK_REF [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:2620:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:2768:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_OPEN_SUBEXP [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:2815:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:2982:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:3059:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:3110:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:3156:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:3244:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SBC_MAX [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:3444:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARACTER [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:3619:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_UTF8_PERIOD [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:3918:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASCII_CHARS [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:3956:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:4018:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_backref_cache_entry [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:4094:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_backref_cache_entry [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:4143:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable str_idx [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:4170:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:4201:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_sub_match_last_t [valueFlowBailoutIncompleteVar] parted-3.6/lib/regexec.c:1950:27: style:inconclusive: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. [funcArgNamesDifferent] parted-3.6/lib/regexec.c:94:15: note: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. parted-3.6/lib/regexec.c:1950:27: note: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. parted-3.6/lib/regexec.c:3425:21: style:inconclusive: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. [funcArgNamesDifferent] parted-3.6/lib/regexec.c:163:25: note: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. parted-3.6/lib/regexec.c:3425:21: note: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. parted-3.6/lib/regexec.c:3425:43: style:inconclusive: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. [funcArgNamesDifferent] parted-3.6/lib/regexec.c:164:22: note: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. parted-3.6/lib/regexec.c:3425:43: note: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. parted-3.6/lib/regexec.c:3613:35: style:inconclusive: Function 'check_node_accept_bytes' argument 4 names different: declaration 'idx' definition 'str_idx'. [funcArgNamesDifferent] parted-3.6/lib/regexec.c:156:39: note: Function 'check_node_accept_bytes' argument 4 names different: declaration 'idx' definition 'str_idx'. parted-3.6/lib/regexec.c:3613:35: note: Function 'check_node_accept_bytes' argument 4 names different: declaration 'idx' definition 'str_idx'. parted-3.6/lib/regexec.c:4010:37: style:inconclusive: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] parted-3.6/lib/regexec.c:20:58: note: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. parted-3.6/lib/regexec.c:4010:37: note: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. parted-3.6/lib/regexec.c:4073:37: style:inconclusive: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] parted-3.6/lib/regexec.c:23:49: note: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. parted-3.6/lib/regexec.c:4073:37: note: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. parted-3.6/lib/regexec.c:4088:42: style:inconclusive: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] parted-3.6/lib/regexec.c:24:63: note: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. parted-3.6/lib/regexec.c:4088:42: note: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. parted-3.6/lib/regexec.c:798:20: style: Variable 'pstate' can be declared as pointer to const [constVariablePointer] parted-3.6/lib/regexec.c:1307:27: style: Parameter 'regs' can be declared as pointer to const [constParameterPointer] parted-3.6/lib/regexec.c:1307:45: style: Parameter 'prevregs' can be declared as pointer to const [constParameterPointer] parted-3.6/lib/regexec.c:1844:38: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] parted-3.6/lib/regexec.c:1953:34: style: Variable 'lim' can be declared as pointer to const [constVariablePointer] parted-3.6/lib/regexec.c:1988:38: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] parted-3.6/lib/regexec.c:2084:38: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] parted-3.6/lib/regexec.c:2536:35: style: Variable 'bkref_ent' can be declared as pointer to const [constVariablePointer] parted-3.6/lib/safe-read.c:66:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] parted-3.6/lib/setlocale_null.c:150:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] parted-3.6/lib/setlocale_null.c:317:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] parted-3.6/lib/sleep.c:72:0: error: #error "Please port gnulib sleep.c to your platform, possibly using usleep() or select(), then report this to bug-gnulib." [preprocessorErrorDirective] parted-3.6/lib/strerror.c:59:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] parted-3.6/lib/strerror.c:44:7: style: Condition 'msg' is always false [knownConditionTrueFalse] parted-3.6/lib/strerror.c:43:21: note: Assignment 'msg=NULL', assigned value is 0 parted-3.6/lib/strerror.c:44:7: note: Condition 'msg' is always false parted-3.6/lib/strtol.c:257:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] parted-3.6/lib/strtol.c:329:13: warning: Either the condition 's==end' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] parted-3.6/lib/strtol.c:322:11: note: Assignment 'end=NULL', assigned value is 0 parted-3.6/lib/strtol.c:331:13: note: Assuming that condition 's==end' is not redundant parted-3.6/lib/strtol.c:303:10: note: Assignment 'save=s', assigned value is 0 parted-3.6/lib/strtol.c:303:8: note: save is assigned 's' here. parted-3.6/lib/strtol.c:329:13: note: Null pointer dereference parted-3.6/lib/tempname.c:96:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRND_NONBLOCK [valueFlowBailoutIncompleteVar] parted-3.6/lib/tempname.c:130:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_ACCMODE [valueFlowBailoutIncompleteVar] parted-3.6/lib/tempname.c:137:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] parted-3.6/lib/tempname.c:145:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] parted-3.6/lib/tempname.c:179:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable try_nocreate [valueFlowBailoutIncompleteVar] parted-3.6/lib/tempname.c:196:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] parted-3.6/lib/tempname.c:247:17: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] parted-3.6/lib/tempname.c:126:17: style: Parameter 'tmpl' can be declared as pointer to const. However it seems that 'try_file' is a callback function, if 'tmpl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/lib/tempname.c:177:21: note: You might need to cast the function pointer here parted-3.6/lib/tempname.c:126:17: note: Parameter 'tmpl' can be declared as pointer to const parted-3.6/lib/tempname.c:128:8: style: Variable 'openflags' can be declared as pointer to const [constVariablePointer] parted-3.6/lib/tempname.c:135:16: style: Parameter 'tmpl' can be declared as pointer to const. However it seems that 'try_dir' is a callback function, if 'tmpl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/lib/tempname.c:178:20: note: You might need to cast the function pointer here parted-3.6/lib/tempname.c:135:16: note: Parameter 'tmpl' can be declared as pointer to const parted-3.6/lib/tempname.c:135:39: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'try_dir' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/lib/tempname.c:178:20: note: You might need to cast the function pointer here parted-3.6/lib/tempname.c:135:39: note: Parameter 'flags' can be declared as pointer to const parted-3.6/lib/tempname.c:141:21: style: Parameter 'tmpl' can be declared as pointer to const [constParameterPointer] parted-3.6/lib/unlink.c:66:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] parted-3.6/lib/usleep.c:64:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] parted-3.6/lib/usleep.c:62:56: style: The comparison 'micro/1000000 != seconds' is always false because 'micro/1000000' and 'seconds' represent the same value. [knownConditionTrueFalse] parted-3.6/lib/usleep.c:61:32: note: 'seconds' is assigned value 'micro/1000000' here. parted-3.6/lib/usleep.c:62:56: note: The comparison 'micro/1000000 != seconds' is always false because 'micro/1000000' and 'seconds' represent the same value. parted-3.6/lib/version-etc.c:258:57: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE is a macro then please configure it. [unknownMacro] parted-3.6/lib/wcrtomb.c:35:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] parted-3.6/lib/wcrtomb.c:28:42: style: Parameter 'ps' can be declared as pointer to const [constParameterPointer] parted-3.6/lib/windows-mutex.c:70:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] parted-3.6/lib/windows-mutex.c:82:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] parted-3.6/lib/windows-mutex.c:91:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] parted-3.6/lib/windows-recmutex.c:64:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] parted-3.6/lib/windows-recmutex.c:84:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] parted-3.6/lib/windows-recmutex.c:108:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPERM [valueFlowBailoutIncompleteVar] parted-3.6/lib/windows-recmutex.c:123:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] parted-3.6/lib/windows-rwlock.c:56:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HANDLE [valueFlowBailoutIncompleteVar] parted-3.6/lib/windows-rwlock.c:161:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] parted-3.6/lib/windows-rwlock.c:218:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] parted-3.6/lib/windows-rwlock.c:279:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] parted-3.6/lib/windows-rwlock.c:312:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] parted-3.6/lib/windows-rwlock.c:323:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] parted-3.6/lib/windows-rwlock.c:367:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] parted-3.6/lib/xstrtol.c:89:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] parted-3.6/lib/xstrtol.c:54:7: style: Comparing expression of type 'signed int' against value -9223372036854775808. Condition is always true. [compareValueOutOfTypeRangeError] parted-3.6/lib/xstrtol.c:54:7: style: Comparing expression of type 'signed int' against value -2147483648. Condition is always false. [compareValueOutOfTypeRangeError] parted-3.6/lib/xstrtol.c:54:7: style: Comparing expression of type 'signed int' against value 2147483647. Condition is always false. [compareValueOutOfTypeRangeError] parted-3.6/lib/xstrtol.c:54:7: style: Checking if unsigned expression '(1?0:((1?0:(scale_factor))-9223372036854775808))-1' is less than zero. [unsignedLessThanZero] parted-3.6/lib/xstrtol.c:54:7: style: Checking if unsigned expression '(((1?0:((1?0:(scale_factor))-9223372036854775808))-1)<0)?~(((((1?0:((1?0:(scale_factor))-9223372036854775808))+1)<<((sizeof((1?0:(scale_factor))-9223372036854775808)*8)-2))-1)*2+1):((1?0:((1?0:(scale_factor))-9223372036854775808))+0)' is less than zero. [unsignedLessThanZero] parted-3.6/lib/xstrtol.c:54:7: style: Checking if unsigned expression '(1?0:((1?0:(*x))-9223372036854775808))-1' is less than zero. [unsignedLessThanZero] parted-3.6/lib/xstrtol.c:54:7: style: Checking if unsigned expression '(((1?0:((1?0:(*x))-9223372036854775808))-1)<0)?~(((((1?0:((1?0:(*x))-9223372036854775808))+1)<<((sizeof((1?0:(*x))-9223372036854775808)*8)-2))-1)*2+1):((1?0:((1?0:(*x))-9223372036854775808))+0)' is less than zero. [unsignedLessThanZero] parted-3.6/lib/xstrtol.c:54:7: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] parted-3.6/lib/xstrtol.c:54:7: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] parted-3.6/lib/xstrtol.c:54:7: warning: Expression '*x' can have a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversionCond] parted-3.6/lib/xstrtol.c:54:7: note: Assuming that condition '(*x)<0' is not redundant parted-3.6/lib/xstrtol.c:54:7: note: Negative value is converted to an unsigned value parted-3.6/lib/xstrtol.c:54:7: style: Checking if unsigned expression '*x' is less than zero. [unsignedLessThanZero] parted-3.6/lib/xstrtol.c:54:7: style: Checking if unsigned expression '(1?0:(*x))-1' is less than zero. [unsignedLessThanZero] parted-3.6/lib/xstrtol.c:54:7: style: Checking if unsigned expression '(1?0:((1?0:(*x))-128))-1' is less than zero. [unsignedLessThanZero] parted-3.6/lib/xstrtol.c:54:7: style: Checking if unsigned expression '(((1?0:((1?0:(*x))-128))-1)<0)?~(((((1?0:((1?0:(*x))-128))+1)<<((sizeof((1?0:(*x))-128)*8)-2))-1)*2+1):((1?0:((1?0:(*x))-128))+0)' is less than zero. [unsignedLessThanZero] parted-3.6/lib/xstrtol.c:54:7: style: Checking if unsigned expression '(1?0:((1?0:(*x))+0))-1' is less than zero. [unsignedLessThanZero] parted-3.6/lib/xstrtol.c:54:7: style: Checking if unsigned expression '(((1?0:((1?0:(*x))+0))-1)<0)?~(((((1?0:((1?0:(*x))+0))+1)<<((sizeof((1?0:(*x))+0)*8)-2))-1)*2+1):((1?0:((1?0:(*x))+0))+0)' is less than zero. [unsignedLessThanZero] parted-3.6/lib/xstrtol.c:54:7: style: Checking if unsigned expression '*(&scaled)=((char)((unsigned int)(*x)*(unsigned int)(scale_factor)))' is less than zero. [unsignedLessThanZero] parted-3.6/lib/xstrtol.c:54:7: style: Unsigned expression '*(&scaled)=((char)((unsigned int)(*x)*(unsigned int)(scale_factor)))' can't be negative so it is unnecessary to test it. [unsignedPositive] parted-3.6/lib/xstrtol.c:54:7: style: Checking if unsigned expression '(1?0:((1?0:(*x))-32768))-1' is less than zero. [unsignedLessThanZero] parted-3.6/lib/xstrtol.c:54:7: style: Checking if unsigned expression '(((1?0:((1?0:(*x))-32768))-1)<0)?~(((((1?0:((1?0:(*x))-32768))+1)<<((sizeof((1?0:(*x))-32768)*8)-2))-1)*2+1):((1?0:((1?0:(*x))-32768))+0)' is less than zero. [unsignedLessThanZero] parted-3.6/lib/xstrtol.c:54:7: style: Checking if unsigned expression '*(&scaled)=((short)((unsigned int)(*x)*(unsigned int)(scale_factor)))' is less than zero. [unsignedLessThanZero] parted-3.6/lib/xstrtol.c:54:7: style: Unsigned expression '*(&scaled)=((short)((unsigned int)(*x)*(unsigned int)(scale_factor)))' can't be negative so it is unnecessary to test it. [unsignedPositive] parted-3.6/lib/xstrtol.c:54:7: style: Checking if unsigned expression '(1?0:(*(&scaled)))-1' is less than zero. [unsignedLessThanZero] parted-3.6/lib/xstrtol.c:54:7: style: Checking if unsigned expression '(1?0:((1?0:(*x))-2147483648))-1' is less than zero. [unsignedLessThanZero] parted-3.6/lib/xstrtol.c:54:7: style: Checking if unsigned expression '(((1?0:((1?0:(*x))-2147483648))-1)<0)?~(((((1?0:((1?0:(*x))-2147483648))+1)<<((sizeof((1?0:(*x))-2147483648)*8)-2))-1)*2+1):((1?0:((1?0:(*x))-2147483648))+0)' is less than zero. [unsignedLessThanZero] parted-3.6/lib/xstrtol.c:56:15: style: Checking if unsigned expression '*x' is less than zero. [unsignedLessThanZero] parted-3.6/lib/xstrtol.c:54:7: warning: Expression '-128' has a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] parted-3.6/lib/xstrtol.c:54:7: warning: Expression '-32768' has a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] parted-3.6/lib/xstrtol.c:54:7: warning: Expression '-2147483648' has a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] parted-3.6/lib/xstrtol.c:54:7: warning: Expression 'scale_factor' can have a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversionCond] parted-3.6/lib/xstrtol.c:54:7: note: Assuming that condition '(scale_factor)<0' is not redundant parted-3.6/lib/xstrtol.c:54:7: note: Negative value is converted to an unsigned value parted-3.6/libparted/arch/beos.c:61:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/beos.c:99:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/beos.c:115:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/beos.c:177:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/beos.c:237:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/beos.c:279:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PedDevice [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/beos.c:338:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/beos.c:408:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/beos.c:482:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/beos.c:74:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] parted-3.6/libparted/arch/beos.c:101:9: warning: Either the condition '(fd=open(dev->path,O_RDONLY))<0' is redundant or ioctl() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] parted-3.6/libparted/arch/beos.c:99:37: note: Assuming that condition '(fd=open(dev->path,O_RDONLY))<0' is not redundant parted-3.6/libparted/arch/beos.c:101:9: note: Invalid argument parted-3.6/libparted/arch/beos.c:102:9: warning: Either the condition '(fd=open(dev->path,O_RDONLY))<0' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] parted-3.6/libparted/arch/beos.c:99:37: note: Assuming that condition '(fd=open(dev->path,O_RDONLY))<0' is not redundant parted-3.6/libparted/arch/beos.c:102:9: note: Invalid argument parted-3.6/libparted/arch/beos.c:62:12: style: Variable 'entp' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/arch/beos.c:96:25: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/arch/beos.c:231:48: style: Parameter 'dev_statp' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/arch/beos.c:327:26: style: Parameter 'dev' can be declared as pointer to const. However it seems that 'beos_is_busy' is a callback function, if 'dev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/libparted/arch/beos.c:627:25: note: You might need to cast the function pointer here parted-3.6/libparted/arch/beos.c:327:26: note: Parameter 'dev' can be declared as pointer to const parted-3.6/libparted/arch/beos.c:373:31: style: Parameter 'dev' can be declared as pointer to const. However it seems that 'beos_refresh_open' is a callback function, if 'dev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/libparted/arch/beos.c:629:25: note: You might need to cast the function pointer here parted-3.6/libparted/arch/beos.c:373:31: note: Parameter 'dev' can be declared as pointer to const parted-3.6/libparted/arch/beos.c:381:16: style: Variable 'arch_specific' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/arch/beos.c:403:16: style: Variable 'arch_specific' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/arch/beos.c:477:16: style: Variable 'arch_specific' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/arch/beos.c:565:16: style: Variable 'arch_specific' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/arch/beos.c:587:23: style: Parameter 'dev' can be declared as pointer to const. However it seems that 'beos_sync' is a callback function, if 'dev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/libparted/arch/beos.c:635:25: note: You might need to cast the function pointer here parted-3.6/libparted/arch/beos.c:587:23: note: Parameter 'dev' can be declared as pointer to const parted-3.6/libparted/arch/beos.c:593:28: style: Parameter 'dev' can be declared as pointer to const. However it seems that 'beos_sync_fast' is a callback function, if 'dev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/libparted/arch/beos.c:636:25: note: You might need to cast the function pointer here parted-3.6/libparted/arch/beos.c:593:28: note: Parameter 'dev' can be declared as pointer to const parted-3.6/libparted/arch/beos.c:619:28: style: Parameter 'disk' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/arch/beos.c:446:11: portability: 'buffer' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] parted-3.6/libparted/arch/beos.c:535:11: portability: 'buffer' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] parted-3.6/libparted/arch/beos.c:274:14: style: Unused variable: stat_info [unusedVariable] parted-3.6/libparted/arch/gnu.c:63:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/gnu.c:73:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/gnu.c:94:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/gnu.c:175:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PedDevice [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/gnu.c:239:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/gnu.c:351:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_RETRY [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/gnu.c:394:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STORE_READONLY [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/gnu.c:429:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DEVICE_FILE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/gnu.c:456:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/gnu.c:545:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/gnu.c:813:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/gnu.c:251:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] parted-3.6/libparted/arch/gnu.c:197:1: style: Label 'error_free_arch_specific' is not used. [unusedLabel] parted-3.6/libparted/arch/gnu.c:405:25: style: Parameter 'dev' can be declared as pointer to const. However it seems that 'gnu_is_busy' is a callback function, if 'dev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/libparted/arch/gnu.c:908:11: note: You might need to cast the function pointer here parted-3.6/libparted/arch/gnu.c:405:25: note: Parameter 'dev' can be declared as pointer to const parted-3.6/libparted/arch/gnu.c:411:22: style: Parameter 'dev' can be declared as pointer to const. However it seems that 'gnu_open' is a callback function, if 'dev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/libparted/arch/gnu.c:909:9: note: You might need to cast the function pointer here parted-3.6/libparted/arch/gnu.c:411:22: note: Parameter 'dev' can be declared as pointer to const parted-3.6/libparted/arch/gnu.c:417:30: style: Parameter 'dev' can be declared as pointer to const. However it seems that 'gnu_refresh_open' is a callback function, if 'dev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/libparted/arch/gnu.c:910:16: note: You might need to cast the function pointer here parted-3.6/libparted/arch/gnu.c:417:30: note: Parameter 'dev' can be declared as pointer to const parted-3.6/libparted/arch/gnu.c:425:15: style: Variable 'arch_specific' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/arch/gnu.c:783:23: style: Parameter 'dev' can be declared as pointer to const. However it seems that 'gnu_check' is a callback function, if 'dev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/libparted/arch/gnu.c:915:10: note: You might need to cast the function pointer here parted-3.6/libparted/arch/gnu.c:783:23: note: Parameter 'dev' can be declared as pointer to const parted-3.6/libparted/arch/gnu.c:783:34: style: Parameter 'buffer' can be declared as pointer to const. However it seems that 'gnu_check' is a callback function, if 'buffer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/libparted/arch/gnu.c:915:10: note: You might need to cast the function pointer here parted-3.6/libparted/arch/gnu.c:783:34: note: Parameter 'buffer' can be declared as pointer to const parted-3.6/libparted/arch/gnu.c:515:23: portability: 'user_buffer' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] parted-3.6/libparted/arch/gnu.c:515:35: portability: 'user_buffer+have_read' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] parted-3.6/libparted/arch/gnu.c:517:4: portability: 'store_read_buffer' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] parted-3.6/libparted/arch/gnu.c:619:16: portability: 'temp' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] parted-3.6/libparted/arch/gnu.c:657:10: portability: 'buffer' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] parted-3.6/libparted/arch/gnu.c:697:10: portability: 'buffer' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] parted-3.6/libparted/arch/gnu.c:61:27: style: Variable 'store_block_size' is assigned a value that is never used. [unreadVariable] parted-3.6/libparted/arch/gnu.c:173:15: style: Unused variable: arch_specific [unusedVariable] parted-3.6/libparted/arch/gnu.c:425:29: style: Variable 'arch_specific' is assigned a value that is never used. [unreadVariable] parted-3.6/libparted/arch/gnu.c:485:10: style: Unused variable: offset [unusedVariable] parted-3.6/libparted/arch/gnu.c:786:13: style: Variable 'done' is assigned a value that is never used. [unreadVariable] parted-3.6/libparted/arch/gnu.c:785:8: style: Unused variable: status [unusedVariable] parted-3.6/libparted/arch/linux.c:323:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:360:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:635:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:654:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DEVICE_FILE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:760:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:838:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:896:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:956:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:1115:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INQUIRY [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:1167:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCSI_IOCTL_GET_IDLUN [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:1219:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:1368:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:1440:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PedDevice [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:1667:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DEVICE_RAM [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:1703:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:1712:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:1724:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:1774:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:1829:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:1869:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:1889:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:2001:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:2021:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:2137:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:2169:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:2463:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DEVICE_DAC960 [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:2555:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:2572:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blkpg_partition [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:2586:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:2645:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLKPG_DEL_PARTITION [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:2779:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:2827:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DEVICE_DM [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:3160:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:3257:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DEVICE_FILE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/arch/linux.c:1838:24: style: Obsolescent function 'llseek' called. It is recommended to use 'lseek64' instead. [prohibitedllseekCalled] parted-3.6/libparted/arch/linux.c:2336:19: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] parted-3.6/libparted/arch/linux.c:3163:25: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] parted-3.6/libparted/arch/linux.c:929:33: style: Condition 'isspace(str[i])' is always true [knownConditionTrueFalse] parted-3.6/libparted/arch/linux.c:2604:47: style: Condition 'linux_part.length==1' is always true [knownConditionTrueFalse] parted-3.6/libparted/arch/linux.c:2602:37: note: Assignment 'linux_part.length=1', assigned value is 1 parted-3.6/libparted/arch/linux.c:2604:47: note: Condition 'linux_part.length==1' is always true parted-3.6/libparted/arch/linux.c:3189:38: style: Condition 'start==part->geom.start' is always true [knownConditionTrueFalse] parted-3.6/libparted/arch/linux.c:3181:30: note: Assuming that condition 'start==part->geom.start' is not redundant parted-3.6/libparted/arch/linux.c:3183:36: note: Assuming condition is false parted-3.6/libparted/arch/linux.c:3189:38: note: Condition 'start==part->geom.start' is always true parted-3.6/libparted/arch/linux.c:2498:21: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] parted-3.6/libparted/arch/linux.c:2792:12: style: Variable 'ok' is reassigned a value before the old one has been used. [redundantAssignment] parted-3.6/libparted/arch/linux.c:2783:28: note: ok is assigned parted-3.6/libparted/arch/linux.c:2792:12: note: ok is overwritten parted-3.6/libparted/arch/linux.c:355:15: style: Variable 'line' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/arch/linux.c:1220:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/arch/linux.c:1629:27: style: Parameter 'dev' can be declared as pointer to const. However it seems that 'linux_is_busy' is a callback function, if 'dev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/libparted/arch/linux.c:3384:25: note: You might need to cast the function pointer here parted-3.6/libparted/arch/linux.c:1629:27: note: Parameter 'dev' can be declared as pointer to const parted-3.6/libparted/arch/linux.c:1663:25: style: Variable 'arch_specific' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/arch/linux.c:1758:32: style: Parameter 'dev' can be declared as pointer to const. However it seems that 'linux_refresh_open' is a callback function, if 'dev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/libparted/arch/linux.c:3386:25: note: You might need to cast the function pointer here parted-3.6/libparted/arch/linux.c:1758:32: note: Parameter 'dev' can be declared as pointer to const parted-3.6/libparted/arch/linux.c:1766:33: style: Variable 'arch_specific' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/arch/linux.c:1827:25: style: Variable 'arch_specific' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/arch/linux.c:1884:33: style: Variable 'arch_specific' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/arch/linux.c:2016:33: style: Variable 'arch_specific' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/arch/linux.c:2127:25: style: Variable 'arch_specific' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/arch/linux.c:2157:33: style: Variable 'arch_specific' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/arch/linux.c:2330:17: style: Variable 'dirent' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/arch/linux.c:100:13: style: struct member 'ata7_sectinfo::rsv' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:106:25: style: struct member 'hd_driveid::config' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:107:25: style: struct member 'hd_driveid::cyls' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:108:25: style: struct member 'hd_driveid::reserved2' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:110:25: style: struct member 'hd_driveid::track_bytes' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:111:25: style: struct member 'hd_driveid::sector_bytes' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:113:25: style: struct member 'hd_driveid::vendor0' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:114:25: style: struct member 'hd_driveid::vendor1' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:115:25: style: struct member 'hd_driveid::vendor2' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:116:25: style: struct member 'hd_driveid::serial_no' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:117:25: style: struct member 'hd_driveid::buf_type' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:118:25: style: struct member 'hd_driveid::buf_size' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:120:25: style: struct member 'hd_driveid::ecc_bytes' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:122:25: style: struct member 'hd_driveid::fw_rev' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:124:25: style: struct member 'hd_driveid::max_multsect' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:125:25: style: struct member 'hd_driveid::vendor3' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:126:25: style: struct member 'hd_driveid::dword_io' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:127:25: style: struct member 'hd_driveid::vendor4' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:128:25: style: struct member 'hd_driveid::capability' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:130:25: style: struct member 'hd_driveid::reserved50' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:131:25: style: struct member 'hd_driveid::vendor5' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:132:25: style: struct member 'hd_driveid::tPIO' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:133:25: style: struct member 'hd_driveid::vendor6' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:134:25: style: struct member 'hd_driveid::tDMA' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:135:25: style: struct member 'hd_driveid::field_valid' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:136:25: style: struct member 'hd_driveid::cur_cyls' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:137:25: style: struct member 'hd_driveid::cur_heads' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:138:25: style: struct member 'hd_driveid::cur_sectors' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:139:25: style: struct member 'hd_driveid::cur_capacity0' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:140:25: style: struct member 'hd_driveid::cur_capacity1' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:141:25: style: struct member 'hd_driveid::multsect' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:142:25: style: struct member 'hd_driveid::multsect_valid' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:143:25: style: struct member 'hd_driveid::lba_capacity' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:144:25: style: struct member 'hd_driveid::dma_1word' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:145:25: style: struct member 'hd_driveid::dma_mword' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:146:25: style: struct member 'hd_driveid::eide_pio_modes' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:147:25: style: struct member 'hd_driveid::eide_dma_min' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:148:25: style: struct member 'hd_driveid::eide_dma_time' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:150:25: style: struct member 'hd_driveid::eide_pio' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:151:25: style: struct member 'hd_driveid::eide_pio_iordy' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:152:25: style: struct member 'hd_driveid::words69_70' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:154:25: style: struct member 'hd_driveid::words71_74' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:155:25: style: struct member 'hd_driveid::queue_depth' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:156:25: style: struct member 'hd_driveid::words76_79' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:157:25: style: struct member 'hd_driveid::major_rev_num' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:158:25: style: struct member 'hd_driveid::minor_rev_num' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:159:25: style: struct member 'hd_driveid::command_set_1' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:161:25: style: struct member 'hd_driveid::command_set_2' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:162:25: style: struct member 'hd_driveid::cfsse' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:164:25: style: struct member 'hd_driveid::cfs_enable_1' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:165:25: style: struct member 'hd_driveid::cfs_enable_2' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:166:25: style: struct member 'hd_driveid::csf_default' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:167:25: style: struct member 'hd_driveid::dma_ultra' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:168:25: style: struct member 'hd_driveid::word89' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:169:25: style: struct member 'hd_driveid::word90' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:170:25: style: struct member 'hd_driveid::CurAPMvalues' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:171:25: style: struct member 'hd_driveid::word92' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:172:25: style: struct member 'hd_driveid::hw_config' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:173:25: style: struct member 'hd_driveid::words94_105' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:176:25: style: struct member 'hd_driveid::words107_116' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:177:25: style: struct member 'hd_driveid::logical_sectsize' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:178:25: style: struct member 'hd_driveid::words119_125' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:179:25: style: struct member 'hd_driveid::last_lun' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:180:25: style: struct member 'hd_driveid::word127' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:181:25: style: struct member 'hd_driveid::dlf' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:192:25: style: struct member 'hd_driveid::csfo' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:199:25: style: struct member 'hd_driveid::words130_155' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:200:25: style: struct member 'hd_driveid::word156' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:201:25: style: struct member 'hd_driveid::words157_159' is never used. [unusedStructMember] parted-3.6/libparted/arch/linux.c:202:25: style: struct member 'hd_driveid::words160_255' is never used. [unusedStructMember] parted-3.6/libparted/cs/constraint.c:102:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PedConstraint [valueFlowBailoutIncompleteVar] parted-3.6/libparted/cs/constraint.c:105:6: style: Condition '!ped_constraint_init(constraint,start_align,end_align,start_range,end_range,min_size,max_size)' is always false [knownConditionTrueFalse] parted-3.6/libparted/cs/constraint.c:105:27: note: Calling function 'ped_constraint_init' returns 1 parted-3.6/libparted/cs/constraint.c:105:6: note: Condition '!ped_constraint_init(constraint,start_align,end_align,start_range,end_range,min_size,max_size)' is always false parted-3.6/libparted/cs/geom.c:80:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PedGeometry [valueFlowBailoutIncompleteVar] parted-3.6/libparted/cs/geom.c:383:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/cs/geom.c:407:34: style: Parameter 'geom' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/cs/natmath.c:153:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PedAlignment [valueFlowBailoutIncompleteVar] parted-3.6/libparted/device.c:555:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DEFAULT_ALIGNMENT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/device.c:67:32: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/device.c:111:13: style: Variable 'dev' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/disk.c:154:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:401:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PedDisk [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:641:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:677:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:733:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ped_alignment_any [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:886:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DISK_LAST_FLAG [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:893:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DISK_TYPE_DISK_UUID [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:1025:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_METADATA [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:1055:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_FREESPACE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:1084:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_FREESPACE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:1228:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PedPartition [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:1312:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DISK_TYPE_EXTENDED [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:1370:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_FREESPACE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:1481:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DISK_TYPE_PARTITION_NAME [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:1496:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DISK_TYPE_PARTITION_TYPE_ID [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:1511:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DISK_TYPE_PARTITION_TYPE_UUID [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:1526:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DISK_TYPE_PARTITION_UUID [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:1695:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:1717:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:1771:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_FREESPACE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:1793:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:1837:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:1874:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:1902:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:1937:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:1984:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DISK_TYPE_EXTENDED [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:2061:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:2141:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:2218:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:2370:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:2519:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_METADATA [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:2608:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LAST_FLAG [valueFlowBailoutIncompleteVar] parted-3.6/libparted/disk.c:226:6: style: Condition '!_disk_push_update_mode(disk)' is always false [knownConditionTrueFalse] parted-3.6/libparted/disk.c:226:30: note: Calling function '_disk_push_update_mode' returns 1 parted-3.6/libparted/disk.c:226:6: note: Condition '!_disk_push_update_mode(disk)' is always false parted-3.6/libparted/disk.c:229:6: style: Condition '!_disk_pop_update_mode(disk)' is always false [knownConditionTrueFalse] parted-3.6/libparted/disk.c:229:29: note: Calling function '_disk_pop_update_mode' returns 1 parted-3.6/libparted/disk.c:229:6: note: Condition '!_disk_pop_update_mode(disk)' is always false parted-3.6/libparted/disk.c:231:6: style: Condition '!ret' is always false [knownConditionTrueFalse] parted-3.6/libparted/disk.c:1911:34: note: Calling function '_disk_raw_insert_before' returns 1 parted-3.6/libparted/disk.c:228:22: note: Calling function '_disk_raw_add' returns 1 parted-3.6/libparted/disk.c:228:22: note: Assignment 'ret=_disk_raw_add(disk,new_part)', assigned value is 1 parted-3.6/libparted/disk.c:231:6: note: Condition '!ret' is always false parted-3.6/libparted/disk.c:265:6: style: Condition '!_disk_push_update_mode(new_disk)' is always false [knownConditionTrueFalse] parted-3.6/libparted/disk.c:265:30: note: Calling function '_disk_push_update_mode' returns 1 parted-3.6/libparted/disk.c:265:6: note: Condition '!_disk_push_update_mode(new_disk)' is always false parted-3.6/libparted/disk.c:276:6: style: Condition '!_disk_pop_update_mode(new_disk)' is always false [knownConditionTrueFalse] parted-3.6/libparted/disk.c:276:29: note: Calling function '_disk_pop_update_mode' returns 1 parted-3.6/libparted/disk.c:276:6: note: Condition '!_disk_pop_update_mode(new_disk)' is always false parted-3.6/libparted/disk.c:383:13: style: Condition '!_disk_pop_update_mode(disk)' is always false [knownConditionTrueFalse] parted-3.6/libparted/disk.c:383:36: note: Calling function '_disk_pop_update_mode' returns 1 parted-3.6/libparted/disk.c:383:13: note: Condition '!_disk_pop_update_mode(disk)' is always false parted-3.6/libparted/disk.c:772:13: style: Condition '!_disk_push_update_mode(disk)' is always false [knownConditionTrueFalse] parted-3.6/libparted/disk.c:772:36: note: Calling function '_disk_push_update_mode' returns 1 parted-3.6/libparted/disk.c:772:13: note: Condition '!_disk_push_update_mode(disk)' is always false parted-3.6/libparted/disk.c:788:13: style: Condition '!_disk_pop_update_mode(disk)' is always false [knownConditionTrueFalse] parted-3.6/libparted/disk.c:788:36: note: Calling function '_disk_pop_update_mode' returns 1 parted-3.6/libparted/disk.c:788:13: note: Condition '!_disk_pop_update_mode(disk)' is always false parted-3.6/libparted/disk.c:869:55: style: Condition 'strcasecmp(name,flag_name)==0' is always false [knownConditionTrueFalse] parted-3.6/libparted/disk.c:1119:6: style: Condition '!_disk_remove_freespace(disk)' is always false [knownConditionTrueFalse] parted-3.6/libparted/disk.c:1119:30: note: Calling function '_disk_remove_freespace' returns 1 parted-3.6/libparted/disk.c:1119:6: note: Condition '!_disk_remove_freespace(disk)' is always false parted-3.6/libparted/disk.c:1121:6: style: Condition '!_alloc_extended_freespace(disk)' is always false [knownConditionTrueFalse] parted-3.6/libparted/disk.c:1121:33: note: Calling function '_alloc_extended_freespace' returns 1 parted-3.6/libparted/disk.c:1121:6: note: Condition '!_alloc_extended_freespace(disk)' is always false parted-3.6/libparted/disk.c:2128:6: style: Condition '!_disk_push_update_mode(disk)' is always false [knownConditionTrueFalse] parted-3.6/libparted/disk.c:2128:30: note: Calling function '_disk_push_update_mode' returns 1 parted-3.6/libparted/disk.c:2128:6: note: Condition '!_disk_push_update_mode(disk)' is always false parted-3.6/libparted/disk.c:2157:6: style: Condition '!_disk_raw_add(disk,part)' is always false [knownConditionTrueFalse] parted-3.6/libparted/disk.c:1911:34: note: Calling function '_disk_raw_insert_before' returns 1 parted-3.6/libparted/disk.c:2157:21: note: Calling function '_disk_raw_add' returns 1 parted-3.6/libparted/disk.c:2157:6: note: Condition '!_disk_raw_add(disk,part)' is always false parted-3.6/libparted/disk.c:2162:6: style: Condition '!_disk_pop_update_mode(disk)' is always false [knownConditionTrueFalse] parted-3.6/libparted/disk.c:2162:29: note: Calling function '_disk_pop_update_mode' returns 1 parted-3.6/libparted/disk.c:2162:6: note: Condition '!_disk_pop_update_mode(disk)' is always false parted-3.6/libparted/disk.c:2192:6: style: Condition '!_disk_push_update_mode(disk)' is always false [knownConditionTrueFalse] parted-3.6/libparted/disk.c:2192:30: note: Calling function '_disk_push_update_mode' returns 1 parted-3.6/libparted/disk.c:2192:6: note: Condition '!_disk_push_update_mode(disk)' is always false parted-3.6/libparted/disk.c:2196:6: style: Condition '!_disk_pop_update_mode(disk)' is always false [knownConditionTrueFalse] parted-3.6/libparted/disk.c:2196:29: note: Calling function '_disk_pop_update_mode' returns 1 parted-3.6/libparted/disk.c:2196:6: note: Condition '!_disk_pop_update_mode(disk)' is always false parted-3.6/libparted/disk.c:2216:6: style: Condition '!_disk_push_update_mode(disk)' is always false [knownConditionTrueFalse] parted-3.6/libparted/disk.c:2216:30: note: Calling function '_disk_push_update_mode' returns 1 parted-3.6/libparted/disk.c:2216:6: note: Condition '!_disk_push_update_mode(disk)' is always false parted-3.6/libparted/disk.c:2222:6: style: Condition '!_disk_pop_update_mode(disk)' is always false [knownConditionTrueFalse] parted-3.6/libparted/disk.c:2222:29: note: Calling function '_disk_pop_update_mode' returns 1 parted-3.6/libparted/disk.c:2222:6: note: Condition '!_disk_pop_update_mode(disk)' is always false parted-3.6/libparted/disk.c:2261:6: style: Condition '!_disk_push_update_mode(disk)' is always false [knownConditionTrueFalse] parted-3.6/libparted/disk.c:2261:30: note: Calling function '_disk_push_update_mode' returns 1 parted-3.6/libparted/disk.c:2261:6: note: Condition '!_disk_push_update_mode(disk)' is always false parted-3.6/libparted/disk.c:2273:6: style: Condition '!_disk_pop_update_mode(disk)' is always false [knownConditionTrueFalse] parted-3.6/libparted/disk.c:2273:29: note: Calling function '_disk_pop_update_mode' returns 1 parted-3.6/libparted/disk.c:2273:6: note: Condition '!_disk_pop_update_mode(disk)' is always false parted-3.6/libparted/disk.c:2309:6: style: Condition '!_disk_push_update_mode(disk)' is always false [knownConditionTrueFalse] parted-3.6/libparted/disk.c:2309:30: note: Calling function '_disk_push_update_mode' returns 1 parted-3.6/libparted/disk.c:2309:6: note: Condition '!_disk_push_update_mode(disk)' is always false parted-3.6/libparted/disk.c:2333:6: style: Condition '!_disk_pop_update_mode(disk)' is always false [knownConditionTrueFalse] parted-3.6/libparted/disk.c:2333:29: note: Calling function '_disk_pop_update_mode' returns 1 parted-3.6/libparted/disk.c:2333:6: note: Condition '!_disk_pop_update_mode(disk)' is always false parted-3.6/libparted/disk.c:2381:6: style: Condition '!_disk_push_update_mode(disk)' is always false [knownConditionTrueFalse] parted-3.6/libparted/disk.c:2381:30: note: Calling function '_disk_push_update_mode' returns 1 parted-3.6/libparted/disk.c:2381:6: note: Condition '!_disk_push_update_mode(disk)' is always false parted-3.6/libparted/disk.c:2398:6: style: Condition '!_disk_pop_update_mode(disk)' is always false [knownConditionTrueFalse] parted-3.6/libparted/disk.c:2398:29: note: Calling function '_disk_pop_update_mode' returns 1 parted-3.6/libparted/disk.c:2398:6: note: Condition '!_disk_pop_update_mode(disk)' is always false parted-3.6/libparted/disk.c:2470:6: style: Condition '!_disk_push_update_mode(disk)' is always false [knownConditionTrueFalse] parted-3.6/libparted/disk.c:2470:30: note: Calling function '_disk_push_update_mode' returns 1 parted-3.6/libparted/disk.c:2470:6: note: Condition '!_disk_push_update_mode(disk)' is always false parted-3.6/libparted/disk.c:2475:7: style: Condition '!_disk_pop_update_mode(disk)' is always false [knownConditionTrueFalse] parted-3.6/libparted/disk.c:2475:30: note: Calling function '_disk_pop_update_mode' returns 1 parted-3.6/libparted/disk.c:2475:7: note: Condition '!_disk_pop_update_mode(disk)' is always false parted-3.6/libparted/disk.c:2489:6: style: Condition '!_disk_pop_update_mode(disk)' is always false [knownConditionTrueFalse] parted-3.6/libparted/disk.c:2489:29: note: Calling function '_disk_pop_update_mode' returns 1 parted-3.6/libparted/disk.c:2489:6: note: Condition '!_disk_pop_update_mode(disk)' is always false parted-3.6/libparted/disk.c:2627:42: style: Condition 'strcasecmp(name,flag_name)==0' is always false [knownConditionTrueFalse] parted-3.6/libparted/disk.c:869:21: style: Same expression on both sides of '||'. [duplicateExpression] parted-3.6/libparted/disk.c:2627:7: style: Same expression on both sides of '||'. [duplicateExpression] parted-3.6/libparted/disk.c:81:40: style: Parameter 'disk_type' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/disk.c:376:18: style: Variable 'bios_geom' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/disk.c:978:41: style: Parameter 'disk' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/disk.c:1848:34: style: Parameter 'disk' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/disk.c:1927:69: style: Parameter 'geom' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/disk.c:1977:16: style: Variable 'ext_part' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/disk.c:2233:17: style: Variable 'ext_part' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/exception.c:132:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_BUG [valueFlowBailoutIncompleteVar] parted-3.6/libparted/exception.c:207:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_UNHANDLED [valueFlowBailoutIncompleteVar] parted-3.6/libparted/exception.c:240:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PedException [valueFlowBailoutIncompleteVar] parted-3.6/libparted/exception.c:130:32: style:inconclusive: Function 'default_handler' argument 1 names different: declaration 'ex' definition 'e'. [funcArgNamesDifferent] parted-3.6/libparted/exception.c:72:58: note: Function 'default_handler' argument 1 names different: declaration 'ex' definition 'e'. parted-3.6/libparted/exception.c:130:32: note: Function 'default_handler' argument 1 names different: declaration 'ex' definition 'e'. parted-3.6/libparted/filesys.c:59:53: style: Parameter 'fs_type' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/filesys.c:98:54: style: Parameter 'fs_type' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/filesys.c:219:58: style: Parameter 'detected' can be declared as const array [constParameter] parted-3.6/libparted/fs/amiga/affs.c:64:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/amiga/amiga.c:72:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/amiga/amiga.c:167:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/amiga/amiga.c:189:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/amiga/amiga.c:276:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/amiga/amiga.c:111:14: style: struct member 'RigidDiskBlock::rdb_SummedLongs' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:112:13: style: struct member 'RigidDiskBlock::rdb_ChkSum' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:113:14: style: struct member 'RigidDiskBlock::rdb_HostID' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:114:14: style: struct member 'RigidDiskBlock::rdb_BlockBytes' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:115:14: style: struct member 'RigidDiskBlock::rdb_Flags' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:117:14: style: struct member 'RigidDiskBlock::rdb_BadBlockList' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:119:14: style: struct member 'RigidDiskBlock::rdb_FileSysHeaderList' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:120:14: style: struct member 'RigidDiskBlock::rdb_DriveInit' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:121:14: style: struct member 'RigidDiskBlock::rdb_BootBlockList' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:122:14: style: struct member 'RigidDiskBlock::rdb_Reserved1' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:124:14: style: struct member 'RigidDiskBlock::rdb_Cylinders' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:125:14: style: struct member 'RigidDiskBlock::rdb_Sectors' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:126:14: style: struct member 'RigidDiskBlock::rdb_Heads' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:127:14: style: struct member 'RigidDiskBlock::rdb_Interleave' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:128:14: style: struct member 'RigidDiskBlock::rdb_Park' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:129:14: style: struct member 'RigidDiskBlock::rdb_Reserved2' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:130:14: style: struct member 'RigidDiskBlock::rdb_WritePreComp' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:131:14: style: struct member 'RigidDiskBlock::rdb_ReducedWrite' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:132:14: style: struct member 'RigidDiskBlock::rdb_StepRate' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:133:14: style: struct member 'RigidDiskBlock::rdb_Reserved3' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:135:14: style: struct member 'RigidDiskBlock::rdb_RDBBlocksLo' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:136:14: style: struct member 'RigidDiskBlock::rdb_RDBBlocksHi' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:137:14: style: struct member 'RigidDiskBlock::rdb_LoCylinder' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:138:14: style: struct member 'RigidDiskBlock::rdb_HiCylinder' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:139:14: style: struct member 'RigidDiskBlock::rdb_CylBlocks' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:140:14: style: struct member 'RigidDiskBlock::rdb_AutoParkSeconds' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:141:14: style: struct member 'RigidDiskBlock::rdb_HighRDSKBlock' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:143:14: style: struct member 'RigidDiskBlock::rdb_Reserved4' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:145:10: style: struct member 'RigidDiskBlock::rdb_DiskVendor' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:146:10: style: struct member 'RigidDiskBlock::rdb_DiskProduct' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:147:10: style: struct member 'RigidDiskBlock::rdb_DiskRevision' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:148:10: style: struct member 'RigidDiskBlock::rdb_ControllerVendor' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:149:10: style: struct member 'RigidDiskBlock::rdb_ControllerProduct' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:150:10: style: struct member 'RigidDiskBlock::rdb_ControllerRevision' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/amiga.c:151:14: style: struct member 'RigidDiskBlock::rdb_Reserved5' is never used. [unusedStructMember] parted-3.6/libparted/fs/amiga/apfs.c:58:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/amiga/asfs.c:72:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/amiga/asfs.c:37:32: style: Parameter 'geom' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/fs/btrfs/btrfs.c:42:25: style: union member 'Anonymous0::sector' is never used. [unusedStructMember] parted-3.6/libparted/fs/btrfs/btrfs.c:36:25: style: struct member 'Anonymous1::csum' is never used. [unusedStructMember] parted-3.6/libparted/fs/btrfs/btrfs.c:37:25: style: struct member 'Anonymous1::fsid' is never used. [unusedStructMember] parted-3.6/libparted/fs/btrfs/btrfs.c:38:26: style: struct member 'Anonymous1::bytenr' is never used. [unusedStructMember] parted-3.6/libparted/fs/btrfs/btrfs.c:39:26: style: struct member 'Anonymous1::flags' is never used. [unusedStructMember] parted-3.6/libparted/fs/ext2/interface.c:40:17: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] parted-3.6/libparted/fs/f2fs/f2fs.c:29:39: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] parted-3.6/libparted/fs/fat/bootsector.c:56:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/fat/bootsector.c:39:39: style:inconclusive: Function 'fat_boot_sector_read' argument 1 names different: declaration 'bs' definition 'bsp'. [funcArgNamesDifferent] parted-3.6/libparted/fs/fat/bootsector.h:120:43: note: Function 'fat_boot_sector_read' argument 1 names different: declaration 'bs' definition 'bsp'. parted-3.6/libparted/fs/fat/bootsector.c:39:39: note: Function 'fat_boot_sector_read' argument 1 names different: declaration 'bs' definition 'bsp'. parted-3.6/libparted/fs/fat/fat.c:31:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PedFileSystem [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/hfs/probe.c:47:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/hfs/probe.c:109:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/hfs/probe.c:202:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/hfs/probe.c:75:16: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] parted-3.6/libparted/fs/hfs/probe.c:39:33: style: Parameter 'geom' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/fs/hfs/probe.c:41:13: style: Variable 'dev' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/hfs/probe.c:118:28: style: Variable 'mdb' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/hfs/probe.c:122:33: error: Uninitialized variable: mdb->old_new.embedded.signature [uninitvar] parted-3.6/libparted/fs/hfs/probe.c:119:9: note: Assignment 'mdb=(struct HfsMasterDirectoryBlock*)buf', assigned value is parted-3.6/libparted/fs/hfs/probe.c:122:33: note: Uninitialized variable: mdb->old_new.embedded.signature parted-3.6/libparted/fs/hfs/probe.c:213:14: error: Uninitialized variable: vh->signature [uninitvar] parted-3.6/libparted/fs/hfs/probe.c:204:25: note: Assignment 'vh=(struct HfsPVolumeHeader*)buf', assigned value is parted-3.6/libparted/fs/hfs/probe.c:208:6: note: Assuming condition is false parted-3.6/libparted/fs/hfs/probe.c:213:14: note: Uninitialized variable: vh->signature parted-3.6/libparted/fs/jfs/jfs.c:41:26: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] parted-3.6/libparted/fs/linux_swap/linux_swap.c:152:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PedFileSystem [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/linux_swap/linux_swap.c:86:16: style: Variable 'fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/linux_swap/linux_swap.c:43:8: style: struct member 'SwapOldHeader::page_map' is never used. [unusedStructMember] parted-3.6/libparted/fs/linux_swap/linux_swap.c:61:17: style: union member 'Anonymous0::old' is never used. [unusedStructMember] parted-3.6/libparted/fs/nilfs2/nilfs2.c:114:17: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] parted-3.6/libparted/fs/nilfs2/nilfs2.c:117:16: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] parted-3.6/libparted/fs/ntfs/ntfs.c:39:17: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] parted-3.6/libparted/fs/r/fat/bootsector.c:55:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/fat/bootsector.c:143:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/fat/bootsector.c:403:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_CANCEL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/fat/bootsector.c:39:39: style:inconclusive: Function 'fat_boot_sector_read' argument 1 names different: declaration 'bs' definition 'bsp'. [funcArgNamesDifferent] parted-3.6/libparted/fs/r/fat/bootsector.h:118:43: note: Function 'fat_boot_sector_read' argument 1 names different: declaration 'bs' definition 'bsp'. parted-3.6/libparted/fs/r/fat/bootsector.c:39:39: note: Function 'fat_boot_sector_read' argument 1 names different: declaration 'bs' definition 'bsp'. parted-3.6/libparted/fs/r/fat/bootsector.c:272:48: style:inconclusive: Function 'fat_boot_sector_set_boot_code' argument 1 names different: declaration 'bs' definition 'bsp'. [funcArgNamesDifferent] parted-3.6/libparted/fs/r/fat/bootsector.h:122:52: note: Function 'fat_boot_sector_set_boot_code' argument 1 names different: declaration 'bs' definition 'bsp'. parted-3.6/libparted/fs/r/fat/bootsector.c:272:48: note: Function 'fat_boot_sector_set_boot_code' argument 1 names different: declaration 'bs' definition 'bsp'. parted-3.6/libparted/fs/r/fat/bootsector.c:287:43: style:inconclusive: Function 'fat_boot_sector_generate' argument 1 names different: declaration 'bs' definition 'bsp'. [funcArgNamesDifferent] parted-3.6/libparted/fs/r/fat/bootsector.h:123:47: note: Function 'fat_boot_sector_generate' argument 1 names different: declaration 'bs' definition 'bsp'. parted-3.6/libparted/fs/r/fat/bootsector.c:287:43: note: Function 'fat_boot_sector_generate' argument 1 names different: declaration 'bs' definition 'bsp'. parted-3.6/libparted/fs/r/fat/bootsector.c:385:39: style:inconclusive: Function 'fat_info_sector_read' argument 1 names different: declaration 'is' definition 'isp'. [funcArgNamesDifferent] parted-3.6/libparted/fs/r/fat/bootsector.h:126:43: note: Function 'fat_info_sector_read' argument 1 names different: declaration 'is' definition 'isp'. parted-3.6/libparted/fs/r/fat/bootsector.c:385:39: note: Function 'fat_info_sector_read' argument 1 names different: declaration 'is' definition 'isp'. parted-3.6/libparted/fs/r/fat/bootsector.c:409:43: style:inconclusive: Function 'fat_info_sector_generate' argument 1 names different: declaration 'is' definition 'isp'. [funcArgNamesDifferent] parted-3.6/libparted/fs/r/fat/bootsector.h:127:47: note: Function 'fat_info_sector_generate' argument 1 names different: declaration 'is' definition 'isp'. parted-3.6/libparted/fs/r/fat/bootsector.c:409:43: note: Function 'fat_info_sector_generate' argument 1 names different: declaration 'is' definition 'isp'. parted-3.6/libparted/fs/r/fat/calc.c:321:15: style: Variable 'old_fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/calc.c:322:15: style: Variable 'new_fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/calc.c:365:15: style: Variable 'fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/calc.c:375:15: style: Variable 'fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/calc.c:385:15: style: Variable 'fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/calc.c:395:15: style: Variable 'fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/calc.c:405:15: style: Variable 'fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/calc.c:415:15: style: Variable 'fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/calc.c:426:15: style: Variable 'fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/clstdup.c:304:6: style: Condition '!update_remap(ctx,first,last)' is always false [knownConditionTrueFalse] parted-3.6/libparted/fs/r/fat/clstdup.c:304:20: note: Calling function 'update_remap' returns 1 parted-3.6/libparted/fs/r/fat/clstdup.c:304:6: note: Condition '!update_remap(ctx,first,last)' is always false parted-3.6/libparted/fs/r/fat/clstdup.c:30:15: style: Variable 'old_fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/clstdup.c:57:15: style: Variable 'fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/clstdup.c:99:15: style: Variable 'old_fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/clstdup.c:211:16: style: Variable 'old_fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/clstdup.c:313:16: style: Variable 'old_fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/clstdup.c:369:16: style: Variable 'old_fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/clstdup.c:379:15: style: Variable 'fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/context.c:36:15: style: Variable 'old_fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/context.c:130:15: style: Variable 'new_fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/context.c:200:15: style: Variable 'old_fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/count.c:87:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/fat/count.c:221:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flag [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/fat/count.c:263:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flag [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/fat/count.c:272:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flag [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/fat/count.c:285:15: style: Variable 'fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/fat.c:32:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PedFileSystem [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/fat/fat.c:414:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/fat/fat.c:452:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/fat/fat.c:162:24: style: Parameter 'geom' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/fs/r/fat/fat.c:392:15: style: Variable 'fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/fat.c:514:15: style: Variable 'old_fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/fatio.c:38:15: style: Variable 'fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/fatio.c:57:15: style: Variable 'fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/fatio.c:93:15: style: Variable 'fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/fatio.c:113:15: style: Variable 'fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/resize.c:162:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/fat/resize.c:304:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_CANCEL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/fat/resize.c:544:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_CANCEL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/fat/resize.c:865:6: style: Condition '!resize_context_assimilate(ctx)' is always false [knownConditionTrueFalse] parted-3.6/libparted/fs/r/fat/resize.c:865:33: note: Calling function 'resize_context_assimilate' returns 1 parted-3.6/libparted/fs/r/fat/resize.c:865:6: note: Condition '!resize_context_assimilate(ctx)' is always false parted-3.6/libparted/fs/r/fat/resize.c:123:16: style: Variable 'new_fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/resize.c:260:16: style: Variable 'old_fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/resize.c:314:16: style: Variable 'old_fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/resize.c:315:16: style: Variable 'new_fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/resize.c:348:16: style: Variable 'new_fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/resize.c:349:16: style: Variable 'old_fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/resize.c:373:15: style: Variable 'old_fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/resize.c:399:15: style: Variable 'old_fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/resize.c:473:16: style: Variable 'fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/resize.c:757:15: style: Variable 'new_fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/resize.c:825:45: style: Parameter 'geom' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/fs/r/fat/resize.c:827:15: style: Variable 'fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/table.c:142:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/fat/table.c:304:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXIT_FAILURE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/fat/table.c:174:15: style: Variable 'fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/traverse.c:35:51: style: Parameter 'trav_info' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/fs/r/fat/traverse.c:45:15: style: Variable 'fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/traverse.c:91:15: style: Variable 'fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/traverse.c:232:16: style: Variable 'fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/traverse.c:252:16: style: Variable 'fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/fat/traverse.c:288:39: style: Parameter 'dir_entry' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/fs/r/fat/traverse.c:325:15: style: Variable 'fs_info' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/filesys.c:172:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/advfs.c:84:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/advfs.c:305:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/advfs_plus.c:77:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/advfs_plus.c:314:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/advfs_plus.c:338:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/cache.c:122:32: style:inconclusive: Function 'hfsc_cache_add_extent' argument 8 names different: declaration 'index' definition 'ref_index'. [funcArgNamesDifferent] parted-3.6/libparted/fs/r/hfs/cache.h:103:32: note: Function 'hfsc_cache_add_extent' argument 8 names different: declaration 'index' definition 'ref_index'. parted-3.6/libparted/fs/r/hfs/cache.c:122:32: note: Function 'hfsc_cache_add_extent' argument 8 names different: declaration 'index' definition 'ref_index'. parted-3.6/libparted/fs/r/hfs/cache.c:177:44: style: Parameter 'cache' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/fs/r/hfs/cache.h:113:44: style: Parameter 'cache' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/fs/r/hfs/file.c:109:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/file.c:76:20: style: Variable 'ret_cache' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/hfs/file.c:91:15: error: Uninitialized variable: ret_key->file_ID [uninitvar] parted-3.6/libparted/fs/r/hfs/file.c:75:27: note: Assignment 'ret_key=(struct HfsExtentKey*)record', assigned value is parted-3.6/libparted/fs/r/hfs/file.c:86:6: note: Assuming condition is false parted-3.6/libparted/fs/r/hfs/file.c:91:15: note: Uninitialized variable: ret_key->file_ID parted-3.6/libparted/fs/r/hfs/file_plus.c:116:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/file_plus.c:225:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/file_plus.c:268:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/file_plus.c:78:21: style: Variable 'ret_cache' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/hfs/file_plus.c:94:15: error: Uninitialized variable: ret_key->file_ID [uninitvar] parted-3.6/libparted/fs/r/hfs/file_plus.c:77:28: note: Assignment 'ret_key=(struct HfsPExtentKey*)record', assigned value is parted-3.6/libparted/fs/r/hfs/file_plus.c:89:6: note: Assuming condition is false parted-3.6/libparted/fs/r/hfs/file_plus.c:94:15: note: Uninitialized variable: ret_key->file_ID parted-3.6/libparted/fs/r/hfs/hfs.c:65:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/hfs.c:168:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ped_alignment_any [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/hfs.c:176:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/hfs.c:349:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/hfs.c:535:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ped_alignment_any [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/hfs.c:543:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/hfs.c:713:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/hfs.c:893:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/hfs.c:541:56: style: Parameter 'geom' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/fs/r/hfs/hfs.c:717:17: style: Variable 'ret_key' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/hfs/journal.c:75:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/journal.c:114:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/journal.c:138:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/journal.c:229:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/probe.c:47:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/probe.c:66:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/probe.c:39:33: style: Parameter 'geom' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/fs/r/hfs/probe.c:41:13: style: Variable 'dev' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/hfs/probe.c:79:15: error: Uninitialized variable: mdb->signature [uninitvar] parted-3.6/libparted/fs/r/hfs/probe.c:74:8: note: Assignment 'mdb=(struct HfsMasterDirectoryBlock*)buf', assigned value is parted-3.6/libparted/fs/r/hfs/probe.c:79:15: note: Uninitialized variable: mdb->signature parted-3.6/libparted/fs/r/hfs/reloc.c:102:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/reloc.c:167:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/reloc.c:186:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/reloc.c:276:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/reloc.c:368:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/reloc.c:466:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/reloc.c:165:21: style: Variable 'priv_data' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/hfs/reloc.c:191:21: style: Variable 'move' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/hfs/reloc.c:371:18: style: Variable 'catalog_key' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/hfs/reloc.c:469:17: style: Variable 'extent_key' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/r/hfs/reloc_plus.c:105:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/reloc_plus.c:170:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/reloc_plus.c:332:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/reloc_plus.c:479:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/reloc_plus.c:607:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/reloc_plus.c:723:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/reloc_plus.c:916:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/fs/r/hfs/reloc_plus.c:192:21: style: Variable 'move' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/fs/reiserfs/reiserfs.c:47:31: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] parted-3.6/libparted/fs/udf/udf.c:33:18: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] parted-3.6/libparted/fs/ufs/ufs.c:180:17: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] parted-3.6/libparted/fs/ufs/ufs.c:216:17: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] parted-3.6/libparted/fs/ufs/ufs.c:50:11: style: struct member 'ufs_csum::cs_ndir' is never used. [unusedStructMember] parted-3.6/libparted/fs/ufs/ufs.c:51:11: style: struct member 'ufs_csum::cs_nbfree' is never used. [unusedStructMember] parted-3.6/libparted/fs/ufs/ufs.c:52:11: style: struct member 'ufs_csum::cs_nifree' is never used. [unusedStructMember] parted-3.6/libparted/fs/ufs/ufs.c:53:11: style: struct member 'ufs_csum::cs_nffree' is never used. [unusedStructMember] parted-3.6/libparted/fs/ufs/ufs.c:99:5: style: union member 'Anonymous0::fs_sun' is never used. [unusedStructMember] parted-3.6/libparted/fs/ufs/ufs.c:102:5: style: union member 'Anonymous0::fs_sunx86' is never used. [unusedStructMember] parted-3.6/libparted/fs/ufs/ufs.c:98:13: style: struct member 'Anonymous1::fs_npsect' is never used. [unusedStructMember] parted-3.6/libparted/fs/ufs/ufs.c:101:13: style: struct member 'Anonymous2::fs_state' is never used. [unusedStructMember] parted-3.6/libparted/fs/ufs/ufs.c:147:5: style: union member 'Anonymous3::fs_sun' is never used. [unusedStructMember] parted-3.6/libparted/fs/ufs/ufs.c:155:5: style: union member 'Anonymous3::fs_sunx86' is never used. [unusedStructMember] parted-3.6/libparted/fs/ufs/ufs.c:165:5: style: union member 'Anonymous3::fs_44' is never used. [unusedStructMember] parted-3.6/libparted/fs/ufs/ufs.c:141:13: style: struct member 'Anonymous4::fs_sparecon' is never used. [unusedStructMember] parted-3.6/libparted/fs/ufs/ufs.c:142:13: style: struct member 'Anonymous4::fs_reclaim' is never used. [unusedStructMember] parted-3.6/libparted/fs/ufs/ufs.c:143:13: style: struct member 'Anonymous4::fs_sparecon2' is never used. [unusedStructMember] parted-3.6/libparted/fs/ufs/ufs.c:144:13: style: struct member 'Anonymous4::fs_state' is never used. [unusedStructMember] parted-3.6/libparted/fs/ufs/ufs.c:145:13: style: struct member 'Anonymous4::fs_qbmask' is never used. [unusedStructMember] parted-3.6/libparted/fs/ufs/ufs.c:146:13: style: struct member 'Anonymous4::fs_qfmask' is never used. [unusedStructMember] parted-3.6/libparted/fs/ufs/ufs.c:149:13: style: struct member 'Anonymous5::fs_sparecon' is never used. [unusedStructMember] parted-3.6/libparted/fs/ufs/ufs.c:150:13: style: struct member 'Anonymous5::fs_reclaim' is never used. [unusedStructMember] parted-3.6/libparted/fs/ufs/ufs.c:151:13: style: struct member 'Anonymous5::fs_sparecon2' is never used. [unusedStructMember] parted-3.6/libparted/fs/ufs/ufs.c:152:13: style: struct member 'Anonymous5::fs_npsect' is never used. [unusedStructMember] parted-3.6/libparted/fs/ufs/ufs.c:153:13: style: struct member 'Anonymous5::fs_qbmask' is never used. [unusedStructMember] parted-3.6/libparted/fs/ufs/ufs.c:154:13: style: struct member 'Anonymous5::fs_qfmask' is never used. [unusedStructMember] parted-3.6/libparted/fs/ufs/ufs.c:157:13: style: struct member 'Anonymous6::fs_sparecon' is never used. [unusedStructMember] parted-3.6/libparted/fs/ufs/ufs.c:158:13: style: struct member 'Anonymous6::fs_contigsumsize' is never used. [unusedStructMember] parted-3.6/libparted/fs/ufs/ufs.c:159:13: style: struct member 'Anonymous6::fs_maxsymlinklen' is never used. [unusedStructMember] parted-3.6/libparted/fs/ufs/ufs.c:160:13: style: struct member 'Anonymous6::fs_inodefmt' is never used. [unusedStructMember] parted-3.6/libparted/fs/ufs/ufs.c:161:13: style: struct member 'Anonymous6::fs_maxfilesize' is never used. [unusedStructMember] parted-3.6/libparted/fs/ufs/ufs.c:162:13: style: struct member 'Anonymous6::fs_qbmask' is never used. [unusedStructMember] parted-3.6/libparted/fs/ufs/ufs.c:163:13: style: struct member 'Anonymous6::fs_qfmask' is never used. [unusedStructMember] parted-3.6/libparted/fs/ufs/ufs.c:164:13: style: struct member 'Anonymous6::fs_state' is never used. [unusedStructMember] parted-3.6/libparted/fs/xfs/xfs.c:41:22: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] parted-3.6/libparted/labels/aix.c:188:36: style: Parameter 'part' can be declared as pointer to const. However it seems that 'aix_partition_align' is a callback function, if 'part' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/libparted/labels/aix.c:217:2: note: You might need to cast the function pointer here parted-3.6/libparted/labels/aix.c:188:36: note: Parameter 'part' can be declared as pointer to const parted-3.6/libparted/labels/aix.c:196:40: style: Parameter 'part' can be declared as pointer to const. However it seems that 'aix_partition_enumerate' is a callback function, if 'part' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/libparted/labels/aix.c:217:2: note: You might need to cast the function pointer here parted-3.6/libparted/labels/aix.c:196:40: note: Parameter 'part' can be declared as pointer to const parted-3.6/libparted/labels/aix.c:202:30: style: Parameter 'disk' can be declared as pointer to const. However it seems that 'aix_alloc_metadata' is a callback function, if 'disk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/libparted/labels/aix.c:217:2: note: You might need to cast the function pointer here parted-3.6/libparted/labels/aix.c:202:30: note: Parameter 'disk' can be declared as pointer to const parted-3.6/libparted/labels/atari.c:274:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/atari.c:341:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flag [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/atari.c:551:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/atari.c:589:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flag [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/atari.c:656:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/atari.c:739:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/atari.c:761:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/atari.c:870:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/atari.c:947:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/atari.c:959:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_UNHANDLED [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/atari.c:990:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/atari.c:1041:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/atari.c:1226:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/atari.c:1318:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/atari.c:1359:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_BOOT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/atari.c:1384:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_BOOT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/atari.c:1394:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_BOOT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/atari.c:1470:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/atari.c:1685:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/atari.c:1730:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/atari.c:1841:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_METADATA [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/atari.c:1889:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/atari.c:1965:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL_MASK [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/atari.c:246:44: style: Parameter 'part' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/labels/atari.c:481:13: style: Variable 'old_atr_dsk' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/atari.c:732:16: style: Variable 'part' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/atari.c:852:13: style: Variable 'atr_part' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/atari.c:958:13: style: Variable 'atr_disk' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/atari.c:1023:13: style: Variable 'atr_part' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/atari.c:1024:16: style: Variable 'log' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/atari.c:1222:13: style: Variable 'atrdisk' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/atari.c:1378:13: style: Variable 'atr_part' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/atari.c:1584:13: style: Variable 'atr_disk' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/atari.c:1709:16: style: Variable 'ext_part' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/atari.c:1710:16: style: Variable 'log' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/atari.c:1917:13: style: Variable 'atr_disk' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/atari.c:1929:13: style: Variable 'atr_disk' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/bsd.c:181:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/bsd.c:233:15: style: Variable 'old_bsd_data' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/bsd.c:309:15: style: Variable 'old_data' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/bsd.c:329:20: style: Variable 'bsd_data' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/bsd.c:411:20: style: Variable 'old_bsd_data' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/bsd.c:457:39: style: Parameter 'part' can be declared as pointer to const. However it seems that 'bsd_partition_set_flag' is a callback function, if 'part' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/libparted/labels/bsd.c:631:2: note: You might need to cast the function pointer here parted-3.6/libparted/labels/bsd.c:457:39: note: Parameter 'part' can be declared as pointer to const parted-3.6/libparted/labels/bsd.c:572:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dasd.c:283:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PDEBUG [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dasd.c:544:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PDEBUG [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dasd.c:620:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USABLE_PARTITIONS [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dasd.c:818:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USABLE_PARTITIONS [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dasd.c:849:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PDEBUG [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dasd.c:909:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USABLE_PARTITIONS [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dasd.c:931:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PDEBUG [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dasd.c:981:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DEVICE_FILE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dasd.c:162:17: style: Variable 'arch_specific' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dasd.c:361:23: style: Variable 'cms_ptr' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dasd.c:362:19: style: Variable 'ldl_ptr' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dasd.c:433:9: style: Variable 'ch' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dasd.c:537:16: style: Variable 'part' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dasd.c:538:17: style: Variable 'arch_specific' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dasd.c:539:20: style: Variable 'disk_specific' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dasd.c:550:22: style: Variable 'dasd_data' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dasd.c:613:21: style: Variable 'dasd_data' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dasd.c:618:20: style: Variable 'disk_specific' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dasd.c:770:21: style: Variable 'dasd_data' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dasd.c:791:20: style: Variable 'disk_specific' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dasd.c:811:20: style: Variable 'disk_specific' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dasd.c:831:24: style: Variable 'arch_specific' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dasd.c:845:17: style: Variable 'arch_specific' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dasd.c:846:20: style: Variable 'disk_specific' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dasd.c:876:20: style: Variable 'disk_specific' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dasd.c:903:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dasd.c:275:21: style: Unused variable: fs [unusedVariable] parted-3.6/libparted/labels/dasd.c:852:16: style: Variable 'disk_specific' is assigned a value that is never used. [unreadVariable] parted-3.6/libparted/labels/dasd.c:930:10: style: Variable 'cyl_size' is assigned a value that is never used. [unreadVariable] parted-3.6/libparted/labels/dos.c:800:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dos.c:1030:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dos.c:1055:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_BOOT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dos.c:1163:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dos.c:1466:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dos.c:1587:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dos.c:1629:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dos.c:1708:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dos.c:2008:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dos.c:2165:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dos.c:2209:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dos.c:2247:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dos.c:2364:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dos.c:2383:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_NORMAL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dos.c:2408:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_NORMAL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dos.c:2456:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_NORMAL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dos.c:2503:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dos.c:2549:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dos.c:1367:6: style: Condition '!fill_raw_part(&table->partitions[0],logical,sector)' is always false [knownConditionTrueFalse] parted-3.6/libparted/labels/dos.c:1367:21: note: Calling function 'fill_raw_part' returns 1 parted-3.6/libparted/labels/dos.c:1367:6: note: Condition '!fill_raw_part(&table->partitions[0],logical,sector)' is always false parted-3.6/libparted/labels/dos.c:1463:7: style: Condition '!fill_raw_part(&table->partitions[i-1],part,0)' is always false [knownConditionTrueFalse] parted-3.6/libparted/labels/dos.c:1463:22: note: Calling function 'fill_raw_part' returns 1 parted-3.6/libparted/labels/dos.c:1463:7: note: Condition '!fill_raw_part(&table->partitions[i-1],part,0)' is always false parted-3.6/libparted/labels/dos.c:597:31: style: Parameter 'disk' can be declared as pointer to const. However it seems that 'msdos_disk_set_flag' is a callback function, if 'disk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/libparted/labels/dos.c:2578:26: note: You might need to cast the function pointer here parted-3.6/libparted/labels/dos.c:597:31: note: Parameter 'disk' can be declared as pointer to const parted-3.6/libparted/labels/dos.c:743:68: style: Parameter 'bios_geom' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/labels/dos.c:747:12: style: Variable 'disk' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dos.c:878:10: style: Variable 'start_chs' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dos.c:879:10: style: Variable 'end_chs' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dos.c:1036:17: style: Variable 'ext_part' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dos.c:1136:19: style: Variable 'raw_part' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dos.c:1314:20: style: Variable 'orig_raw_part' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dos.c:1418:17: style: Variable 'part' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dos.c:1435:17: style: Variable 'part' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dos.c:1710:20: style: Variable 'dos_data' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dos.c:1729:44: style: Parameter 'part' can be declared as pointer to const. However it seems that 'msdos_partition_set_type_id' is a callback function, if 'part' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/libparted/labels/dos.c:2584:26: note: You might need to cast the function pointer here parted-3.6/libparted/labels/dos.c:1729:44: note: Parameter 'part' can be declared as pointer to const parted-3.6/libparted/labels/dos.c:2004:11: style: Variable 'disk' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dos.c:2114:16: style: Variable 'ext_part' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dos.c:2283:15: style: Variable 'disk_specific' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dos.c:2442:22: style: Variable 'disk_specific' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dos.c:2489:18: style: Variable 'log_part' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dos.c:462:15: style: Unused variable: disk_type [unusedVariable] parted-3.6/libparted/labels/dvh.c:182:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_CANCEL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dvh.c:311:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_CANCEL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dvh.c:415:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dvh.c:428:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dvh.c:522:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dvh.c:586:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dvh.c:710:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dvh.c:761:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dvh.c:786:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dvh.c:845:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_METADATA [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/dvh.c:130:15: style: Variable 'old_dvh_disk_data' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dvh.c:539:15: style: Variable 'part_data' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dvh.c:663:15: style: Variable 'dvh_disk_data' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dvh.c:706:39: style: Parameter 'part' can be declared as pointer to const. However it seems that 'dvh_partition_set_name' is a callback function, if 'part' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/libparted/labels/dvh.c:872:22: note: You might need to cast the function pointer here parted-3.6/libparted/labels/dvh.c:706:39: note: Parameter 'part' can be declared as pointer to const parted-3.6/libparted/labels/dvh.c:729:15: style: Variable 'dvh_part_data' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/dvh.c:836:16: style: Variable 'extended_part' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/fdasd.c:37:2: error: There is an unknown macro here somewhere. Configuration is required. If PDEBUG is a macro then please configure it. [unknownMacro] parted-3.6/libparted/labels/gpt.c:658:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/gpt.c:794:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/gpt.c:1025:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/gpt.c:1594:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uuid_t [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/gpt.c:1708:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CODESET [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/gpt.c:1733:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CODESET [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/gpt.c:1788:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uuid_t [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/gpt.c:1806:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uuid_t [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/gpt.c:1399:21: style: Variable 'part_data' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/gpt.c:1534:16: style: Variable 'gpt_disk_data' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/gpt.c:1556:29: style: Parameter 'disk' can be declared as pointer to const. However it seems that 'gpt_disk_set_flag' is a callback function, if 'disk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/libparted/labels/gpt.c:1911:19: note: You might need to cast the function pointer here parted-3.6/libparted/labels/gpt.c:1556:29: note: Parameter 'disk' can be declared as pointer to const parted-3.6/libparted/labels/gpt.c:1584:16: style: Variable 'gpt_disk_data' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/gpt.c:1702:39: style: Parameter 'part' can be declared as pointer to const. However it seems that 'gpt_partition_set_name' is a callback function, if 'part' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/libparted/labels/gpt.c:1904:24: note: You might need to cast the function pointer here parted-3.6/libparted/labels/gpt.c:1702:39: note: Parameter 'part' can be declared as pointer to const parted-3.6/libparted/labels/gpt.c:1758:44: style: Parameter 'part' can be declared as pointer to const. However it seems that 'gpt_partition_set_type_uuid' is a callback function, if 'part' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/libparted/labels/gpt.c:1908:28: note: You might need to cast the function pointer here parted-3.6/libparted/labels/gpt.c:1758:44: note: Parameter 'part' can be declared as pointer to const parted-3.6/libparted/labels/gpt.c:304:11: style: struct member '_PartitionRecord_t::StartHead' is never used. [unusedStructMember] parted-3.6/libparted/labels/gpt.c:310:11: style: struct member '_PartitionRecord_t::StartTrack' is never used. [unusedStructMember] parted-3.6/libparted/labels/gpt.c:339:11: style: struct member '_LegacyMBR_t::BootCode' is never used. [unusedStructMember] parted-3.6/libparted/labels/gpt.c:340:12: style: struct member '_LegacyMBR_t::UniqueMBRSignature' is never used. [unusedStructMember] parted-3.6/libparted/labels/gpt.c:341:12: style: struct member '_LegacyMBR_t::Unknown' is never used. [unusedStructMember] parted-3.6/libparted/labels/loop.c:146:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_NORMAL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/loop.c:169:14: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] parted-3.6/libparted/labels/loop.c:170:16: style: Variable 'part' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/loop.c:223:40: style: Parameter 'part' can be declared as pointer to const. However it seems that 'loop_partition_set_flag' is a callback function, if 'part' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/libparted/labels/loop.c:296:2: note: You might need to cast the function pointer here parted-3.6/libparted/labels/loop.c:223:40: note: Parameter 'part' can be declared as pointer to const parted-3.6/libparted/labels/loop.c:268:31: style: Parameter 'disk' can be declared as pointer to const. However it seems that 'loop_alloc_metadata' is a callback function, if 'disk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/libparted/labels/loop.c:296:2: note: You might need to cast the function pointer here parted-3.6/libparted/labels/loop.c:268:31: note: Parameter 'disk' can be declared as pointer to const parted-3.6/libparted/labels/mac.c:187:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/mac.c:231:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_CANCEL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/mac.c:339:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_NORMAL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/mac.c:510:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/mac.c:652:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/mac.c:780:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/mac.c:1088:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_FREESPACE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/mac.c:1190:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_SWAP [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/mac.c:1347:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/mac.c:380:22: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] parted-3.6/libparted/labels/mac.c:317:15: style: Variable 'old_mac_data' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/mac.c:430:36: style: Parameter 'raw_part' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/labels/mac.c:440:36: style: Parameter 'raw_part' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/labels/mac.c:450:35: style: Parameter 'raw_part' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/labels/mac.c:458:36: style: Parameter 'raw_part' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/labels/mac.c:466:36: style: Parameter 'raw_part' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/labels/mac.c:478:38: style: Parameter 'raw_part' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/labels/mac.c:613:64: style: Parameter 'disk' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/labels/mac.c:615:15: style: Variable 'mac_disk_data' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/mac.c:1007:39: style: Parameter 'disk' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/labels/mac.c:1007:62: style: Parameter 'part_map' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/labels/mac.c:1009:15: style: Variable 'mac_disk_data' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/mac.c:1013:20: style: Variable 'part_map_entry' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/mac.c:1022:28: style: Parameter 'disk' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/labels/mac.c:1155:20: style: Variable 'old_mac_data' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/mac.c:1363:20: style: Variable 'mac_data' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/mac.c:1418:16: style: Variable 'mac_disk_data' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/mac.c:1537:16: style: Variable 'part_map_partition' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/pc98.c:431:17: style: Variable 'part' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/pc98.c:504:21: style: Variable 'old_pc98_data' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/pc98.c:643:21: style: Variable 'pc98_data' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/pc98.c:662:31: style: Parameter 'disk' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/labels/pt-tools.c:89:63: style:inconclusive: Function 'ptt_clear_sectors' argument 3 names different: declaration 'count' definition 'n'. [funcArgNamesDifferent] parted-3.6/libparted/labels/pt-tools.h:24:67: note: Function 'ptt_clear_sectors' argument 3 names different: declaration 'count' definition 'n'. parted-3.6/libparted/labels/pt-tools.c:89:63: note: Function 'ptt_clear_sectors' argument 3 names different: declaration 'count' definition 'n'. parted-3.6/libparted/labels/pt-tools.c:109:71: style:inconclusive: Function 'ptt_geom_clear_sectors' argument 3 names different: declaration 'count' definition 'n'. [funcArgNamesDifferent] parted-3.6/libparted/labels/pt-tools.h:26:18: note: Function 'ptt_geom_clear_sectors' argument 3 names different: declaration 'count' definition 'n'. parted-3.6/libparted/labels/pt-tools.c:109:71: note: Function 'ptt_geom_clear_sectors' argument 3 names different: declaration 'count' definition 'n'. parted-3.6/libparted/labels/pt-tools.c:121:42: style:inconclusive: Function 'ptt_partition_max_start_len' argument 1 names different: declaration 'label_type' definition 'pt_type'. [funcArgNamesDifferent] parted-3.6/libparted/labels/pt-tools.h:27:46: note: Function 'ptt_partition_max_start_len' argument 1 names different: declaration 'label_type' definition 'pt_type'. parted-3.6/libparted/labels/pt-tools.c:121:42: note: Function 'ptt_partition_max_start_len' argument 1 names different: declaration 'label_type' definition 'pt_type'. parted-3.6/libparted/labels/rdb.c:144:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/rdb.c:169:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/rdb.c:480:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/rdb.c:574:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/rdb.c:656:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/rdb.c:428:26: style: Variable 'old_rdb' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/rdb.c:614:34: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/labels/rdb.c:783:25: style: Variable 'rdb' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/rdb.c:844:25: style: Variable 'old_amiga_part' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/rdb.c:953:25: style: Variable 'partition' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/rdb.c:1063:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/sun.c:287:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_CANCEL [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/sun.c:753:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ped_alignment_any [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/sun.c:819:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/sun.c:421:6: style: Condition '!_use_old_info(disk,s0)' is always false [knownConditionTrueFalse] parted-3.6/libparted/labels/sun.c:421:21: note: Calling function '_use_old_info' returns 1 parted-3.6/libparted/labels/sun.c:421:6: note: Condition '!_use_old_info(disk,s0)' is always false parted-3.6/libparted/labels/sun.c:120:13: style: Variable 'ush' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/sun.c:132:13: style: Variable 'ush' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/sun.c:239:15: style: Variable 'old_sun_data' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/sun.c:258:34: style: Parameter 'disk' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/labels/sun.c:406:20: style: Variable 'sun_data' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/sun.c:536:20: style: Variable 'old_sun_data' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/sun.c:719:34: style: Parameter 'disk' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/labels/sun.c:790:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/vtoc.c:216:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cchh_t [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/vtoc.c:375:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable volume_label_t [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/vtoc.c:428:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable volume_label_t [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/vtoc.c:446:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VOLSER_LENGTH [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/vtoc.c:474:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VOLSER_LENGTH [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/vtoc.c:540:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable format1_label_t [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/vtoc.c:588:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable format1_label_t [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/vtoc.c:663:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DASD_3380_VALUE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/vtoc.c:713:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable format5_label_t [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/vtoc.c:728:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable format7_label_t [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/vtoc.c:786:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extent_t [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/vtoc.c:832:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cchhb_t [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/vtoc.c:905:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXIT_FAILURE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/vtoc.c:990:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ds5ext_t [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/vtoc.c:1149:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXIT_FAILURE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/vtoc.c:1227:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ds7ext_t [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/vtoc.c:1295:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BIG_DISK_SIZE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/labels/vtoc.c:684:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] parted-3.6/libparted/labels/vtoc.c:685:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] parted-3.6/libparted/labels/vtoc.c:686:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] parted-3.6/libparted/labels/vtoc.c:687:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] parted-3.6/libparted/labels/vtoc.c:688:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] parted-3.6/libparted/labels/vtoc.c:694:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] parted-3.6/libparted/labels/vtoc.c:696:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] parted-3.6/libparted/labels/vtoc.c:697:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] parted-3.6/libparted/labels/vtoc.c:699:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] parted-3.6/libparted/labels/vtoc.c:701:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] parted-3.6/libparted/labels/vtoc.c:713:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] parted-3.6/libparted/labels/vtoc.c:728:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] parted-3.6/libparted/labels/vtoc.c:749:13: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] parted-3.6/libparted/labels/vtoc.c:751:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] parted-3.6/libparted/labels/vtoc.c:782:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] parted-3.6/libparted/labels/vtoc.c:785:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] parted-3.6/libparted/labels/vtoc.c:787:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] parted-3.6/libparted/labels/vtoc.c:788:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] parted-3.6/libparted/labels/vtoc.c:940:4: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] parted-3.6/libparted/labels/vtoc.c:956:4: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] parted-3.6/libparted/labels/vtoc.c:990:4: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] parted-3.6/libparted/labels/vtoc.c:1182:4: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] parted-3.6/libparted/labels/vtoc.c:1196:4: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] parted-3.6/libparted/labels/vtoc.c:1227:4: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] parted-3.6/libparted/labels/vtoc.c:851:15: style: Condition 'i>0' is always true [knownConditionTrueFalse] parted-3.6/libparted/labels/vtoc.c:849:8: note: Assuming that condition 'i==0' is not redundant parted-3.6/libparted/labels/vtoc.c:851:15: note: Condition 'i>0' is always true parted-3.6/libparted/labels/vtoc.c:859:16: style: Condition 'j>0' is always true [knownConditionTrueFalse] parted-3.6/libparted/labels/vtoc.c:857:9: note: Assuming that condition 'j==0' is not redundant parted-3.6/libparted/labels/vtoc.c:859:16: note: Condition 'j>0' is always true parted-3.6/libparted/labels/vtoc.c:895:15: style: Condition 'i>0' is always true [knownConditionTrueFalse] parted-3.6/libparted/labels/vtoc.c:893:8: note: Assuming that condition 'i==0' is not redundant parted-3.6/libparted/labels/vtoc.c:895:15: note: Condition 'i>0' is always true parted-3.6/libparted/labels/vtoc.c:928:15: style: Condition 'i>0' is always true [knownConditionTrueFalse] parted-3.6/libparted/labels/vtoc.c:926:8: note: Assuming that condition 'i==0' is not redundant parted-3.6/libparted/labels/vtoc.c:928:15: note: Condition 'i>0' is always true parted-3.6/libparted/labels/vtoc.c:983:15: style: Condition 'i>0' is always true [knownConditionTrueFalse] parted-3.6/libparted/labels/vtoc.c:981:8: note: Assuming that condition 'i==0' is not redundant parted-3.6/libparted/labels/vtoc.c:983:15: note: Condition 'i>0' is always true parted-3.6/libparted/labels/vtoc.c:211:26: style: Parameter 'lower' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/labels/vtoc.c:211:41: style: Parameter 'upper' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/labels/vtoc.c:231:33: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/labels/vtoc.c:243:34: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/labels/vtoc.c:269:34: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/labels/vtoc.c:281:35: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/labels/vtoc.c:294:50: style: Parameter 'geo' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/labels/vtoc.c:303:48: style: Parameter 'geo' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/labels/vtoc.c:311:48: style: Parameter 'geo' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/labels/vtoc.c:364:18: style: Variable 'cdl_ptr' can be declared as pointer to const [constVariablePointer] parted-3.6/libparted/labels/vtoc.c:471:47: style: Parameter 'vlabel' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/labels/vtoc.c:516:46: style: Parameter 'vlabel' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/labels/vtoc.c:740:39: style: Parameter 'part_extent' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/labels/vtoc.c:809:37: style: Parameter 'associated_f9' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/labels/vtoc.c:827:58: style: Parameter 'highest_f1' can be declared as pointer to const [constParameterPointer] parted-3.6/libparted/libparted.c:236:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] parted-3.6/libparted/libparted.c:43:11: style: struct member 'pointer_size_type::pointer' is never used. [unusedStructMember] parted-3.6/libparted/libparted.c:44:12: style: struct member 'pointer_size_type::size' is never used. [unusedStructMember] parted-3.6/libparted/tests/common.c:34:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_UNHANDLED [valueFlowBailoutIncompleteVar] parted-3.6/libparted/tests/common.c:38:27: style:inconclusive: Function '_create_disk' argument 1 names different: declaration 'size' definition 'n_bytes'. [funcArgNamesDifferent] parted-3.6/libparted/tests/common.h:13:33: note: Function '_create_disk' argument 1 names different: declaration 'size' definition 'n_bytes'. parted-3.6/libparted/tests/common.c:38:27: note: Function '_create_disk' argument 1 names different: declaration 'size' definition 'n_bytes'. parted-3.6/libparted/tests/disk.c:100:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_duplicate [valueFlowBailoutIncompleteVar] parted-3.6/libparted/tests/flags.c:40:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_BIOS_GRUB [valueFlowBailoutIncompleteVar] parted-3.6/libparted/tests/flags.c:68:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_BLS_BOOT [valueFlowBailoutIncompleteVar] parted-3.6/libparted/tests/flags.c:98:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_gpt_flag [valueFlowBailoutIncompleteVar] parted-3.6/libparted/tests/label.c:41:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parted-3.6/libparted/tests/label.c:66:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parted-3.6/libparted/tests/label.c:98:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parted-3.6/libparted/tests/label.c:131:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parted-3.6/libparted/tests/label.c:165:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_create_label [valueFlowBailoutIncompleteVar] parted-3.6/libparted/tests/symlink.c:134:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_symlink [valueFlowBailoutIncompleteVar] parted-3.6/libparted/tests/zerolen.c:32:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXIT_FAILURE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/timer.c:72:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PedTimer [valueFlowBailoutIncompleteVar] parted-3.6/libparted/timer.c:99:26: style: Parameter 'timer' can be declared as pointer to const. However it seems that '_nest_handler' is a callback function, if 'timer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/libparted/timer.c:141:24: note: You might need to cast the function pointer here parted-3.6/libparted/timer.c:99:26: note: Parameter 'timer' can be declared as pointer to const parted-3.6/libparted/unit.c:123:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_KILOBYTE_SIZE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/unit.c:170:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_UNIT_FIRST [valueFlowBailoutIncompleteVar] parted-3.6/libparted/unit.c:206:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_UNIT_CHS [valueFlowBailoutIncompleteVar] parted-3.6/libparted/unit.c:457:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_UNIT_KIBIBYTE [valueFlowBailoutIncompleteVar] parted-3.6/libparted/unit.c:254:2: warning: %f in format string (no. 2) requires 'double' but the argument type is 'signed int'. [invalidPrintfArgType_float] parted-3.6/parted/command.c:124:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] parted-3.6/parted/command.c:134:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] parted-3.6/parted/command.c:75:36: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] parted-3.6/parted/command.c:120:33: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] parted-3.6/parted/jsonwrt.c:207:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] parted-3.6/parted/parted.c:74:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_MEGABYTE_SIZE [valueFlowBailoutIncompleteVar] parted-3.6/parted/parted.c:215:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] parted-3.6/parted/parted.c:253:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_YES [valueFlowBailoutIncompleteVar] parted-3.6/parted/parted.c:273:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] parted-3.6/parted/parted.c:287:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_YES [valueFlowBailoutIncompleteVar] parted-3.6/parted/parted.c:562:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DEVICE_FILE [valueFlowBailoutIncompleteVar] parted-3.6/parted/parted.c:589:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_UNIT_KIBIBYTE [valueFlowBailoutIncompleteVar] parted-3.6/parted/parted.c:684:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DISK_CYLINDER_ALIGNMENT [valueFlowBailoutIncompleteVar] parted-3.6/parted/parted.c:904:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DISK_TYPE_PARTITION_NAME [valueFlowBailoutIncompleteVar] parted-3.6/parted/parted.c:941:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DISK_TYPE_PARTITION_TYPE_ID [valueFlowBailoutIncompleteVar] parted-3.6/parted/parted.c:1135:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_UNIT_KILOBYTE [valueFlowBailoutIncompleteVar] parted-3.6/parted/parted.c:1193:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_UNIT_CHS [valueFlowBailoutIncompleteVar] parted-3.6/parted/parted.c:1318:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DISK_CYLINDER_ALIGNMENT [valueFlowBailoutIncompleteVar] parted-3.6/parted/parted.c:1646:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXIT_SUCCESS [valueFlowBailoutIncompleteVar] parted-3.6/parted/parted.c:1659:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] parted-3.6/parted/parted.c:1810:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DISK_CYLINDER_ALIGNMENT [valueFlowBailoutIncompleteVar] parted-3.6/parted/parted.c:1875:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DISK_CYLINDER_ALIGNMENT [valueFlowBailoutIncompleteVar] parted-3.6/parted/parted.c:1956:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DEVICE_FILE [valueFlowBailoutIncompleteVar] parted-3.6/parted/parted.c:2094:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DEVICE_FILE [valueFlowBailoutIncompleteVar] parted-3.6/parted/parted.c:2131:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DEVICE_FILE [valueFlowBailoutIncompleteVar] parted-3.6/parted/parted.c:2231:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_UNIT_FIRST [valueFlowBailoutIncompleteVar] parted-3.6/parted/parted.c:2506:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] parted-3.6/parted/parted.c:2531:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] parted-3.6/parted/parted.c:2590:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_RETRY [valueFlowBailoutIncompleteVar] parted-3.6/parted/parted.c:2655:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DEVICE_FILE [valueFlowBailoutIncompleteVar] parted-3.6/parted/parted.c:2685:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable close_stdout [valueFlowBailoutIncompleteVar] parted-3.6/parted/parted.c:360:60: style: Condition 'down_dist==up_dist' is always true [knownConditionTrueFalse] parted-3.6/parted/parted.c:360:34: note: Assuming that condition 'up_distold_new.embedded.signature [uninitvar] parted-3.6/libparted/fs/hfs/probe.c:119:9: note: Assignment 'mdb=(struct HfsMasterDirectoryBlock*)buf', assigned value is parted-3.6/libparted/fs/hfs/probe.c:122:33: note: Uninitialized variable: mdb->old_new.embedded.signature 2.13.0 parted-3.6/libparted/fs/hfs/probe.c:122:33: error: Uninitialized variable: mdb->old_new.embedded.signature [uninitvar] parted-3.6/libparted/fs/hfs/probe.c:119:9: note: Assignment 'mdb=(struct _HfsMasterDirectoryBlock*)buf', assigned value is parted-3.6/libparted/fs/hfs/probe.c:122:33: note: Uninitialized variable: mdb->old_new.embedded.signature head parted-3.6/libparted/fs/hfs/probe.c:202:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/hfs/probe.c:213:14: error: Uninitialized variable: vh->signature [uninitvar] parted-3.6/libparted/fs/hfs/probe.c:204:25: note: Assignment 'vh=(struct HfsPVolumeHeader*)buf', assigned value is parted-3.6/libparted/fs/hfs/probe.c:208:6: note: Assuming condition is false parted-3.6/libparted/fs/hfs/probe.c:213:14: note: Uninitialized variable: vh->signature 2.13.0 parted-3.6/libparted/fs/hfs/probe.c:213:14: error: Uninitialized variable: vh->signature [uninitvar] parted-3.6/libparted/fs/hfs/probe.c:204:25: note: Assignment 'vh=(struct _HfsPVolumeHeader*)buf', assigned value is parted-3.6/libparted/fs/hfs/probe.c:208:6: note: Assuming condition is false parted-3.6/libparted/fs/hfs/probe.c:213:14: note: Uninitialized variable: vh->signature head parted-3.6/libparted/fs/r/fat/bootsector.c:143:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/fat/bootsector.c:403:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_CANCEL [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/fat/count.c:221:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flag [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/fat/count.c:263:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flag [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/fat/count.c:272:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flag [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/fat/fat.c:414:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/fat/fat.c:452:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/fat/resize.c:304:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_CANCEL [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/fat/resize.c:544:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_CANCEL [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/fat/table.c:304:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXIT_FAILURE [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/hfs/advfs.c:305:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/hfs/advfs_plus.c:314:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/hfs/advfs_plus.c:338:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/hfs/file.c:91:15: error: Uninitialized variable: ret_key->file_ID [uninitvar] parted-3.6/libparted/fs/r/hfs/file.c:75:27: note: Assignment 'ret_key=(struct HfsExtentKey*)record', assigned value is parted-3.6/libparted/fs/r/hfs/file.c:86:6: note: Assuming condition is false parted-3.6/libparted/fs/r/hfs/file.c:91:15: note: Uninitialized variable: ret_key->file_ID 2.13.0 parted-3.6/libparted/fs/r/hfs/file.c:91:15: error: Uninitialized variable: ret_key->file_ID [uninitvar] parted-3.6/libparted/fs/r/hfs/file.c:75:27: note: Assignment 'ret_key=(struct _HfsExtentKey*)record', assigned value is parted-3.6/libparted/fs/r/hfs/file.c:86:6: note: Assuming condition is false parted-3.6/libparted/fs/r/hfs/file.c:91:15: note: Uninitialized variable: ret_key->file_ID head parted-3.6/libparted/fs/r/hfs/file_plus.c:225:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/hfs/file_plus.c:268:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/hfs/file_plus.c:94:15: error: Uninitialized variable: ret_key->file_ID [uninitvar] parted-3.6/libparted/fs/r/hfs/file_plus.c:77:28: note: Assignment 'ret_key=(struct HfsPExtentKey*)record', assigned value is parted-3.6/libparted/fs/r/hfs/file_plus.c:89:6: note: Assuming condition is false parted-3.6/libparted/fs/r/hfs/file_plus.c:94:15: note: Uninitialized variable: ret_key->file_ID 2.13.0 parted-3.6/libparted/fs/r/hfs/file_plus.c:94:15: error: Uninitialized variable: ret_key->file_ID [uninitvar] parted-3.6/libparted/fs/r/hfs/file_plus.c:77:28: note: Assignment 'ret_key=(struct _HfsPExtentKey*)record', assigned value is parted-3.6/libparted/fs/r/hfs/file_plus.c:89:6: note: Assuming condition is false parted-3.6/libparted/fs/r/hfs/file_plus.c:94:15: note: Uninitialized variable: ret_key->file_ID head parted-3.6/libparted/fs/r/hfs/hfs.c:168:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ped_alignment_any [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/hfs/hfs.c:176:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/hfs/hfs.c:349:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/hfs/hfs.c:535:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ped_alignment_any [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/hfs/hfs.c:543:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/hfs/hfs.c:713:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/hfs/hfs.c:893:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/hfs/journal.c:114:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/hfs/journal.c:138:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/hfs/journal.c:229:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/hfs/probe.c:66:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/hfs/probe.c:79:15: error: Uninitialized variable: mdb->signature [uninitvar] parted-3.6/libparted/fs/r/hfs/probe.c:74:8: note: Assignment 'mdb=(struct HfsMasterDirectoryBlock*)buf', assigned value is parted-3.6/libparted/fs/r/hfs/probe.c:79:15: note: Uninitialized variable: mdb->signature 2.13.0 parted-3.6/libparted/fs/r/hfs/probe.c:79:15: error: Uninitialized variable: mdb->signature [uninitvar] parted-3.6/libparted/fs/r/hfs/probe.c:74:8: note: Assignment 'mdb=(struct _HfsMasterDirectoryBlock*)buf', assigned value is parted-3.6/libparted/fs/r/hfs/probe.c:79:15: note: Uninitialized variable: mdb->signature head parted-3.6/libparted/fs/r/hfs/reloc.c:167:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/hfs/reloc.c:186:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/hfs/reloc.c:276:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/hfs/reloc.c:368:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/hfs/reloc.c:466:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/hfs/reloc_plus.c:170:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/hfs/reloc_plus.c:332:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/hfs/reloc_plus.c:479:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/hfs/reloc_plus.c:607:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/hfs/reloc_plus.c:723:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/fs/r/hfs/reloc_plus.c:916:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/aix.c:196:40: style: Parameter 'part' can be declared as pointer to const. However it seems that 'aix_partition_enumerate' is a callback function, if 'part' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/libparted/labels/aix.c:217:2: note: You might need to cast the function pointer here parted-3.6/libparted/labels/aix.c:196:40: note: Parameter 'part' can be declared as pointer to const head parted-3.6/libparted/labels/aix.c:202:30: style: Parameter 'disk' can be declared as pointer to const. However it seems that 'aix_alloc_metadata' is a callback function, if 'disk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/libparted/labels/aix.c:217:2: note: You might need to cast the function pointer here parted-3.6/libparted/labels/aix.c:202:30: note: Parameter 'disk' can be declared as pointer to const head parted-3.6/libparted/labels/atari.c:1041:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/atari.c:1226:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/atari.c:1318:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/atari.c:1359:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_BOOT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/atari.c:1384:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_BOOT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/atari.c:1394:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_BOOT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/atari.c:1470:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/atari.c:1685:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/atari.c:1730:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/atari.c:1841:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_METADATA [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/atari.c:1889:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/atari.c:1965:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL_MASK [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/atari.c:341:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flag [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/atari.c:551:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/atari.c:589:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flag [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/atari.c:656:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/atari.c:739:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/atari.c:761:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/atari.c:870:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/atari.c:947:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/atari.c:959:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_UNHANDLED [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/atari.c:990:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dasd.c:361:23: style: Variable 'cms_ptr' can be declared as pointer to const [constVariablePointer] head parted-3.6/libparted/labels/dasd.c:362:19: style: Variable 'ldl_ptr' can be declared as pointer to const [constVariablePointer] head parted-3.6/libparted/labels/dasd.c:544:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PDEBUG [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dasd.c:620:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USABLE_PARTITIONS [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dasd.c:818:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USABLE_PARTITIONS [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dasd.c:845:17: style: Variable 'arch_specific' can be declared as pointer to const [constVariablePointer] head parted-3.6/libparted/labels/dasd.c:849:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PDEBUG [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dasd.c:909:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USABLE_PARTITIONS [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dasd.c:931:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PDEBUG [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dasd.c:981:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DEVICE_FILE [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dos.c:1030:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dos.c:1055:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_BOOT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dos.c:1163:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dos.c:1466:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dos.c:1587:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dos.c:1629:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dos.c:1708:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dos.c:1729:44: style: Parameter 'part' can be declared as pointer to const. However it seems that 'msdos_partition_set_type_id' is a callback function, if 'part' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/libparted/labels/dos.c:2584:26: note: You might need to cast the function pointer here parted-3.6/libparted/labels/dos.c:1729:44: note: Parameter 'part' can be declared as pointer to const head parted-3.6/libparted/labels/dos.c:2008:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dos.c:2165:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dos.c:2209:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dos.c:2247:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dos.c:2364:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dos.c:2383:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_NORMAL [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dos.c:2408:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_NORMAL [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dos.c:2456:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_NORMAL [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dos.c:2503:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dos.c:2549:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dvh.c:311:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_CANCEL [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dvh.c:415:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dvh.c:428:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dvh.c:522:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dvh.c:586:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dvh.c:706:39: style: Parameter 'part' can be declared as pointer to const. However it seems that 'dvh_partition_set_name' is a callback function, if 'part' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/libparted/labels/dvh.c:872:22: note: You might need to cast the function pointer here parted-3.6/libparted/labels/dvh.c:706:39: note: Parameter 'part' can be declared as pointer to const head parted-3.6/libparted/labels/dvh.c:710:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dvh.c:761:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_EXTENDED [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dvh.c:786:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/dvh.c:845:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_METADATA [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/gpt.c:1025:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/gpt.c:1594:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uuid_t [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/gpt.c:1702:39: style: Parameter 'part' can be declared as pointer to const. However it seems that 'gpt_partition_set_name' is a callback function, if 'part' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/libparted/labels/gpt.c:1904:24: note: You might need to cast the function pointer here parted-3.6/libparted/labels/gpt.c:1702:39: note: Parameter 'part' can be declared as pointer to const head parted-3.6/libparted/labels/gpt.c:1708:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CODESET [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/gpt.c:1733:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CODESET [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/gpt.c:1788:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uuid_t [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/gpt.c:1806:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uuid_t [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/gpt.c:794:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/loop.c:223:40: style: Parameter 'part' can be declared as pointer to const. However it seems that 'loop_partition_set_flag' is a callback function, if 'part' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/libparted/labels/loop.c:296:2: note: You might need to cast the function pointer here parted-3.6/libparted/labels/loop.c:223:40: note: Parameter 'part' can be declared as pointer to const head parted-3.6/libparted/labels/loop.c:268:31: style: Parameter 'disk' can be declared as pointer to const. However it seems that 'loop_alloc_metadata' is a callback function, if 'disk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parted-3.6/libparted/labels/loop.c:296:2: note: You might need to cast the function pointer here parted-3.6/libparted/labels/loop.c:268:31: note: Parameter 'disk' can be declared as pointer to const head parted-3.6/libparted/labels/mac.c:1022:28: style: Parameter 'disk' can be declared as pointer to const [constParameterPointer] head parted-3.6/libparted/labels/mac.c:1088:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_FREESPACE [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/mac.c:1190:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_SWAP [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/mac.c:1347:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/mac.c:231:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_CANCEL [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/mac.c:339:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_NORMAL [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/mac.c:510:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/mac.c:652:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/mac.c:780:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/rdb.c:169:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/rdb.c:480:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/rdb.c:574:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/rdb.c:656:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_SECTOR_SIZE_DEFAULT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/sun.c:258:34: style: Parameter 'disk' can be declared as pointer to const [constParameterPointer] head parted-3.6/libparted/labels/sun.c:753:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ped_alignment_any [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/sun.c:819:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/vtoc.c:1149:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXIT_FAILURE [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/vtoc.c:1227:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ds7ext_t [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/vtoc.c:1295:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BIG_DISK_SIZE [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/vtoc.c:375:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable volume_label_t [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/vtoc.c:428:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable volume_label_t [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/vtoc.c:446:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VOLSER_LENGTH [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/vtoc.c:474:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VOLSER_LENGTH [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/vtoc.c:540:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable format1_label_t [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/vtoc.c:588:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable format1_label_t [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/vtoc.c:663:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DASD_3380_VALUE [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/vtoc.c:713:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable format5_label_t [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/vtoc.c:728:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable format7_label_t [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/vtoc.c:786:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extent_t [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/vtoc.c:832:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cchhb_t [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/vtoc.c:905:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXIT_FAILURE [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/labels/vtoc.c:990:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ds5ext_t [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/tests/flags.c:68:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_BLS_BOOT [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/tests/flags.c:98:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_gpt_flag [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/tests/label.c:131:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/tests/label.c:165:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_create_label [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/tests/label.c:66:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/tests/label.c:98:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/unit.c:170:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_UNIT_FIRST [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/unit.c:206:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_UNIT_CHS [valueFlowBailoutIncompleteVar] head parted-3.6/libparted/unit.c:457:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_UNIT_KIBIBYTE [valueFlowBailoutIncompleteVar] head parted-3.6/parted/command.c:134:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head parted-3.6/parted/parted.c:1070:32: style: Parameter 'part' can be declared as pointer to const [constParameterPointer] head parted-3.6/parted/parted.c:1135:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_UNIT_KILOBYTE [valueFlowBailoutIncompleteVar] head parted-3.6/parted/parted.c:1193:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_UNIT_CHS [valueFlowBailoutIncompleteVar] head parted-3.6/parted/parted.c:1318:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DISK_CYLINDER_ALIGNMENT [valueFlowBailoutIncompleteVar] head parted-3.6/parted/parted.c:1646:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXIT_SUCCESS [valueFlowBailoutIncompleteVar] head parted-3.6/parted/parted.c:1659:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_PARTITION_LOGICAL [valueFlowBailoutIncompleteVar] head parted-3.6/parted/parted.c:1810:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DISK_CYLINDER_ALIGNMENT [valueFlowBailoutIncompleteVar] head parted-3.6/parted/parted.c:1875:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DISK_CYLINDER_ALIGNMENT [valueFlowBailoutIncompleteVar] head parted-3.6/parted/parted.c:1956:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DEVICE_FILE [valueFlowBailoutIncompleteVar] head parted-3.6/parted/parted.c:2094:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DEVICE_FILE [valueFlowBailoutIncompleteVar] head parted-3.6/parted/parted.c:2131:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DEVICE_FILE [valueFlowBailoutIncompleteVar] head parted-3.6/parted/parted.c:215:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head parted-3.6/parted/parted.c:2231:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_UNIT_FIRST [valueFlowBailoutIncompleteVar] head parted-3.6/parted/parted.c:2506:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head parted-3.6/parted/parted.c:2531:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] head parted-3.6/parted/parted.c:253:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_YES [valueFlowBailoutIncompleteVar] head parted-3.6/parted/parted.c:2590:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_RETRY [valueFlowBailoutIncompleteVar] head parted-3.6/parted/parted.c:2655:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DEVICE_FILE [valueFlowBailoutIncompleteVar] head parted-3.6/parted/parted.c:2685:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable close_stdout [valueFlowBailoutIncompleteVar] head parted-3.6/parted/parted.c:273:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_IGNORE [valueFlowBailoutIncompleteVar] head parted-3.6/parted/parted.c:287:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_EXCEPTION_YES [valueFlowBailoutIncompleteVar] head parted-3.6/parted/parted.c:562:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DEVICE_FILE [valueFlowBailoutIncompleteVar] head parted-3.6/parted/parted.c:589:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_UNIT_KIBIBYTE [valueFlowBailoutIncompleteVar] head parted-3.6/parted/parted.c:684:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DISK_CYLINDER_ALIGNMENT [valueFlowBailoutIncompleteVar] head parted-3.6/parted/parted.c:904:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DISK_TYPE_PARTITION_NAME [valueFlowBailoutIncompleteVar] head parted-3.6/parted/parted.c:941:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PED_DISK_TYPE_PARTITION_TYPE_ID [valueFlowBailoutIncompleteVar] 2.13.0 parted-3.6/parted/table.c:203:27: style: Condition 'i+1