2024-04-25 13:41 ftp://ftp.de.debian.org/debian/pool/main/l/lftp/lftp_4.9.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openssl --library=zlib --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 --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j8 platform: Linux-6.6.27_1-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.57 compiler: g++ (GCC) 13.2.0 cppcheck: head 2.14.0 head-info: da380ea (2024-04-25 10:28:43 +0200) count: 421 421 elapsed-time: 6.5 6.5 head-timing-info: old-timing-info: head results: lftp-4.9.2/lib/af_alg.h:99:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAFNOSUPPORT [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/af_alg.h:106:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAFNOSUPPORT [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/c-ctype.h:29:0: error: #error "Please include config.h first." [preprocessorErrorDirective] lftp-4.9.2/lib/vasnprintf.h:58:15: error: There is an unknown macro here somewhere. Configuration is required. If asnprintf is a macro then please configure it. [unknownMacro] lftp-4.9.2/lib/btowc.c:29:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/af_alg.h:97:21: style: Parameter 'resblock' can be declared as pointer to const [constParameterPointer] lftp-4.9.2/lib/af_alg.h:103:21: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] lftp-4.9.2/lib/af_alg.h:104:21: style: Parameter 'resblock' can be declared as pointer to const [constParameterPointer] lftp-4.9.2/lib/chown.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/cloexec.c:62:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/cloexec.c:82:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_DUPFD_CLOEXEC [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/dirfd.c:84:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/closedir.c:58:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/dup2.c:182:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/basename-lgpl.c:60:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] lftp-4.9.2/lib/fchown-stub.c:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/error.c:142:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] lftp-4.9.2/lib/fcntl.c:437:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/fcntl.c:492:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/fflush.c:191:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/filemode.c:99:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/argmatch.c:152:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/fpurge.c:144:0: error: #error "Please port gnulib fpurge.c to your platform! Look at the definitions of fflush, setvbuf and ungetc on your system, then report this to bug-gnulib." [preprocessorErrorDirective] lftp-4.9.2/lib/freading.c:72:0: error: #error "Please port gnulib freading.c to your platform!" [preprocessorErrorDirective] lftp-4.9.2/lib/fflush.c:99:29: style: Parameter '_GL_ATTRIBUTE_MAYBE_UNUSED' can be declared as pointer to const [constParameterPointer] lftp-4.9.2/lib/filemode.c:102:13: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] lftp-4.9.2/lib/filemode.c:107:13: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] lftp-4.9.2/lib/filemode.c:112:13: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] lftp-4.9.2/lib/fseeko.c:111:0: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." [preprocessorErrorDirective] lftp-4.9.2/lib/stat-time.h:31:0: error: #error "Please include config.h first." [preprocessorErrorDirective] lftp-4.9.2/lib/ftell.c:34:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/getdtablesize.c:114:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_NOFILE [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/getlogin_r.c:98:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/getlogin_r.c:99:7: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] lftp-4.9.2/lib/getlogin_r.c:95:9: style: Variable 'n' can be declared as pointer to const [constVariablePointer] lftp-4.9.2/lib/gettimeofday.c:143:0: error: #error "Only 1-second nominal clock resolution found. Is that intended?" \ [preprocessorErrorDirective] lftp-4.9.2/lib/timespec.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] lftp-4.9.2/lib/getprogname.c:249:0: error: #error "getprogname module not ported to this OS" [preprocessorErrorDirective] lftp-4.9.2/lib/getopt1.c:36:21: style:inconclusive: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] lftp-4.9.2/lib/getopt_int.h:107:32: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. lftp-4.9.2/lib/getopt1.c:36:21: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. lftp-4.9.2/lib/getopt1.c:36:34: style:inconclusive: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] lftp-4.9.2/lib/getopt_int.h:107:48: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. lftp-4.9.2/lib/getopt1.c:36:34: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. lftp-4.9.2/lib/getopt1.c:36:52: style:inconclusive: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] lftp-4.9.2/lib/getopt_int.h:108:19: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. lftp-4.9.2/lib/getopt1.c:36:52: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. lftp-4.9.2/lib/getopt1.c:37:24: style:inconclusive: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] lftp-4.9.2/lib/getopt_int.h:109:28: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. lftp-4.9.2/lib/getopt1.c:37:24: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. lftp-4.9.2/lib/getopt1.c:37:43: style:inconclusive: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] lftp-4.9.2/lib/getopt_int.h:109:45: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. lftp-4.9.2/lib/getopt1.c:37:43: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. lftp-4.9.2/lib/getopt1.c:38:24: style:inconclusive: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] lftp-4.9.2/lib/getopt_int.h:110:28: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. lftp-4.9.2/lib/getopt1.c:38:24: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. lftp-4.9.2/lib/getopt1.c:59:26: style:inconclusive: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] lftp-4.9.2/lib/getopt_int.h:112:37: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. lftp-4.9.2/lib/getopt1.c:59:26: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. lftp-4.9.2/lib/getopt1.c:59:39: style:inconclusive: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] lftp-4.9.2/lib/getopt_int.h:112:53: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. lftp-4.9.2/lib/getopt1.c:59:39: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. lftp-4.9.2/lib/getopt1.c:59:57: style:inconclusive: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] lftp-4.9.2/lib/getopt_int.h:113:17: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. lftp-4.9.2/lib/getopt1.c:59:57: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. lftp-4.9.2/lib/getopt1.c:60:29: style:inconclusive: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] lftp-4.9.2/lib/getopt_int.h:114:26: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. lftp-4.9.2/lib/getopt1.c:60:29: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. lftp-4.9.2/lib/getopt1.c:60:48: style:inconclusive: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] lftp-4.9.2/lib/getopt_int.h:115:10: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. lftp-4.9.2/lib/getopt1.c:60:48: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. lftp-4.9.2/lib/getopt1.c:61:29: style:inconclusive: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] lftp-4.9.2/lib/getopt_int.h:116:26: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. lftp-4.9.2/lib/getopt1.c:61:29: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. lftp-4.9.2/lib/hard-locale.c:29:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SETLOCALE_NULL_MAX [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/getopt.c:278:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/getopt.c:621:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/inet_pton.c:95:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/isnan.c:80:24: style: union member 'memory_double::value' is never used. [unusedStructMember] lftp-4.9.2/lib/isnan.c:80:44: style: union member 'memory_double::word' is never used. [unusedStructMember] lftp-4.9.2/lib/human.c:60:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTMAX_MAX [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/human.c:83:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/human.c:179:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_LEN_MAX [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/human.c:439:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LONGINT_OK [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/human.c:468:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LONGINT_INVALID [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/fnmatch_loop.c:63:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNM_EXTMATCH [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/fnmatch_loop.c:945:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable posixly_correct [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/fnmatch_loop.c:1007:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable posixly_correct [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/lchown.c:60:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/localcharset.c:1088:14: style: Condition 'locale==NULL' is always true [knownConditionTrueFalse] lftp-4.9.2/lib/localcharset.c:1079:24: note: Assignment 'locale=NULL', assigned value is 0 lftp-4.9.2/lib/localcharset.c:1088:14: note: Condition 'locale==NULL' is always true lftp-4.9.2/lib/localcharset.c:579:14: style: struct member 'table_entry::locale' is never used. [unusedStructMember] lftp-4.9.2/lib/localcharset.c:580:14: style: struct member 'table_entry::canonical' is never used. [unusedStructMember] lftp-4.9.2/lib/localcharset.c:1097:22: style: Variable 'locale' is assigned a value that is never used. [unreadVariable] lftp-4.9.2/lib/lseek.c:62:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/malloc.c:52:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/malloc/scratch_buffer_grow.c:40:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/malloc/scratch_buffer_grow_preserve.c:49:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/malloc/scratch_buffer_set_array_size.c:41:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/mbsrtowcs-impl.h:43:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_LEN_MAX [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/inet_pton.c:152:16: error: Uninitialized variable: tmp [uninitvar] lftp-4.9.2/lib/inet_pton.c:150:14: note: Assuming condition is false lftp-4.9.2/lib/inet_pton.c:152:16: note: Uninitialized variable: tmp lftp-4.9.2/lib/mbswidth.c:64:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_CUR_MAX [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/mbtowc-impl.h:37:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/mbswidth.c:57:24: style:inconclusive: Function 'mbsnwidth' argument 1 names different: declaration 'buf' definition 'string'. [funcArgNamesDifferent] lftp-4.9.2/lib/mbswidth.h:55:35: note: Function 'mbsnwidth' argument 1 names different: declaration 'buf' definition 'string'. lftp-4.9.2/lib/mbswidth.c:57:24: note: Function 'mbsnwidth' argument 1 names different: declaration 'buf' definition 'string'. lftp-4.9.2/lib/fnmatch_loop.c:58:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNM_CASEFOLD [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/fnmatch_loop.c:1089:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _GL_ATTRIBUTE_FALLTHROUGH [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/fnmatch.c:232:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_CUR_MAX [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/mktime.c:564:1: error: There is an unknown macro here somewhere. Configuration is required. If weak_alias is a macro then please configure it. [unknownMacro] lftp-4.9.2/lib/xalloc.h:27:0: error: #error "Please include config.h first." [preprocessorErrorDirective] lftp-4.9.2/lib/glob.c:218:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_ALTDIRFUNC [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/glob.c:260:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_ALTDIRFUNC [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/glob.c:271:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_NOESCAPE [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/glob.c:318:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __GLOB_FLAGS [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/glob.c:1291:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_NOESCAPE [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/str-two-way.h:136:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/nl_langinfo.c:50:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SETLOCALE_NULL_MAX [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/str-two-way.h:302:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/nl_langinfo.c:219:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable decimal_point [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/str-two-way.h:434:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/nl_langinfo.c:60:7: style: Condition 'locale' is always true [knownConditionTrueFalse] lftp-4.9.2/lib/open.c:68:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/opendir.c:87:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/fnmatch_loop.c:925:38: style: Condition 'n!=string_end' is always true [knownConditionTrueFalse] lftp-4.9.2/lib/fnmatch_loop.c:1110:36: style: Condition 'rs==string' is always false [knownConditionTrueFalse] lftp-4.9.2/lib/fnmatch_loop.c:934:18: style:inconclusive: Function 'END' argument 1 names different: declaration 'patternp' definition 'pattern'. [funcArgNamesDifferent] lftp-4.9.2/lib/fnmatch_loop.c:37:37: note: Function 'END' argument 1 names different: declaration 'patternp' definition 'pattern'. lftp-4.9.2/lib/fnmatch_loop.c:934:18: note: Function 'END' argument 1 names different: declaration 'patternp' definition 'pattern'. lftp-4.9.2/lib/fnmatch_loop.c:1097:44: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] lftp-4.9.2/lib/fnmatch_loop.c:1106:26: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] lftp-4.9.2/lib/fnmatch_loop.c:1114:33: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] lftp-4.9.2/lib/fnmatch_loop.c:1138:40: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] lftp-4.9.2/lib/fnmatch_loop.c:1155:44: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] lftp-4.9.2/lib/fnmatch_loop.c:1165:46: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] lftp-4.9.2/lib/passfd.c:95:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/passfd.c:202:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/passfd.c:93:18: style:inconclusive: Function 'sendfd' argument 1 names different: declaration 'sock' definition '_GL_UNUSED'. [funcArgNamesDifferent] lftp-4.9.2/lib/passfd.h:25:24: note: Function 'sendfd' argument 1 names different: declaration 'sock' definition '_GL_UNUSED'. lftp-4.9.2/lib/passfd.c:93:18: note: Function 'sendfd' argument 1 names different: declaration 'sock' definition '_GL_UNUSED'. lftp-4.9.2/lib/passfd.c:93:37: style:inconclusive: Function 'sendfd' argument 2 names different: declaration 'fd' definition '_GL_UNUSED'. [funcArgNamesDifferent] lftp-4.9.2/lib/passfd.h:25:34: note: Function 'sendfd' argument 2 names different: declaration 'fd' definition '_GL_UNUSED'. lftp-4.9.2/lib/passfd.c:93:37: note: Function 'sendfd' argument 2 names different: declaration 'fd' definition '_GL_UNUSED'. lftp-4.9.2/lib/passfd.c:200:18: style:inconclusive: Function 'recvfd' argument 1 names different: declaration 'sock' definition '_GL_UNUSED'. [funcArgNamesDifferent] lftp-4.9.2/lib/passfd.h:26:24: note: Function 'recvfd' argument 1 names different: declaration 'sock' definition '_GL_UNUSED'. lftp-4.9.2/lib/passfd.c:200:18: note: Function 'recvfd' argument 1 names different: declaration 'sock' definition '_GL_UNUSED'. lftp-4.9.2/lib/passfd.c:200:40: style:inconclusive: Function 'recvfd' argument 2 names different: declaration 'flags' definition '_GL_UNUSED'. [funcArgNamesDifferent] lftp-4.9.2/lib/passfd.h:26:34: note: Function 'recvfd' argument 2 names different: declaration 'flags' definition '_GL_UNUSED'. lftp-4.9.2/lib/passfd.c:200:40: note: Function 'recvfd' argument 2 names different: declaration 'flags' definition '_GL_UNUSED'. lftp-4.9.2/lib/getopt.c:471:25: style:inconclusive: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] lftp-4.9.2/lib/getopt_int.h:101:36: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. lftp-4.9.2/lib/getopt.c:471:25: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. lftp-4.9.2/lib/getopt.c:471:38: style:inconclusive: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] lftp-4.9.2/lib/getopt_int.h:101:52: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. lftp-4.9.2/lib/getopt.c:471:38: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. lftp-4.9.2/lib/getopt.c:471:56: style:inconclusive: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] lftp-4.9.2/lib/getopt_int.h:102:23: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. lftp-4.9.2/lib/getopt.c:471:56: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. lftp-4.9.2/lib/getopt.c:472:28: style:inconclusive: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] lftp-4.9.2/lib/getopt_int.h:103:32: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. lftp-4.9.2/lib/getopt.c:472:28: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. lftp-4.9.2/lib/getopt.c:472:43: style:inconclusive: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] lftp-4.9.2/lib/getopt_int.h:103:49: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. lftp-4.9.2/lib/getopt.c:472:43: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. lftp-4.9.2/lib/getopt.c:473:11: style:inconclusive: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] lftp-4.9.2/lib/getopt_int.h:104:15: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. lftp-4.9.2/lib/getopt.c:473:11: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. lftp-4.9.2/lib/getopt.c:473:43: style:inconclusive: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] lftp-4.9.2/lib/getopt_int.h:104:49: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. lftp-4.9.2/lib/getopt.c:473:43: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. lftp-4.9.2/lib/getopt.c:473:50: style:inconclusive: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] lftp-4.9.2/lib/getopt_int.h:105:15: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. lftp-4.9.2/lib/getopt.c:473:50: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. lftp-4.9.2/lib/getopt.c:703:23: style:inconclusive: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] lftp-4.9.2/lib/getopt_int.h:25:34: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. lftp-4.9.2/lib/getopt.c:703:23: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. lftp-4.9.2/lib/getopt.c:703:36: style:inconclusive: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] lftp-4.9.2/lib/getopt_int.h:25:50: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. lftp-4.9.2/lib/getopt.c:703:36: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. lftp-4.9.2/lib/getopt.c:703:54: style:inconclusive: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] lftp-4.9.2/lib/getopt_int.h:26:21: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. lftp-4.9.2/lib/getopt.c:703:54: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. lftp-4.9.2/lib/getopt.c:704:26: style:inconclusive: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] lftp-4.9.2/lib/getopt_int.h:27:30: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. lftp-4.9.2/lib/getopt.c:704:26: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. lftp-4.9.2/lib/getopt.c:704:41: style:inconclusive: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] lftp-4.9.2/lib/getopt_int.h:27:47: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. lftp-4.9.2/lib/getopt.c:704:41: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. lftp-4.9.2/lib/getopt.c:704:54: style:inconclusive: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] lftp-4.9.2/lib/getopt_int.h:28:13: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. lftp-4.9.2/lib/getopt.c:704:54: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. lftp-4.9.2/lib/getopt.c:705:9: style:inconclusive: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] lftp-4.9.2/lib/getopt_int.h:28:30: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. lftp-4.9.2/lib/getopt.c:705:9: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. lftp-4.9.2/lib/poll.c:337:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLHUP [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/poll.c:379:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/printf-frexp.c:135:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MIN_EXP [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/printf-frexp.c:135:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDBL_MIN_EXP [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/xsize.h:34:0: error: #error "Please include config.h first." [preprocessorErrorDirective] lftp-4.9.2/lib/nstrftime.c:1146:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _GL_ATTRIBUTE_FALLTHROUGH [valueFlowBailoutIncompleteVar] parse-datetime.y:367:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdMAX [valueFlowBailoutIncompleteVar] parse-datetime.y:433:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parse-datetime.y:515:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parse-datetime.y:535:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parse-datetime.y:675:106: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] parse-datetime.y:1267:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdMAX [valueFlowBailoutIncompleteVar] parse-datetime.y:1813:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARSE_DATETIME_DEBUG [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/readdir.c:62:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/readlink.c:41:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/poll.c:314:46: style: Parameter 'rfds' can be declared as pointer to const [constParameterPointer] lftp-4.9.2/lib/poll.c:314:60: style: Parameter 'wfds' can be declared as pointer to const [constParameterPointer] lftp-4.9.2/lib/poll.c:314:74: style: Parameter 'efds' can be declared as pointer to const [constParameterPointer] lftp-4.9.2/lib/regcomp.c:138:5: error: There is an unknown macro here somewhere. Configuration is required. If gettext_noop is a macro then please configure it. [unknownMacro] lftp-4.9.2/lib/glob.c:664:27: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] lftp-4.9.2/lib/glob.c:835:17: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] lftp-4.9.2/lib/glob.c:1355:41: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] lftp-4.9.2/lib/glob.c:1316:34: warning: Possible null pointer dereference: fullname [nullPointer] lftp-4.9.2/lib/glob.c:1308:20: note: Assignment 'fullname=((void)(fullsize),(void)(alloca_used),(void*)0)', assigned value is 0 lftp-4.9.2/lib/glob.c:1316:34: note: Null pointer dereference lftp-4.9.2/lib/glob.c:1391:23: warning: Possible null pointer dereference: newnames [nullPointer] lftp-4.9.2/lib/glob.c:1387:27: note: Assignment 'newnames=names_alloca=((void)(size),(void)(alloca_used),(void*)0)', assigned value is 0 lftp-4.9.2/lib/glob.c:1391:23: note: Null pointer dereference lftp-4.9.2/lib/glob.c:1392:23: warning: Possible null pointer dereference: newnames [nullPointer] lftp-4.9.2/lib/glob.c:1387:27: note: Assignment 'newnames=names_alloca=((void)(size),(void)(alloca_used),(void*)0)', assigned value is 0 lftp-4.9.2/lib/glob.c:1392:23: note: Null pointer dereference lftp-4.9.2/lib/glob.c:1396:19: warning: Possible null pointer dereference: names [nullPointer] lftp-4.9.2/lib/glob.c:1387:27: note: Assignment 'newnames=names_alloca=((void)(size),(void)(alloca_used),(void*)0)', assigned value is 0 lftp-4.9.2/lib/glob.c:1393:31: note: Assignment 'names=newnames', assigned value is 0 lftp-4.9.2/lib/glob.c:1396:19: note: Null pointer dereference lftp-4.9.2/lib/glob.c:1397:23: warning: Possible null pointer dereference: names [nullPointer] lftp-4.9.2/lib/glob.c:1387:27: note: Assignment 'newnames=names_alloca=((void)(size),(void)(alloca_used),(void*)0)', assigned value is 0 lftp-4.9.2/lib/glob.c:1393:31: note: Assignment 'names=newnames', assigned value is 0 lftp-4.9.2/lib/glob.c:1397:23: note: Null pointer dereference lftp-4.9.2/lib/regex_internal.c:62:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regex_internal.c:81:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_string_t [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regex_internal.c:171:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regex_internal.c:597:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regex_internal.c:933:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTEOL [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regex_internal.c:972:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regex_internal.c:985:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regex_internal.c:1000:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regex_internal.c:1033:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regex_internal.c:1057:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regex_internal.c:1150:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regex_internal.c:1200:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regex_internal.c:1284:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regex_internal.c:1337:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regex_internal.c:1413:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_token_t [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regex_internal.c:1490:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regex_internal.c:1538:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regex_internal.c:1575:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regex_internal.c:1628:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_dfastate_t [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regex_internal.c:1678:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_dfastate_t [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/glob.c:648:30: style: Variable 'p' can be declared as pointer to const [constVariablePointer] lftp-4.9.2/lib/glob.c:752:17: style: Variable 'end_name' can be declared as pointer to const [constVariablePointer] lftp-4.9.2/lib/glob.c:817:28: style: Variable 'p' can be declared as pointer to const [constVariablePointer] lftp-4.9.2/lib/glob.c:1193:31: style: Variable 's1' can be declared as pointer to const [constVariablePointer] lftp-4.9.2/lib/glob.c:1194:31: style: Variable 's2' can be declared as pointer to const [constVariablePointer] lftp-4.9.2/lib/glob.c:1274:12: style: struct member 'Anonymous1::next' is never used. [unusedStructMember] lftp-4.9.2/lib/glob.c:1274:12: style: struct member 'Anonymous1::count' is never used. [unusedStructMember] lftp-4.9.2/lib/glob.c:1274:12: style: struct member 'Anonymous1::name' is never used. [unusedStructMember] lftp-4.9.2/lib/glob.c:649:29: style: Unused variable: pwbuf [unusedVariable] lftp-4.9.2/lib/select.c:570:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/setenv.c:125:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/setenv.c:295:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/setenv.c:310:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/nstrftime.c:915:50: style:inconclusive: Boolean expression '!negative_year' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] lftp-4.9.2/lib/nstrftime.c:915:50: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] lftp-4.9.2/lib/setlocale_null.c:150:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/setlocale_null.c:317:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/nstrftime.c:1389:13: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] lftp-4.9.2/lib/nstrftime.c:1477:15: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] lftp-4.9.2/lib/signbitd.c:59:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MANT_BIT [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regex_internal.c:1641:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] lftp-4.9.2/lib/regex_internal.c:1693:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] lftp-4.9.2/lib/signbitf.c:59:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MANT_BIT [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:199:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:418:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regmatch_t [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:462:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGS_REALLOCATE [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:542:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGS_REALLOCATE [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:614:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOMATCH [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:921:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:1055:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:1177:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:1219:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:1327:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_fail_stack_ent_t [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:1350:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:1381:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_fail_stack_ent_t [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:1476:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eps_via_nodes [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:1488:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:1568:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:1616:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable non_eps_nodes [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:1681:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:1707:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodes [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:1726:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:1772:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:1810:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:1858:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:1892:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:2006:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:2088:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:2247:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SBC_MAX [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:2295:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:2387:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:2529:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_BACK_REF [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:2638:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:2786:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_OPEN_SUBEXP [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:2832:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:3008:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:3079:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:3130:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:3176:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:3307:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SBC_MAX [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:3512:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARACTER [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:4002:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RE_DOT_NEWLINE [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:4036:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:4102:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_backref_cache_entry [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:4178:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_backref_cache_entry [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:4227:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable str_idx [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:4254:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/regexec.c:4284:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_sub_match_last_t [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/signbitl.c:59:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDBL_MANT_BIT [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/strerror.c:60:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/strerror.c:45:7: style: Condition 'msg' is always false [knownConditionTrueFalse] lftp-4.9.2/lib/strerror.c:44:21: note: Assignment 'msg=NULL', assigned value is 0 lftp-4.9.2/lib/strerror.c:45:7: note: Condition 'msg' is always false lftp-4.9.2/lib/strtol.c:243:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/strtol.c:310:13: warning: Either the condition 's==end' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] lftp-4.9.2/lib/strtol.c:303:11: note: Assignment 'end=NULL', assigned value is 0 lftp-4.9.2/lib/strtol.c:312:13: note: Assuming that condition 's==end' is not redundant lftp-4.9.2/lib/strtol.c:284:10: note: Assignment 'save=s', assigned value is 0 lftp-4.9.2/lib/strtol.c:284:8: note: save is assigned 's' here. lftp-4.9.2/lib/strtol.c:310:13: note: Null pointer dereference lftp-4.9.2/lib/regcomp.c:512:1: error: There is an unknown macro here somewhere. Configuration is required. If libc_hidden_def is a macro then please configure it. [unknownMacro] lftp-4.9.2/lib/time_r.c:37:30: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] lftp-4.9.2/lib/time_r.c:43:30: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] lftp-4.9.2/lib/time_rz.c:256:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/time_rz.c:275:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/time_rz.c:119:38: style: Parameter 'tm' can be declared as pointer to const [constParameterPointer] lftp-4.9.2/lib/time_rz.c:244:9: style: Variable 'env_tz' can be declared as pointer to const [constVariablePointer] parse-datetime.c:1607:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] lftp-4.9.2/lib/unistr/u8-uctomb-aux.c:53:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALLTHROUGH [valueFlowBailoutIncompleteVar] parse-datetime.y:2364:15: style: The if condition is the same as the previous if condition [duplicateCondition] parse-datetime.y:2361:15: note: First condition parse-datetime.y:2364:15: note: Second condition parse-datetime.y:1246:30: style: Condition 'TM_YEAR_BASE%100==0' is always true [knownConditionTrueFalse] parse-datetime.y:1606:35: style: Condition '!pc->zones_seen' is always false [knownConditionTrueFalse] parse-datetime.y:1899:34: style: Condition 'pc.local_time_zone_table[0].name' is always false [knownConditionTrueFalse] parse-datetime.y:1895:38: note: Assignment 'pc.local_time_zone_table[0].name=NULL', assigned value is 0 parse-datetime.y:1899:34: note: Condition 'pc.local_time_zone_table[0].name' is always false lftp-4.9.2/lib/unistr/u8-uctomb.c:67:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALLTHROUGH [valueFlowBailoutIncompleteVar] parse-datetime.y:1420:17: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] parse-datetime.y:328:27: style: Parameter 'pc' can be declared as pointer to const [constParameterPointer] parse-datetime.c:1607:11: style: Variable 'yymsg' is assigned a value that is never used. [unreadVariable] lftp-4.9.2/lib/unsetenv.c:64:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/wcrtomb.c:35:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/wcrtomb.c:28:42: style: Parameter 'ps' can be declared as pointer to const [constParameterPointer] lftp-4.9.2/lib/windows-mutex.c:70:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/windows-mutex.c:82:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/windows-mutex.c:91:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/windows-recmutex.c:64:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/windows-recmutex.c:84:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/windows-recmutex.c:108:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPERM [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/windows-recmutex.c:123:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/windows-rwlock.c:56:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HANDLE [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/windows-rwlock.c:161:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/windows-rwlock.c:218:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/windows-rwlock.c:279:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/windows-rwlock.c:312:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/windows-rwlock.c:323:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/windows-rwlock.c:367:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/strptime.c:694:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable neg [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/xstrtol.c:88:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lftp-4.9.2/lib/xstrtol.c:55:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTMAX_MAX [valueFlowBailoutIncompleteVar] lftp-4.9.2/src/xstring.h:224:13: error: There is an unknown macro here somewhere. Configuration is required. If setf is a macro then please configure it. [unknownMacro] lftp-4.9.2/lib/strptime.c:415:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] lftp-4.9.2/lib/strptime.c:464:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] lftp-4.9.2/lib/strptime.c:491:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] lftp-4.9.2/lib/strptime.c:591:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] lftp-4.9.2/lib/strptime.c:625:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] lftp-4.9.2/lib/strptime.c:638:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] lftp-4.9.2/lib/strptime.c:643:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] lftp-4.9.2/lib/strptime.c:648:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] lftp-4.9.2/lib/strptime.c:654:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] lftp-4.9.2/lib/strptime.c:663:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] lftp-4.9.2/lib/strptime.c:673:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] lftp-4.9.2/lib/strptime.c:972:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] lftp-4.9.2/lib/strptime.c:992:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] lftp-4.9.2/lib/strptime.c:1006:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] lftp-4.9.2/lib/strptime.c:1010:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] lftp-4.9.2/lib/strptime.c:1015:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] lftp-4.9.2/lib/strptime.c:1020:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] lftp-4.9.2/lib/strptime.c:1026:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] lftp-4.9.2/lib/strptime.c:1032:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] lftp-4.9.2/lib/fnmatch.c:246:20: warning: Either the condition 'p' is redundant or there is possible null pointer dereference: pattern. [nullPointerRedundantCheck] lftp-4.9.2/lib/fnmatch.c:257:15: note: Assuming that condition 'p' is not redundant lftp-4.9.2/lib/fnmatch.c:245:9: note: p is assigned 'pattern' here. lftp-4.9.2/lib/fnmatch.c:246:20: note: Null pointer dereference lftp-4.9.2/lib/fnmatch.c:286:20: warning: Either the condition 'p' is redundant or there is possible null pointer dereference: string. [nullPointerRedundantCheck] lftp-4.9.2/lib/fnmatch.c:302:15: note: Assuming that condition 'p' is not redundant lftp-4.9.2/lib/fnmatch.c:287:11: note: Assignment to 'p=string' lftp-4.9.2/lib/fnmatch.c:286:20: note: Null pointer dereference lftp-4.9.2/lib/fnmatch_loop.c:934:18: style:inconclusive: Function 'end_pattern' argument 1 names different: declaration 'patternp' definition 'pattern'. [funcArgNamesDifferent] lftp-4.9.2/lib/fnmatch_loop.c:37:37: note: Function 'end_pattern' argument 1 names different: declaration 'patternp' definition 'pattern'. lftp-4.9.2/lib/fnmatch_loop.c:934:18: note: Function 'end_pattern' argument 1 names different: declaration 'patternp' definition 'pattern'. lftp-4.9.2/lib/fnmatch_loop.c:934:18: style:inconclusive: Function 'end_wpattern' argument 1 names different: declaration 'patternp' definition 'pattern'. [funcArgNamesDifferent] lftp-4.9.2/lib/fnmatch_loop.c:37:37: note: Function 'end_wpattern' argument 1 names different: declaration 'patternp' definition 'pattern'. lftp-4.9.2/lib/fnmatch_loop.c:934:18: note: Function 'end_wpattern' argument 1 names different: declaration 'patternp' definition 'pattern'. lftp-4.9.2/lib/regexec.c:1392:37: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] lftp-4.9.2/lib/regexec.c:3282:42: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] lftp-4.9.2/lib/regexec.c:3329:7: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] lftp-4.9.2/lib/regexec.c:1642:11: style: Condition '!naccepted' is always true [knownConditionTrueFalse] lftp-4.9.2/lib/regexec.c:1629:23: note: Assignment 'naccepted=0', assigned value is 0 lftp-4.9.2/lib/regexec.c:1642:11: note: Condition '!naccepted' is always true lftp-4.9.2/lib/regexec.c:3049:11: style: Condition 'naccepted' is always false [knownConditionTrueFalse] lftp-4.9.2/lib/regexec.c:3006:23: note: Assignment 'naccepted=0', assigned value is 0 lftp-4.9.2/lib/regexec.c:3049:11: note: Condition 'naccepted' is always false lftp-4.9.2/lib/regexec.c:1962:27: style:inconclusive: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. [funcArgNamesDifferent] lftp-4.9.2/lib/regexec.c:96:15: note: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. lftp-4.9.2/lib/regexec.c:1962:27: note: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. lftp-4.9.2/lib/regexec.c:3493:21: style:inconclusive: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. [funcArgNamesDifferent] lftp-4.9.2/lib/regexec.c:169:25: note: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. lftp-4.9.2/lib/regexec.c:3493:21: note: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. lftp-4.9.2/lib/regexec.c:3493:43: style:inconclusive: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. [funcArgNamesDifferent] lftp-4.9.2/lib/regexec.c:170:22: note: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. lftp-4.9.2/lib/regexec.c:3493:43: note: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. lftp-4.9.2/lib/regexec.c:4094:37: style:inconclusive: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] lftp-4.9.2/lib/regexec.c:20:58: note: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. lftp-4.9.2/lib/regexec.c:4094:37: note: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. lftp-4.9.2/lib/regexec.c:4157:37: style:inconclusive: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] lftp-4.9.2/lib/regexec.c:23:49: note: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. lftp-4.9.2/lib/regexec.c:4157:37: note: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. lftp-4.9.2/lib/regexec.c:4172:42: style:inconclusive: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] lftp-4.9.2/lib/regexec.c:24:63: note: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. lftp-4.9.2/lib/regexec.c:4172:42: note: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. lftp-4.9.2/lib/regexec.c:806:20: style: Variable 'pstate' can be declared as pointer to const [constVariablePointer] lftp-4.9.2/lib/regexec.c:1320:27: style: Parameter 'regs' can be declared as pointer to const [constParameterPointer] lftp-4.9.2/lib/regexec.c:1856:38: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] lftp-4.9.2/lib/regexec.c:1965:34: style: Variable 'lim' can be declared as pointer to const [constVariablePointer] lftp-4.9.2/lib/regexec.c:2000:38: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] lftp-4.9.2/lib/regexec.c:2096:38: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] lftp-4.9.2/lib/regexec.c:2554:35: style: Variable 'bkref_ent' can be declared as pointer to const [constVariablePointer] lftp-4.9.2/lib/regexec.c:2993:51: style: Parameter 'mctx' can be declared as pointer to const [constParameterPointer] lftp-4.9.2/src/PollVec.h:76:9: style:inconclusive: Technically the member function 'PollVec::WillNotBlock' can be const. [functionConst] lftp-4.9.2/src/PollVec.cc:38:32: style:inconclusive: Function 'AddFD' argument 2 names different: declaration 'events' definition 'mask'. [funcArgNamesDifferent] lftp-4.9.2/src/PollVec.h:72:26: note: Function 'AddFD' argument 2 names different: declaration 'events' definition 'mask'. lftp-4.9.2/src/PollVec.cc:38:32: note: Function 'AddFD' argument 2 names different: declaration 'events' definition 'mask'. lftp-4.9.2/src/PollVec.cc:47:34: style:inconclusive: Function 'FDReady' argument 2 names different: declaration 'events' definition 'mask'. [funcArgNamesDifferent] lftp-4.9.2/src/PollVec.h:73:28: note: Function 'FDReady' argument 2 names different: declaration 'events' definition 'mask'. lftp-4.9.2/src/PollVec.cc:47:34: note: Function 'FDReady' argument 2 names different: declaration 'events' definition 'mask'. lftp-4.9.2/src/PollVec.cc:56:40: style:inconclusive: Function 'FDSetNotReady' argument 2 names different: declaration 'events' definition 'mask'. [funcArgNamesDifferent] lftp-4.9.2/src/PollVec.h:74:34: note: Function 'FDSetNotReady' argument 2 names different: declaration 'events' definition 'mask'. lftp-4.9.2/src/PollVec.cc:56:40: note: Function 'FDSetNotReady' argument 2 names different: declaration 'events' definition 'mask'. lftp-4.9.2/src/SignalHook.h:41:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] lftp-4.9.2/src/SignalHook.h:42:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] lftp-4.9.2/src/SignalHook.cc:37:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sa_handler [valueFlowBailoutIncompleteVar] lftp-4.9.2/src/SignalHook.cc:66:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] lftp-4.9.2/src/SignalHook.cc:73:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_UNBLOCK [valueFlowBailoutIncompleteVar] lftp-4.9.2/src/SignalHook.h:41:50: style: C-style pointer casting [cstyleCast] lftp-4.9.2/src/SignalHook.h:42:50: style: C-style pointer casting [cstyleCast] lftp-4.9.2/src/SignalHook.cc:37:55: style: C-style pointer casting [cstyleCast] lftp-4.9.2/src/SignalHook.cc:48:30: style:inconclusive: Function 'Restore' argument 1 names different: declaration 'sig' definition 'i'. [funcArgNamesDifferent] lftp-4.9.2/src/SignalHook.h:43:28: note: Function 'Restore' argument 1 names different: declaration 'sig' definition 'i'. lftp-4.9.2/src/SignalHook.cc:48:30: note: Function 'Restore' argument 1 names different: declaration 'sig' definition 'i'. lftp-4.9.2/src/lftp_pty.c:51:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] lftp-4.9.2/src/lftp_rl.c:81:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable history_base [valueFlowBailoutIncompleteVar] lftp-4.9.2/src/lftp_rl.c:106:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rl_end [valueFlowBailoutIncompleteVar] lftp-4.9.2/src/lftp_rl.c:138:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rl_ignore_some_completions_function [valueFlowBailoutIncompleteVar] lftp-4.9.2/src/lftp_rl.c:166:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rl_readline_name [valueFlowBailoutIncompleteVar] lftp-4.9.2/src/lftp_rl.c:89:54: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] lftp-4.9.2/src/lftp_rl.c:188:15: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] lftp-4.9.2/src/lftp_rl.c:32:42: style:inconclusive: Function 'lftp_add_history_nodups' argument 1 names different: declaration 'cmd' definition 'cmd_buf'. [funcArgNamesDifferent] lftp-4.9.2/src/lftp_rl.h:28:42: note: Function 'lftp_add_history_nodups' argument 1 names different: declaration 'cmd' definition 'cmd_buf'. lftp-4.9.2/src/lftp_rl.c:32:42: note: Function 'lftp_add_history_nodups' argument 1 names different: declaration 'cmd' definition 'cmd_buf'. lftp-4.9.2/src/lftp_rl.c:34:16: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] lftp-4.9.2/src/lftp_rl.c:76:19: style: Variable 'st' can be declared as pointer to const [constVariablePointer] lftp-4.9.2/src/lftp_tinfo.cc:40:0: error: #error No header file for tigetstr or tgetstr found. Install ncurses-dev or termcap-dev. [preprocessorErrorDirective] lftp-4.9.2/src/lftp_pty.c:124:12: portability: Non reentrant function 'ttyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'ttyname_r'. [prohibitedttynameCalled] lftp-4.9.2/src/commands.cc:3028:44: error: There is an unknown macro here somewhere. Configuration is required. If PKGDATADIR is a macro then please configure it. [unknownMacro] lftp-4.9.2/src/module.cc:115:58: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] lftp-4.9.2/src/netkey.c:226:13: style: Parameter 'block' can be declared as const array [constParameter] lftp-4.9.2/src/netkey.c:240:14: style: Parameter 'block' can be declared as const array [constParameter] lftp-4.9.2/src/netkey.c:351:16: style: Parameter 'key' can be declared as const array [constParameter] lftp-4.9.2/src/netkey.c:195:33: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] lftp-4.9.2/tests/ftp-list.cc:16:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable global [valueFlowBailoutIncompleteVar] lftp-4.9.2/tests/ftp-mlsd.cc:93:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] lftp-4.9.2/tests/http-get.cc:12:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable global [valueFlowBailoutIncompleteVar] lftp-4.9.2/trio/trionan.c:271:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] lftp-4.9.2/trio/trionan.c:712:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MIN [valueFlowBailoutIncompleteVar] lftp-4.9.2/trio/triostr.c:907:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] lftp-4.9.2/trio/triostr.c:145:1: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] lftp-4.9.2/trio/trio.c:1191:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lftp-4.9.2/trio/trio.c:2641:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MANT_DIG [valueFlowBailoutIncompleteVar] lftp-4.9.2/trio/trio.c:3368:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] lftp-4.9.2/trio/trio.c:3567:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] lftp-4.9.2/trio/trio.c:3601:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] lftp-4.9.2/trio/trio.c:5412:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] lftp-4.9.2/trio/trio.c:5474:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] lftp-4.9.2/trio/trio.c:5545:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] lftp-4.9.2/trio/trio.c:5685:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] lftp-4.9.2/trio/trio.c:5818:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] lftp-4.9.2/trio/trio.c:5987:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] lftp-4.9.2/trio/trio.c:6329:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] lftp-4.9.2/trio/trio.c:6366:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] lftp-4.9.2/trio/trio.c:6406:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] lftp-4.9.2/trio/trio.c:6438:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] lftp-4.9.2/trio/trio.c:6509:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] lftp-4.9.2/trio/trio.c:6524:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] lftp-4.9.2/trio/trio.c:1998:22: style: Condition 'varsize<=(int)sizeof(long long)' is always false [knownConditionTrueFalse] lftp-4.9.2/trio/trio.c:1995:22: note: Assuming that condition 'varsize<=(int)sizeof(long)' is not redundant lftp-4.9.2/trio/trio.c:1998:22: note: Condition 'varsize<=(int)sizeof(long long)' is always false lftp-4.9.2/trio/trio.c:5916:22: error: Pointer addition with NULL pointer. [nullPointerArithmetic] lftp-4.9.2/trio/trio.c:2075:7: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] lftp-4.9.2/trio/trio.c:2081:11: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] lftp-4.9.2/trio/trio.c:2085:11: portability: Casting between float * and double * which have an incompatible binary data representation. [invalidPointerCast] lftp-4.9.2/trio/trio.c:2085:22: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] lftp-4.9.2/trio/trio.c:2093:30: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] lftp-4.9.2/trio/trio.c:2103:29: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] lftp-4.9.2/trio/trio.c:2106:29: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] lftp-4.9.2/trio/trio.c:5768:7: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] lftp-4.9.2/trio/trio.c:5772:7: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] lftp-4.9.2/trio/trio.c:5779:7: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] lftp-4.9.2/trio/trio.c:5783:7: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] lftp-4.9.2/trio/trio.c:5793:10: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] lftp-4.9.2/trio/trio.c:5797:10: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] lftp-4.9.2/trio/trio.c:5881:9: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] lftp-4.9.2/trio/trio.c:5885:9: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] lftp-4.9.2/trio/trio.c:6113:11: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] lftp-4.9.2/trio/trio.c:6114:11: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] lftp-4.9.2/trio/trio.c:5764:4: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] lftp-4.9.2/trio/trio.c:5775:4: note: Found duplicate branches for 'if' and 'else'. lftp-4.9.2/trio/trio.c:5764:4: note: Found duplicate branches for 'if' and 'else'. lftp-4.9.2/trio/trio.c:5791:4: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] lftp-4.9.2/trio/trio.c:5795:4: note: Found duplicate branches for 'if' and 'else'. lftp-4.9.2/trio/trio.c:5791:4: note: Found duplicate branches for 'if' and 'else'. lftp-4.9.2/trio/trio.c:1774:16: style: Local variable 'max' shadows outer variable [shadowVariable] lftp-4.9.2/trio/trio.c:3912:1: note: Shadowed declaration lftp-4.9.2/trio/trio.c:1774:16: note: Shadow variable lftp-4.9.2/trio/trio.c:6104:18: style: Local variable 'pointer' shadows outer variable [shadowVariable] lftp-4.9.2/trio/trio.c:5957:18: note: Shadowed declaration lftp-4.9.2/trio/trio.c:6104:18: note: Shadow variable lftp-4.9.2/trio/trio.c:897:9: style: Variable 'groupingPointer' can be declared as pointer to const [constVariablePointer] lftp-4.9.2/trio/trio.c:936:9: style: Variable 'groupingPointer' can be declared as pointer to const [constVariablePointer] lftp-4.9.2/trio/trio.c:4869:57: error: Uninitialized variable: dummy [uninitvar] lftp-4.9.2/trio/trio.c:641:12: style: union member 'Anonymous4::doubleNumber' is never used. [unusedStructMember] lftp-4.9.2/trio/trio.c:3601:59: error: va_list 'dummy' used before va_start() was called. [va_list_usedBeforeStarted] lftp-4.9.2/trio/trio.c:3676:57: error: va_list 'dummy' used before va_start() was called. [va_list_usedBeforeStarted] lftp-4.9.2/trio/trio.c:3748:66: error: va_list 'dummy' used before va_start() was called. [va_list_usedBeforeStarted] lftp-4.9.2/trio/trio.c:3811:60: error: va_list 'dummy' used before va_start() was called. [va_list_usedBeforeStarted] lftp-4.9.2/trio/trio.c:3892:64: error: va_list 'dummy' used before va_start() was called. [va_list_usedBeforeStarted] lftp-4.9.2/trio/trio.c:3986:41: error: va_list 'dummy' used before va_start() was called. [va_list_usedBeforeStarted] lftp-4.9.2/trio/trio.c:4869:57: error: va_list 'dummy' used before va_start() was called. [va_list_usedBeforeStarted] lftp-4.9.2/trio/trio.c:6526:13: error: va_list 'dummy' used before va_start() was called. [va_list_usedBeforeStarted] lftp-4.9.2/trio/trio.c:6582:13: error: va_list 'dummy' used before va_start() was called. [va_list_usedBeforeStarted] lftp-4.9.2/trio/trio.c:6635:13: error: va_list 'dummy' used before va_start() was called. [va_list_usedBeforeStarted] lftp-4.9.2/trio/trio.c:6698:57: error: va_list 'dummy' used before va_start() was called. [va_list_usedBeforeStarted] lftp-4.9.2/trio/trio.c:6754:13: error: va_list 'dummy' used before va_start() was called. [va_list_usedBeforeStarted] diff: DONE