2022-06-25 18:38 ftp://ftp.de.debian.org/debian/pool/main/v/virt-p2v/virt-p2v_1.42.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j2 platform: Linux-5.4.0-110-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.24 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 cppcheck: head 2.8 head-info: d204c5f (2022-06-25 17:09:51 +0200) count: 132 132 elapsed-time: 13.4 16.7 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: virt-p2v-1.42.0/conversion.c:338:61: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] virt-p2v-1.42.0/conversion.c:347:55: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] virt-p2v-1.42.0/gnulib/lib/c-ctype.h:29:0: error: #error "Please include config.h first." [preprocessorErrorDirective] virt-p2v-1.42.0/gnulib/lib/dirname-lgpl.c:38:35: style: Condition 'prefix_length!=0' is always false [knownConditionTrueFalse] virt-p2v-1.42.0/gnulib/lib/dirname-lgpl.c:34:26: note: Assignment 'prefix_length=0', assigned value is 0 virt-p2v-1.42.0/gnulib/lib/dirname-lgpl.c:38:35: note: Condition 'prefix_length!=0' is always false virt-p2v-1.42.0/gnulib/lib/error.c:142:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] virt-p2v-1.42.0/gnulib/lib/getopt1.c:36:21: style:inconclusive: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] virt-p2v-1.42.0/gnulib/lib/getopt_int.h:107:32: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. virt-p2v-1.42.0/gnulib/lib/getopt1.c:36:21: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. virt-p2v-1.42.0/gnulib/lib/getopt1.c:36:34: style:inconclusive: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] virt-p2v-1.42.0/gnulib/lib/getopt_int.h:107:48: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. virt-p2v-1.42.0/gnulib/lib/getopt1.c:36:34: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. virt-p2v-1.42.0/gnulib/lib/getopt1.c:36:52: style:inconclusive: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] virt-p2v-1.42.0/gnulib/lib/getopt_int.h:108:19: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. virt-p2v-1.42.0/gnulib/lib/getopt1.c:36:52: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. virt-p2v-1.42.0/gnulib/lib/getopt1.c:37:24: style:inconclusive: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] virt-p2v-1.42.0/gnulib/lib/getopt_int.h:109:28: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. virt-p2v-1.42.0/gnulib/lib/getopt1.c:37:24: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. virt-p2v-1.42.0/gnulib/lib/getopt1.c:37:43: style:inconclusive: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] virt-p2v-1.42.0/gnulib/lib/getopt_int.h:109:45: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. virt-p2v-1.42.0/gnulib/lib/getopt1.c:37:43: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. virt-p2v-1.42.0/gnulib/lib/getopt1.c:38:24: style:inconclusive: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] virt-p2v-1.42.0/gnulib/lib/getopt_int.h:110:28: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. virt-p2v-1.42.0/gnulib/lib/getopt1.c:38:24: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. virt-p2v-1.42.0/gnulib/lib/getopt1.c:59:26: style:inconclusive: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] virt-p2v-1.42.0/gnulib/lib/getopt_int.h:112:37: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. virt-p2v-1.42.0/gnulib/lib/getopt1.c:59:26: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. virt-p2v-1.42.0/gnulib/lib/getopt1.c:59:39: style:inconclusive: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] virt-p2v-1.42.0/gnulib/lib/getopt_int.h:112:53: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. virt-p2v-1.42.0/gnulib/lib/getopt1.c:59:39: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. virt-p2v-1.42.0/gnulib/lib/getopt1.c:59:57: style:inconclusive: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] virt-p2v-1.42.0/gnulib/lib/getopt_int.h:113:17: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. virt-p2v-1.42.0/gnulib/lib/getopt1.c:59:57: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. virt-p2v-1.42.0/gnulib/lib/getopt1.c:60:29: style:inconclusive: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] virt-p2v-1.42.0/gnulib/lib/getopt_int.h:114:26: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. virt-p2v-1.42.0/gnulib/lib/getopt1.c:60:29: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. virt-p2v-1.42.0/gnulib/lib/getopt1.c:60:48: style:inconclusive: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] virt-p2v-1.42.0/gnulib/lib/getopt_int.h:115:10: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. virt-p2v-1.42.0/gnulib/lib/getopt1.c:60:48: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. virt-p2v-1.42.0/gnulib/lib/getopt1.c:61:29: style:inconclusive: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] virt-p2v-1.42.0/gnulib/lib/getopt_int.h:116:26: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. virt-p2v-1.42.0/gnulib/lib/getopt1.c:61:29: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. virt-p2v-1.42.0/gnulib/lib/getopt.c:471:25: style:inconclusive: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] virt-p2v-1.42.0/gnulib/lib/getopt_int.h:101:36: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. virt-p2v-1.42.0/gnulib/lib/getopt.c:471:25: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. virt-p2v-1.42.0/gnulib/lib/getopt.c:471:38: style:inconclusive: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] virt-p2v-1.42.0/gnulib/lib/getopt_int.h:101:52: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. virt-p2v-1.42.0/gnulib/lib/getopt.c:471:38: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. virt-p2v-1.42.0/gnulib/lib/getopt.c:471:56: style:inconclusive: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] virt-p2v-1.42.0/gnulib/lib/getopt_int.h:102:23: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. virt-p2v-1.42.0/gnulib/lib/getopt.c:471:56: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. virt-p2v-1.42.0/gnulib/lib/getopt.c:472:28: style:inconclusive: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] virt-p2v-1.42.0/gnulib/lib/getopt_int.h:103:32: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. virt-p2v-1.42.0/gnulib/lib/getopt.c:472:28: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. virt-p2v-1.42.0/gnulib/lib/getopt.c:472:43: style:inconclusive: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] virt-p2v-1.42.0/gnulib/lib/getopt_int.h:103:49: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. virt-p2v-1.42.0/gnulib/lib/getopt.c:472:43: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. virt-p2v-1.42.0/gnulib/lib/getopt.c:473:11: style:inconclusive: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] virt-p2v-1.42.0/gnulib/lib/getopt_int.h:104:15: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. virt-p2v-1.42.0/gnulib/lib/getopt.c:473:11: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. virt-p2v-1.42.0/gnulib/lib/getopt.c:473:43: style:inconclusive: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] virt-p2v-1.42.0/gnulib/lib/getopt_int.h:104:49: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. virt-p2v-1.42.0/gnulib/lib/getopt.c:473:43: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. virt-p2v-1.42.0/gnulib/lib/getopt.c:473:50: style:inconclusive: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] virt-p2v-1.42.0/gnulib/lib/getopt_int.h:105:15: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. virt-p2v-1.42.0/gnulib/lib/getopt.c:473:50: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. virt-p2v-1.42.0/gnulib/lib/getopt.c:703:23: style:inconclusive: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] virt-p2v-1.42.0/gnulib/lib/getopt_int.h:25:34: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. virt-p2v-1.42.0/gnulib/lib/getopt.c:703:23: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. virt-p2v-1.42.0/gnulib/lib/getopt.c:703:36: style:inconclusive: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] virt-p2v-1.42.0/gnulib/lib/getopt_int.h:25:50: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. virt-p2v-1.42.0/gnulib/lib/getopt.c:703:36: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. virt-p2v-1.42.0/gnulib/lib/getopt.c:703:54: style:inconclusive: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] virt-p2v-1.42.0/gnulib/lib/getopt_int.h:26:21: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. virt-p2v-1.42.0/gnulib/lib/getopt.c:703:54: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. virt-p2v-1.42.0/gnulib/lib/getopt.c:704:26: style:inconclusive: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] virt-p2v-1.42.0/gnulib/lib/getopt_int.h:27:30: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. virt-p2v-1.42.0/gnulib/lib/getopt.c:704:26: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. virt-p2v-1.42.0/gnulib/lib/getopt.c:704:41: style:inconclusive: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] virt-p2v-1.42.0/gnulib/lib/getopt_int.h:27:47: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. virt-p2v-1.42.0/gnulib/lib/getopt.c:704:41: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. virt-p2v-1.42.0/gnulib/lib/getopt.c:704:54: style:inconclusive: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] virt-p2v-1.42.0/gnulib/lib/getopt_int.h:28:13: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. virt-p2v-1.42.0/gnulib/lib/getopt.c:704:54: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. virt-p2v-1.42.0/gnulib/lib/getopt.c:705:9: style:inconclusive: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] virt-p2v-1.42.0/gnulib/lib/getopt_int.h:28:30: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. virt-p2v-1.42.0/gnulib/lib/getopt.c:705:9: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. virt-p2v-1.42.0/gnulib/lib/getprogname.c:248:0: error: #error "getprogname module not ported to this OS" [preprocessorErrorDirective] virt-p2v-1.42.0/gnulib/lib/strerror.c:45:7: style: Condition 'msg' is always false [knownConditionTrueFalse] virt-p2v-1.42.0/gnulib/lib/strerror.c:44:21: note: Assignment 'msg=NULL', assigned value is 0 virt-p2v-1.42.0/gnulib/lib/strerror.c:45:7: note: Condition 'msg' is always false virt-p2v-1.42.0/gnulib/lib/strtol.c:310:13: warning: Either the condition 's==end' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] virt-p2v-1.42.0/gnulib/lib/strtol.c:303:11: note: Assignment 'end=NULL', assigned value is 0 virt-p2v-1.42.0/gnulib/lib/strtol.c:312:13: note: Assuming that condition 's==end' is not redundant virt-p2v-1.42.0/gnulib/lib/strtol.c:284:10: note: Assignment 'save=s', assigned value is 0 virt-p2v-1.42.0/gnulib/lib/strtol.c:284:8: note: save is assigned 's' here. virt-p2v-1.42.0/gnulib/lib/strtol.c:310:13: note: Null pointer dereference virt-p2v-1.42.0/gnulib/lib/xstrtol.c:86:20: error: Uninitialized variable: &t_ptr [uninitvar] virt-p2v-1.42.0/gnulib/tests/binary-io.h:29:0: error: #error "Please include config.h first." [preprocessorErrorDirective] virt-p2v-1.42.0/gnulib/tests/alloca.c:122:8: style: union member 'hdr::align' is never used. [unusedStructMember] virt-p2v-1.42.0/gnulib/tests/stat-time.h:31:0: error: #error "Please include config.h first." [preprocessorErrorDirective] virt-p2v-1.42.0/gnulib/tests/gettimeofday.c:140:0: error: #error "Only 1-second nominal clock resolution found. Is that intended?" \ [preprocessorErrorDirective] virt-p2v-1.42.0/gnulib/tests/inet_pton.c:152:16: error: Uninitialized variable: tmp [uninitvar] virt-p2v-1.42.0/gnulib/tests/inet_pton.c:150:14: note: Assuming condition is false virt-p2v-1.42.0/gnulib/tests/inet_pton.c:152:16: note: Uninitialized variable: tmp virt-p2v-1.42.0/gnulib/tests/sig-handler.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] virt-p2v-1.42.0/gnulib/tests/pipe.c:48:0: error: #error "This platform lacks a pipe function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." [preprocessorErrorDirective] virt-p2v-1.42.0/gnulib/tests/sigaction.c:55:0: error: #error "Revisit the assumptions made in the sigaction module" [preprocessorErrorDirective] virt-p2v-1.42.0/gnulib/tests/sleep.c:74:0: error: #error "Please port gnulib sleep.c to your platform, possibly using usleep() or select(), then report this to bug-gnulib." [preprocessorErrorDirective] virt-p2v-1.42.0/gnulib/tests/test-accept.c:42:5: error: Invalid accept() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] virt-p2v-1.42.0/gnulib/tests/test-bind.c:46:7: error: Invalid bind() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] virt-p2v-1.42.0/gnulib/tests/test-close.c:34:5: error: Invalid close() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] virt-p2v-1.42.0/gnulib/tests/test-connect.c:46:7: error: Invalid connect() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] virt-p2v-1.42.0/gnulib/tests/test-fdopen.c:41:13: error: Return value of allocation function 'fdopen' is not stored. [leakReturnValNotUsed] virt-p2v-1.42.0/gnulib/tests/test-fputc.c:63:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] virt-p2v-1.42.0/gnulib/tests/test-fgetc.c:71:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] virt-p2v-1.42.0/gnulib/tests/test-fstat.c:37:5: error: Invalid fstat() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] virt-p2v-1.42.0/gnulib/tests/test-fread.c:72:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] virt-p2v-1.42.0/gnulib/tests/test-ftruncate.c:30:23: style: Parameter 'argv' can be declared as const array [constParameter] virt-p2v-1.42.0/gnulib/tests/test-fwrite.c:64:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] virt-p2v-1.42.0/gnulib/tests/test-getopt.h:92:11: style: Redundant initialization for 'posixly'. The initialized value is overwritten before it is read. [redundantInitialization] virt-p2v-1.42.0/gnulib/tests/test-getopt.h:86:16: note: posixly is initialized virt-p2v-1.42.0/gnulib/tests/test-getopt.h:92:11: note: posixly is overwritten virt-p2v-1.42.0/gnulib/tests/test-gettimeofday.c:38:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] virt-p2v-1.42.0/gnulib/tests/test-ignore-value.c:34:16: style: struct member 's::i' is never used. [unusedStructMember] virt-p2v-1.42.0/gnulib/tests/test-ignore-value.c:68:19: style: Variable 's1' is not assigned a value. [unassignedVariable] virt-p2v-1.42.0/gnulib/tests/test-intprops.c:192:3: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] virt-p2v-1.42.0/gnulib/tests/test-intprops.c:193:3: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] virt-p2v-1.42.0/gnulib/tests/test-intprops.c:198:3: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] virt-p2v-1.42.0/gnulib/tests/test-intprops.c:201:3: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:1586:9: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:1583:29: note: outer condition: non_options_count==2 virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:1586:9: note: opposite inner condition: !(non_options_count==2) virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:108:56: warning: Possible null pointer dereference: longopts [nullPointer] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:331:43: note: Calling function 'do_getopt_long', 4th argument 'NULL' value is 0 virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:108:56: note: Null pointer dereference virt-p2v-1.42.0/gnulib/tests/test-isatty.c:46:5: error: Invalid isatty() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] virt-p2v-1.42.0/gnulib/tests/test-getopt.h:98:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:19:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:98:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:99:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:20:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:99:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:130:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:19:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:130:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:131:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:20:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:131:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:163:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:19:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:163:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:164:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:20:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:164:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:195:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:19:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:195:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:196:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:20:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:196:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:230:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:19:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:230:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:231:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:20:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:231:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:261:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:19:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:261:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:262:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:20:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:262:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:293:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:19:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:293:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:294:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:20:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:294:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:429:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:19:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:429:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:430:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:20:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:430:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:463:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:19:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:463:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:464:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:20:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:464:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:497:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:19:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:497:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:498:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:20:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:498:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:531:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:19:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:531:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:532:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:20:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:532:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:565:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:19:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:565:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:566:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:20:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:566:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:599:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:19:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:599:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:600:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:20:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:600:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:635:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:19:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:635:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:636:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:20:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:636:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:665:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:19:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:665:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:666:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:20:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:666:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:695:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:19:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:695:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:696:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:20:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:696:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:727:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:19:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:727:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:728:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:20:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:728:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:794:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:19:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:794:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:795:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:20:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:795:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:1198:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:19:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:1198:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-getopt.h:1199:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] virt-p2v-1.42.0/gnulib/tests/test-getopt_long.h:20:12: note: Shadowed declaration virt-p2v-1.42.0/gnulib/tests/test-getopt.h:1199:11: note: Shadow variable virt-p2v-1.42.0/gnulib/tests/test-listen.c:38:5: error: Invalid listen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] virt-p2v-1.42.0/gnulib/tests/glthread/thread.h:87:0: error: #error "Please include config.h first." [preprocessorErrorDirective] virt-p2v-1.42.0/gnulib/tests/test-raise.c:49:3: style:inconclusive: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] virt-p2v-1.42.0/gnulib/tests/test-stdalign.c:38:0: error: #error "alignof is not a macro" [preprocessorErrorDirective] virt-p2v-1.42.0/gnulib/tests/test-stddef.c:39:8: style: struct member 'd::e' is never used. [unusedStructMember] virt-p2v-1.42.0/gnulib/tests/test-stddef.c:40:8: style: struct member 'd::f' is never used. [unusedStructMember] virt-p2v-1.42.0/gnulib/tests/test-ttyname_r.c:52:27: error: Invalid ttyname_r() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] virt-p2v-1.42.0/gnulib/tests/test-ttyname_r.c:45:3: error: Uninitialized variable: buf [uninitvar] virt-p2v-1.42.0/gnulib/tests/test-ttyname_r.c:39:10: note: Assuming condition is false virt-p2v-1.42.0/gnulib/tests/test-ttyname_r.c:45:3: note: Uninitialized variable: buf virt-p2v-1.42.0/gnulib/tests/test-usleep.c:34:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] virt-p2v-1.42.0/gnulib/tests/test-usleep.c:37:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] virt-p2v-1.42.0/gnulib/tests/test-usleep.c:34:3: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] virt-p2v-1.42.0/gnulib/tests/test-unsetenv.c:40:12: style: Variable 'entry[0]' is assigned a value that is never used. [unreadVariable] virt-p2v-1.42.0/gnulib/tests/test-verify.c:55:13: style: Same expression on both sides of '=='. [duplicateExpression] virt-p2v-1.42.0/gnulib/tests/test-verify.c:58:35: style: Same expression on both sides of '=='. [duplicateExpression] virt-p2v-1.42.0/gnulib/tests/usleep.c:62:56: style: The comparison 'micro/1000000 != seconds' is always false because 'micro/1000000' and 'seconds' represent the same value. [knownConditionTrueFalse] virt-p2v-1.42.0/gnulib/tests/usleep.c:61:32: note: 'seconds' is assigned value 'micro/1000000' here. virt-p2v-1.42.0/gnulib/tests/usleep.c:62:56: note: The comparison 'micro/1000000 != seconds' is always false because 'micro/1000000' and 'seconds' represent the same value. virt-p2v-1.42.0/kernel-cmdline.c:184:25: style:inconclusive: Function 'get_cmdline_key' argument 1 names different: declaration 'cmdline' definition 'argv'. [funcArgNamesDifferent] virt-p2v-1.42.0/p2v.h:69:44: note: Function 'get_cmdline_key' argument 1 names different: declaration 'cmdline' definition 'argv'. virt-p2v-1.42.0/kernel-cmdline.c:184:25: note: Function 'get_cmdline_key' argument 1 names different: declaration 'cmdline' definition 'argv'. virt-p2v-1.42.0/gui.c:1794:23: style:inconclusive: Function 'set_log_dir' argument 1 names different: declaration 'remote_dir' definition 'user_data'. [funcArgNamesDifferent] virt-p2v-1.42.0/gui.c:1596:39: note: Function 'set_log_dir' argument 1 names different: declaration 'remote_dir' definition 'user_data'. virt-p2v-1.42.0/gui.c:1794:23: note: Function 'set_log_dir' argument 1 names different: declaration 'remote_dir' definition 'user_data'. virt-p2v-1.42.0/gui.c:1822:22: style:inconclusive: Function 'set_status' argument 1 names different: declaration 'msg' definition 'user_data'. [funcArgNamesDifferent] virt-p2v-1.42.0/gui.c:1597:38: note: Function 'set_status' argument 1 names different: declaration 'msg' definition 'user_data'. virt-p2v-1.42.0/gui.c:1822:22: note: Function 'set_status' argument 1 names different: declaration 'msg' definition 'user_data'. virt-p2v-1.42.0/gui.c:1844:26: style:inconclusive: Function 'add_v2v_output' argument 1 names different: declaration 'msg' definition 'user_data'. [funcArgNamesDifferent] virt-p2v-1.42.0/gui.c:1598:42: note: Function 'add_v2v_output' argument 1 names different: declaration 'msg' definition 'user_data'. virt-p2v-1.42.0/gui.c:1844:26: note: Function 'add_v2v_output' argument 1 names different: declaration 'msg' definition 'user_data'. virt-p2v-1.42.0/main.c:478:9: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] virt-p2v-1.42.0/main.c:550:9: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] virt-p2v-1.42.0/nbd.c:403:9: error: Return value of allocation function 'open' is not stored. [leakReturnValNotUsed] virt-p2v-1.42.0/nbd.c:479:9: error: Return value of allocation function 'open' is not stored. [leakReturnValNotUsed] virt-p2v-1.42.0/nbd.c:567:26: style:inconclusive: Function 'bind_tcpip_socket' argument 3 names different: declaration 'fds' definition 'fds_rtn'. [funcArgNamesDifferent] virt-p2v-1.42.0/nbd.c:95:75: note: Function 'bind_tcpip_socket' argument 3 names different: declaration 'fds' definition 'fds_rtn'. virt-p2v-1.42.0/nbd.c:567:26: note: Function 'bind_tcpip_socket' argument 3 names different: declaration 'fds' definition 'fds_rtn'. virt-p2v-1.42.0/nbd.c:567:43: style:inconclusive: Function 'bind_tcpip_socket' argument 4 names different: declaration 'nr_fds' definition 'nr_fds_rtn'. [funcArgNamesDifferent] virt-p2v-1.42.0/nbd.c:95:88: note: Function 'bind_tcpip_socket' argument 4 names different: declaration 'nr_fds' definition 'nr_fds_rtn'. virt-p2v-1.42.0/nbd.c:567:43: note: Function 'bind_tcpip_socket' argument 4 names different: declaration 'nr_fds' definition 'nr_fds_rtn'. virt-p2v-1.42.0/ssh.c:133:7: style: Unused variable: p [unusedVariable] virt-p2v-1.42.0/whole-file.c:59:5: error: Resource leak: fd [resourceLeak] diff: head virt-p2v-1.42.0/gnulib/lib/strtol.c:310:13: warning: Either the condition 's==end' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] virt-p2v-1.42.0/gnulib/lib/strtol.c:303:11: note: Assignment 'end=NULL', assigned value is 0 virt-p2v-1.42.0/gnulib/lib/strtol.c:312:13: note: Assuming that condition 's==end' is not redundant virt-p2v-1.42.0/gnulib/lib/strtol.c:284:10: note: Assignment 'save=s', assigned value is 0 virt-p2v-1.42.0/gnulib/lib/strtol.c:284:8: note: save is assigned 's' here. virt-p2v-1.42.0/gnulib/lib/strtol.c:310:13: note: Null pointer dereference 2.8 virt-p2v-1.42.0/gnulib/lib/strtol.c:310:13: warning: Either the condition 's==end' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] virt-p2v-1.42.0/gnulib/lib/strtol.c:312:13: note: Assuming that condition 's==end' is not redundant virt-p2v-1.42.0/gnulib/lib/strtol.c:284:10: note: Assignment 'save=s', assigned value is 0 virt-p2v-1.42.0/gnulib/lib/strtol.c:284:8: note: save is assigned 's' here. virt-p2v-1.42.0/gnulib/lib/strtol.c:310:13: note: Null pointer dereference head virt-p2v-1.42.0/gnulib/tests/test-ftruncate.c:30:23: style: Parameter 'argv' can be declared as const array [constParameter] 2.8 virt-p2v-1.42.0/gnulib/tests/test-ftruncate.c:30:23: style: Parameter 'argv' can be declared with const [constParameter] DONE