2026-09-21 20:54 ftp://ftp.de.debian.org/debian/pool/main/u/unzip/unzip_6.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.12.107+deb13-amd64-x86_64-with-glibc2.41 python: 3.12.14 client-version: 1.4.0 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.22.0 head-info: f1c0820 (2026-09-21 13:01:57 +0200) count: 643 645 elapsed-time: 7.8 7.8 head-timing-info: old-timing-info: head results: unzip60/acorn/acorn.c:182:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable external_file_attributes [valueFlowBailoutIncompleteVar] unzip60/acorn/acorn.c:873:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable outfile [valueFlowBailoutIncompleteVar] unzip60/acorn/acorn.c:968:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CompiledWith [valueFlowBailoutIncompleteVar] unzip60/acorn/acorn.c:795:18: style: Variable 'block' can be declared as pointer to const [constVariablePointer] unzip60/acorn/acorn.c:920:41: warning: Uninitialized variable: execaddr [uninitvar] unzip60/acorn/acorn.c:910:19: note: Assuming condition is false unzip60/acorn/acorn.c:920:41: note: Uninitialized variable: execaddr unzip60/acorn/riscos.c:59:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scanimage [valueFlowBailoutIncompleteVar] unzip60/acorn/riscos.c:113:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scanimage [valueFlowBailoutIncompleteVar] unzip60/acorn/riscos.c:194:2: portability: Returning an address value in a function with integer return type is not portable. [CastAddressToIntegerAtReturn] unzip60/acorn/riscos.c:354:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] unzip60/acorn/riscos.c:363:9: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] unzip60/acorn/riscos.c:234:6: style: Redundant assignment of 'file' to itself. [selfAssignment] unzip60/acorn/riscos.c:235:6: style: Redundant assignment of 'mode' to itself. [selfAssignment] unzip60/acorn/riscos.c:91:20: style: Parameter 'dirname' can be declared as pointer to const [constParameterPointer] unzip60/acorn/riscos.c:96:12: style: Variable 'er' can be declared as pointer to const [constVariablePointer] unzip60/acorn/riscos.c:183:12: style: Variable 'er' can be declared as pointer to const [constVariablePointer] unzip60/acorn/riscos.c:197:17: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] unzip60/acorn/riscos.c:239:24: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] unzip60/acorn/riscos.c:246:26: style: Parameter 'envstr' can be declared as pointer to const [constParameterPointer] unzip60/acorn/riscos.c:248:8: style: Variable 'envptr' can be declared as pointer to const [constVariablePointer] unzip60/acorn/riscos.c:262:17: style: Variable 'extptr' can be declared as pointer to const [constVariablePointer] unzip60/acorn/riscos.c:263:17: style: Variable 'suffptr' can be declared as pointer to const [constVariablePointer] unzip60/acorn/riscos.c:316:30: error: Uninitialized variable: pref [uninitvar] unzip60/acorn/riscos.c:234:6: style: Variable 'file' is assigned a value that is never used. [unreadVariable] unzip60/acorn/riscos.c:235:6: style: Variable 'mode' is assigned a value that is never used. [unreadVariable] unzip60/amiga/amiga.c:63:45: error: There is an unknown macro here somewhere. Configuration is required. If UZ_VER_STRING is a macro then please configure it. [unknownMacro] unzip60/amiga/filedate.c:236:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DateStamp [valueFlowBailoutIncompleteVar] unzip60/amiga/filedate.c:336:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACCESS_READ [valueFlowBailoutIncompleteVar] unzip60/amiga/filedate.c:538:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StandardPacket [valueFlowBailoutIncompleteVar] unzip60/amiga/filedate.c:253:11: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] unzip60/amiga/filedate.c:234:12: style: Parameter 'u' can be declared as const array [constParameter] unzip60/amiga/filedate.c:246:16: style: Variable 'ltm' can be declared as pointer to const [constVariablePointer] unzip60/amiga/filedate.c:525:7: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] unzip60/amiga/filedate.c:312:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] unzip60/amiga/makesfx.c:149:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACCESS_READ [valueFlowBailoutIncompleteVar] unzip60/amiga/makesfx.c:66:21: style: Parameter 'outname' can be declared as pointer to const [constParameterPointer] unzip60/amiga/makesfx.c:66:36: style: Parameter 'inname' can be declared as pointer to const [constParameterPointer] unzip60/amiga/stat.c:67:1: portability: Omitted return type of function 'stat' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] unzip60/amiga/stat.c:77:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHARED_LOCK [valueFlowBailoutIncompleteVar] unzip60/amiga/stat.c:142:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IREAD [valueFlowBailoutIncompleteVar] unzip60/amiga/stat.c:153:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIR [valueFlowBailoutIncompleteVar] unzip60/amiga/stat.c:182:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIR [valueFlowBailoutIncompleteVar] unzip60/amiga/stat.c:119:21: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] unzip60/aosvs/aosvs.c:41:59: error: syntax error [syntaxError] unzip60/atari/atari.c:176:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable external_file_attributes [valueFlowBailoutIncompleteVar] unzip60/atari/atari.c:821:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable symlnk [valueFlowBailoutIncompleteVar] unzip60/atari/atari.c:984:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CompiledWith [valueFlowBailoutIncompleteVar] unzip60/atari/atari.c:928:13: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] unzip60/atheos/atheos.c:250:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable external_file_attributes [valueFlowBailoutIncompleteVar] unzip60/atheos/atheos.c:1015:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable outfile [valueFlowBailoutIncompleteVar] unzip60/atheos/atheos.c:1197:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CompiledWith [valueFlowBailoutIncompleteVar] unzip60/atheos/atheos.c:1236:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EB_HEADSIZE [valueFlowBailoutIncompleteVar] unzip60/atheos/atheos.c:1273:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOK [valueFlowBailoutIncompleteVar] unzip60/atheos/atheos.c:1353:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable slide [valueFlowBailoutIncompleteVar] unzip60/atheos/atheos.c:1048:13: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] unzip60/atheos/atheos.c:1269:40: style:inconclusive: Function 'set_file_attrs' argument 1 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] unzip60/atheos/atheos.c:1270:49: style:inconclusive: Function 'set_file_attrs' argument 2 names different: declaration '' definition 'attr_buff'. [funcArgNamesDifferentUnnamed] unzip60/atheos/atheos.c:1271:40: style:inconclusive: Function 'set_file_attrs' argument 3 names different: declaration '' definition 'attr_size'. [funcArgNamesDifferentUnnamed] unzip60/atheos/atheos.c:927:9: style: Local variable 'z_uidgid' shadows outer variable [shadowVariable] unzip60/atheos/atheos.c:866:9: note: Shadowed variable unzip60/atheos/atheos.c:927:9: note: Shadow local variable unzip60/atheos/atheos.c:1345:15: style: Variable 'id' is assigned a value that is never used. [unreadVariable] unzip60/beos/beos.c:281:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable external_file_attributes [valueFlowBailoutIncompleteVar] unzip60/beos/beos.c:967:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __G__ [valueFlowBailoutIncompleteVar] unzip60/beos/beos.c:1237:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CompiledWith [valueFlowBailoutIncompleteVar] unzip60/beos/beos.c:1282:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EB_HEADSIZE [valueFlowBailoutIncompleteVar] unzip60/beos/beos.c:1319:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOK [valueFlowBailoutIncompleteVar] unzip60/beos/beos.c:1406:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable slide [valueFlowBailoutIncompleteVar] unzip60/beos/beos.c:1532:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] unzip60/beos/beos.c:1101:13: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] unzip60/beos/beos.c:1315:40: style:inconclusive: Function 'set_file_attrs' argument 1 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] unzip60/beos/beos.c:1316:49: style:inconclusive: Function 'set_file_attrs' argument 2 names different: declaration '' definition 'attr_buff'. [funcArgNamesDifferentUnnamed] unzip60/beos/beos.c:1317:40: style:inconclusive: Function 'set_file_attrs' argument 3 names different: declaration '' definition 'attr_size'. [funcArgNamesDifferentUnnamed] unzip60/beos/beos.c:1529:38: style:inconclusive: Function 'assign_MIME' argument 1 names different: declaration '' definition 'file'. [funcArgNamesDifferentUnnamed] unzip60/beos/beos.c:964:9: style: Local variable 'z_uidgid' shadows outer variable [shadowVariable] unzip60/beos/beos.c:904:9: note: Shadowed variable unzip60/beos/beos.c:964:9: note: Shadow local variable unzip60/beos/beos.c:1398:15: style: Variable 'id' is assigned a value that is never used. [unreadVariable] unzip60/beos/beos.c:1542:12: style: Variable 'retval' is assigned a value that is never used. [unreadVariable] unzip60/beos/beosmain.cpp:40:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_QUIT_REQUESTED [valueFlowBailoutIncompleteVar] unzip60/cmsmvs/vmmvs.c:43:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tempfn [valueFlowBailoutIncompleteVar] unzip60/cmsmvs/vmmvs.c:122:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable textmode [valueFlowBailoutIncompleteVar] unzip60/cmsmvs/vmmvs.c:172:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable outfile [valueFlowBailoutIncompleteVar] unzip60/cmsmvs/vmmvs.c:183:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zipfd [valueFlowBailoutIncompleteVar] unzip60/cmsmvs/vmmvs.c:204:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fldata_t [valueFlowBailoutIncompleteVar] unzip60/cmsmvs/vmmvs.c:517:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] unzip60/cmsmvs/vmmvs.c:660:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CompiledWith [valueFlowBailoutIncompleteVar] unzip60/cmsmvs/vmmvs.c:123:18: style: Condition 'mode==NULL' is always true [knownConditionTrueFalse] unzip60/cmsmvs/vmmvs.c:99:18: note: Assignment 'mode=NULL', assigned value is 0 unzip60/cmsmvs/vmmvs.c:122:16: note: Assuming condition is true unzip60/cmsmvs/vmmvs.c:123:18: note: Condition 'mode==NULL' is always true unzip60/cmsmvs/vmmvs.c:621:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] unzip60/cmsmvs/vmmvs.c:621:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] unzip60/cmsmvs/vmmvs.c:621:5: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] unzip60/cmsmvs/vmmvs.c:603:11: style: Variable 'compiler' can be declared as pointer to const [constVariablePointer] unzip60/cmsmvs/vmmvs.c:604:11: style: Variable 'platform' can be declared as pointer to const [constVariablePointer] unzip60/crc32.c:640:3: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] unzip60/crc32.c:681:9: style:inconclusive: Function 'crc32' argument 1 names different: declaration '' definition 'crc'. [funcArgNamesDifferentUnnamed] unzip60/crc32.c:682:26: style:inconclusive: Function 'crc32' argument 2 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] unzip60/crc32.c:683:12: style:inconclusive: Function 'crc32' argument 3 names different: declaration '' definition 'len'. [funcArgNamesDifferentUnnamed] unzip60/crc32.c:682:26: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] unzip60/crc32.c:689:29: style: Variable 'crc_32_tab' can be declared as pointer to const [constVariablePointer] unzip60/crypt.c:165:9: style:inconclusive: Function 'update_keys' argument 1 names different: declaration '' definition 'c'. [funcArgNamesDifferentUnnamed] unzip60/crypt.c:185:18: style:inconclusive: Function 'init_keys' argument 1 names different: declaration '' definition 'passwd'. [funcArgNamesDifferentUnnamed] unzip60/crypt.c:455:18: style:inconclusive: Function 'decrypt' argument 1 names different: declaration '' definition 'passwrd'. [funcArgNamesDifferentUnnamed] unzip60/crypt.c:531:17: style:inconclusive: Function 'testp' argument 1 names different: declaration '' definition 'h'. [funcArgNamesDifferentUnnamed] unzip60/crypt.c:586:17: style:inconclusive: Function 'testkey' argument 1 names different: declaration '' definition 'h'. [funcArgNamesDifferentUnnamed] unzip60/crypt.c:587:18: style:inconclusive: Function 'testkey' argument 2 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] unzip60/crypt.c:185:18: style: Parameter 'passwd' can be declared as pointer to const [constParameterPointer] unzip60/crypt.c:455:18: style: Parameter 'passwrd' can be declared as pointer to const [constParameterPointer] unzip60/crypt.c:586:17: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] unzip60/envargs.c:50:10: style:inconclusive: Function 'envargs' argument 1 names different: declaration '' definition 'Pargc'. [funcArgNamesDifferentUnnamed] unzip60/envargs.c:51:13: style:inconclusive: Function 'envargs' argument 2 names different: declaration '' definition 'Pargv'. [funcArgNamesDifferentUnnamed] unzip60/envargs.c:52:18: style:inconclusive: Function 'envargs' argument 3 names different: declaration '' definition 'envstr'. [funcArgNamesDifferentUnnamed] unzip60/envargs.c:52:27: style:inconclusive: Function 'envargs' argument 4 names different: declaration '' definition 'envstr2'. [funcArgNamesDifferentUnnamed] unzip60/envargs.c:180:18: style:inconclusive: Function 'count_args' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] unzip60/envargs.c:52:18: style: Parameter 'envstr' can be declared as pointer to const [constParameterPointer] unzip60/envargs.c:52:27: style: Parameter 'envstr2' can be declared as pointer to const [constParameterPointer] unzip60/envargs.c:54:11: style: Variable 'envptr' can be declared as pointer to const [constVariablePointer] unzip60/envargs.c:180:18: style: Parameter 's' can be declared as pointer to const [constParameterPointer] unzip60/explode.c:224:11: style:inconclusive: Function 'get_tree' argument 1 names different: declaration '' definition 'l'. [funcArgNamesDifferentUnnamed] unzip60/explode.c:225:10: style:inconclusive: Function 'get_tree' argument 2 names different: declaration '' definition 'n'. [funcArgNamesDifferentUnnamed] unzip60/explode.c:255:14: style:inconclusive: Function 'explode_lit' argument 1 names different: declaration '' definition 'tb'. [funcArgNamesDifferentUnnamed] unzip60/explode.c:255:19: style:inconclusive: Function 'explode_lit' argument 2 names different: declaration '' definition 'tl'. [funcArgNamesDifferentUnnamed] unzip60/explode.c:255:24: style:inconclusive: Function 'explode_lit' argument 3 names different: declaration '' definition 'td'. [funcArgNamesDifferentUnnamed] unzip60/explode.c:256:10: style:inconclusive: Function 'explode_lit' argument 4 names different: declaration '' definition 'bb'. [funcArgNamesDifferentUnnamed] unzip60/explode.c:256:14: style:inconclusive: Function 'explode_lit' argument 5 names different: declaration '' definition 'bl'. [funcArgNamesDifferentUnnamed] unzip60/explode.c:256:18: style:inconclusive: Function 'explode_lit' argument 6 names different: declaration '' definition 'bd'. [funcArgNamesDifferentUnnamed] unzip60/explode.c:257:10: style:inconclusive: Function 'explode_lit' argument 7 names different: declaration '' definition 'bdl'. [funcArgNamesDifferentUnnamed] unzip60/explode.c:373:14: style:inconclusive: Function 'explode_nolit' argument 1 names different: declaration '' definition 'tl'. [funcArgNamesDifferentUnnamed] unzip60/explode.c:373:19: style:inconclusive: Function 'explode_nolit' argument 2 names different: declaration '' definition 'td'. [funcArgNamesDifferentUnnamed] unzip60/explode.c:374:10: style:inconclusive: Function 'explode_nolit' argument 3 names different: declaration '' definition 'bl'. [funcArgNamesDifferentUnnamed] unzip60/explode.c:374:14: style:inconclusive: Function 'explode_nolit' argument 4 names different: declaration '' definition 'bd'. [funcArgNamesDifferentUnnamed] unzip60/explode.c:375:10: style:inconclusive: Function 'explode_nolit' argument 5 names different: declaration '' definition 'bdl'. [funcArgNamesDifferentUnnamed] unzip60/extract.c:927:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] unzip60/extract.c:1489:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] unzip60/extract.c:1660:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] unzip60/extract.c:998:14: style:inconclusive: Function 'find_compr_idx' argument 1 names different: declaration '' definition 'compr_methodnum'. [funcArgNamesDifferentUnnamed] unzip60/extract.c:1024:14: style:inconclusive: Function 'extract_or_test_entrylist' argument 1 names different: declaration '' definition 'numchunk'. [funcArgNamesDifferentUnnamed] unzip60/extract.c:1025:10: style:inconclusive: Function 'extract_or_test_entrylist' argument 2 names different: declaration '' definition 'pfilnum'. [funcArgNamesDifferentUnnamed] unzip60/extract.c:1026:10: style:inconclusive: Function 'extract_or_test_entrylist' argument 3 names different: declaration '' definition 'pnum_bad_pwd'. [funcArgNamesDifferentUnnamed] unzip60/extract.c:1027:13: style:inconclusive: Function 'extract_or_test_entrylist' argument 4 names different: declaration '' definition 'pold_extra_bytes'. [funcArgNamesDifferentUnnamed] unzip60/extract.c:1032:9: style:inconclusive: Function 'extract_or_test_entrylist' argument 5 names different: declaration '' definition 'error_in_archive'. [funcArgNamesDifferentUnnamed] unzip60/extract.c:2011:10: style:inconclusive: Function 'TestExtraField' argument 1 names different: declaration '' definition 'ef'. [funcArgNamesDifferentUnnamed] unzip60/extract.c:2012:14: style:inconclusive: Function 'TestExtraField' argument 2 names different: declaration '' definition 'ef_len'. [funcArgNamesDifferentUnnamed] unzip60/extract.c:2260:10: style:inconclusive: Function 'memextract' argument 1 names different: declaration '' definition 'tgt'. [funcArgNamesDifferentUnnamed] unzip60/extract.c:2261:9: style:inconclusive: Function 'memextract' argument 2 names different: declaration '' definition 'tgtsize'. [funcArgNamesDifferentUnnamed] unzip60/extract.c:2262:17: style:inconclusive: Function 'memextract' argument 3 names different: declaration '' definition 'src'. [funcArgNamesDifferentUnnamed] unzip60/extract.c:2263:9: style:inconclusive: Function 'memextract' argument 4 names different: declaration '' definition 'srcsize'. [funcArgNamesDifferentUnnamed] unzip60/extract.c:2349:17: style:inconclusive: Function 'memflush' argument 1 names different: declaration '' definition 'rawbuf'. [funcArgNamesDifferentUnnamed] unzip60/extract.c:2350:9: style:inconclusive: Function 'memflush' argument 2 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] unzip60/extract.c:2389:17: style:inconclusive: Function 'extract_izvms_block' argument 1 names different: declaration '' definition 'ebdata'. [funcArgNamesDifferentUnnamed] unzip60/extract.c:2390:14: style:inconclusive: Function 'extract_izvms_block' argument 2 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] unzip60/extract.c:2391:15: style:inconclusive: Function 'extract_izvms_block' argument 3 names different: declaration '' definition 'retlen'. [funcArgNamesDifferentUnnamed] unzip60/extract.c:2392:17: style:inconclusive: Function 'extract_izvms_block' argument 4 names different: declaration '' definition 'init'. [funcArgNamesDifferentUnnamed] unzip60/extract.c:2393:14: style:inconclusive: Function 'extract_izvms_block' argument 5 names different: declaration '' definition 'needlen'. [funcArgNamesDifferentUnnamed] unzip60/extract.c:2450:10: style:inconclusive: Function 'decompress_bits' argument 1 names different: declaration '' definition 'outptr'. [funcArgNamesDifferentUnnamed] unzip60/extract.c:2451:14: style:inconclusive: Function 'decompress_bits' argument 2 names different: declaration '' definition 'needlen'. [funcArgNamesDifferentUnnamed] unzip60/extract.c:2452:17: style:inconclusive: Function 'decompress_bits' argument 3 names different: declaration '' definition 'bitptr'. [funcArgNamesDifferentUnnamed] unzip60/extract.c:2553:18: style:inconclusive: Function 'fnfilter' argument 1 names different: declaration '' definition 'raw'. [funcArgNamesDifferentUnnamed] unzip60/extract.c:2554:10: style:inconclusive: Function 'fnfilter' argument 2 names different: declaration '' definition 'space'. [funcArgNamesDifferentUnnamed] unzip60/extract.c:2555:12: style:inconclusive: Function 'fnfilter' argument 3 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] unzip60/extract.c:1621:11: style: Variable 'nul' can be declared as pointer to const [constVariablePointer] unzip60/extract.c:1621:28: style: Variable 'txt' can be declared as pointer to const [constVariablePointer] unzip60/extract.c:1621:45: style: Variable 'bin' can be declared as pointer to const [constVariablePointer] unzip60/extract.c:2349:17: style: Parameter 'rawbuf' can be declared as pointer to const [constParameterPointer] unzip60/extract.c:2392:17: style: Parameter 'init' can be declared as pointer to const [constParameterPointer] unzip60/extract.c:2452:17: style: Parameter 'bitptr' can be declared as pointer to const [constParameterPointer] unzip60/extract.c:2558:17: style: Variable 'r' can be declared as pointer to const [constVariablePointer] unzip60/extract.c:2560:10: style: Variable 'slim' can be declared as pointer to const [constVariablePointer] unzip60/fileio.c:1022:21: error: syntax error [syntaxError] unzip60/flexos/flexos.c:703:37: error: Syntax Error: AST broken, binary operator is missing operand(s). [internalAstError] unzip60/funzip.c:226:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] unzip60/funzip.c:273:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] unzip60/funzip.c:332:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] unzip60/funzip.c:487:7: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'ulg {aka unsigned long}'. [invalidPrintfArgType_sint] unzip60/funzip.c:487:7: portability: %ld in format string (no. 2) requires 'long' but the argument type is 'ulg {aka unsigned long}'. [invalidPrintfArgType_sint] unzip60/funzip.c:402:7: style: Variable 'g' is reassigned a value before the old one has been used. [redundantAssignment] unzip60/funzip.c:400:39: note: g is assigned unzip60/funzip.c:402:7: note: g is overwritten unzip60/funzip.c:402:7: style: Variable 'g' is reassigned a value before the old one has been used. [redundantAssignment] unzip60/funzip.c:401:39: note: g is assigned unzip60/funzip.c:402:7: note: g is overwritten unzip60/funzip.c:422:7: style: Variable 'g' is reassigned a value before the old one has been used. [redundantAssignment] unzip60/funzip.c:416:21: note: g is assigned unzip60/funzip.c:422:7: note: g is overwritten unzip60/funzip.c:222:5: style:inconclusive: Function 'err' argument 1 names different: declaration '' definition 'n'. [funcArgNamesDifferentUnnamed] unzip60/funzip.c:223:7: style:inconclusive: Function 'err' argument 2 names different: declaration '' definition 'm'. [funcArgNamesDifferentUnnamed] unzip60/funzip.c:270:5: style:inconclusive: Function 'flush' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] unzip60/funzip.c:283:5: style:inconclusive: Function 'main' argument 1 names different: declaration '' definition 'argc'. [funcArgNamesDifferentUnnamed] unzip60/funzip.c:284:8: style:inconclusive: Function 'main' argument 2 names different: declaration '' definition 'argv'. [funcArgNamesDifferentUnnamed] unzip60/funzip.c:479:18: style: Local variable 'n' shadows outer variable [shadowVariable] unzip60/funzip.c:287:7: note: Shadowed variable unzip60/funzip.c:479:18: note: Shadow local variable unzip60/funzip.c:223:7: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] unzip60/funzip.c:292:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] unzip60/gbloffs.c:36:9: style:inconclusive: Function 'main' argument 1 names different: declaration '' definition 'argc'. [funcArgNamesDifferentUnnamed] unzip60/gbloffs.c:37:12: style:inconclusive: Function 'main' argument 2 names different: declaration '' definition 'argv'. [funcArgNamesDifferentUnnamed] unzip60/human68k/human68k.c:389:24: error: Code 'killed_ddot&& QCOND2' is invalid C code. [syntaxError] unzip60/inflate.c:961:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] unzip60/inflate.c:1094:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] unzip60/inflate.c:1225:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] unzip60/inflate.c:1403:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] unzip60/inflate.c:934:14: style:inconclusive: Function 'inflate_codes' argument 1 names different: declaration '' definition 'tl'. [funcArgNamesDifferentUnnamed] unzip60/inflate.c:934:19: style:inconclusive: Function 'inflate_codes' argument 2 names different: declaration '' definition 'td'. [funcArgNamesDifferentUnnamed] unzip60/inflate.c:935:10: style:inconclusive: Function 'inflate_codes' argument 3 names different: declaration '' definition 'bl'. [funcArgNamesDifferentUnnamed] unzip60/inflate.c:935:14: style:inconclusive: Function 'inflate_codes' argument 4 names different: declaration '' definition 'bd'. [funcArgNamesDifferentUnnamed] unzip60/inflate.c:1388:8: style:inconclusive: Function 'inflate_block' argument 1 names different: declaration '' definition 'e'. [funcArgNamesDifferentUnnamed] unzip60/inflate.c:1439:9: style:inconclusive: Function 'inflate' argument 1 names different: declaration '' definition 'is_defl64'. [funcArgNamesDifferentUnnamed] unzip60/inflate.c:1553:20: style:inconclusive: Function 'huft_build' argument 1 names different: declaration '' definition 'b'. [funcArgNamesDifferentUnnamed] unzip60/inflate.c:1554:12: style:inconclusive: Function 'huft_build' argument 2 names different: declaration '' definition 'n'. [funcArgNamesDifferentUnnamed] unzip60/inflate.c:1555:12: style:inconclusive: Function 'huft_build' argument 3 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] unzip60/inflate.c:1556:15: style:inconclusive: Function 'huft_build' argument 4 names different: declaration '' definition 'd'. [funcArgNamesDifferentUnnamed] unzip60/inflate.c:1557:15: style:inconclusive: Function 'huft_build' argument 5 names different: declaration '' definition 'e'. [funcArgNamesDifferentUnnamed] unzip60/inflate.c:1558:17: style:inconclusive: Function 'huft_build' argument 6 names different: declaration '' definition 't'. [funcArgNamesDifferentUnnamed] unzip60/inflate.c:1559:13: style:inconclusive: Function 'huft_build' argument 7 names different: declaration '' definition 'm'. [funcArgNamesDifferentUnnamed] unzip60/inflate.c:1758:14: style:inconclusive: Function 'huft_free' argument 1 names different: declaration '' definition 't'. [funcArgNamesDifferentUnnamed] unzip60/inflate.c:1556:15: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] unzip60/inflate.c:1557:15: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] unzip60/inflate.c:1580:22: style: Variable 'p' can be declared as pointer to const [constVariablePointer] unzip60/list.c:731:5: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] unzip60/list.c:698:12: style:inconclusive: Function 'ratio' argument 1 names different: declaration '' definition 'uc'. [funcArgNamesDifferentUnnamed] unzip60/list.c:698:16: style:inconclusive: Function 'ratio' argument 2 names different: declaration '' definition 'c'. [funcArgNamesDifferentUnnamed] unzip60/list.c:120:24: style: Variable 'dtype' can be declared as const array [constVariable] unzip60/list.c:121:28: style: Variable 'method' can be declared as const array [constVariable] unzip60/macos/source/getenv.c:109:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] unzip60/macos/source/getenv.c:158:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] unzip60/macos/source/getenv.c:230:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] unzip60/macos/source/getenv.c:341:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noErr [valueFlowBailoutIncompleteVar] unzip60/macos/source/getenv.c:381:1: warning: Return value of function getenv() is not used. [ignoredReturnValue] unzip60/macos/source/getenv.c:311:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] unzip60/macos/source/getenv.c:275:17: style: Variable 'Env1' can be declared as pointer to const [constVariablePointer] unzip60/macos/source/helpers.c:114:37: error: syntax error [syntaxError] unzip60/macos/source/macbin3.c:189:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noErr [valueFlowBailoutIncompleteVar] unzip60/macos/source/macbin3.c:301:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CInfoPBRec [valueFlowBailoutIncompleteVar] unzip60/macos/source/macbin3.c:547:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nil [valueFlowBailoutIncompleteVar] unzip60/macos/source/macbin3.c:569:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nil [valueFlowBailoutIncompleteVar] unzip60/macos/source/macbin3.c:615:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nil [valueFlowBailoutIncompleteVar] unzip60/macos/source/macbin3.c:311:9: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] unzip60/macos/source/macbin3.c:306:9: note: err is assigned unzip60/macos/source/macbin3.c:311:9: note: err is overwritten unzip60/macos/source/macbin3.c:687:9: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] unzip60/macos/source/macbin3.c:634:9: note: err is assigned unzip60/macos/source/macbin3.c:687:9: note: err is overwritten unzip60/macos/source/macbin3.c:268:27: style: Unsigned expression 'dataForkLength' can't be negative so it is unnecessary to test it. [unsignedPositive] unzip60/macos/source/macbin3.c:269:27: style: Unsigned expression 'resourceForkLength' can't be negative so it is unnecessary to test it. [unsignedPositive] unzip60/macos/source/macbin3.c:542:43: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] unzip60/macos/source/macbin3.c:237:24: style: Variable 'commentLength' is assigned a value that is never used. [unreadVariable] unzip60/macos/source/macbin3.c:314:13: style: Variable 'err' is assigned a value that is never used. [unreadVariable] unzip60/macos/source/macbin3.c:615:19: style: Variable 'result' is assigned a value that is never used. [unreadVariable] unzip60/macos/source/macdir.c:69:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] unzip60/macos/source/macdir.c:152:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noErr [valueFlowBailoutIncompleteVar] unzip60/macos/source/macdir.c:44:19: style:inconclusive: Function 'closedir' argument 1 names different: declaration '' definition 'dPtr'. [funcArgNamesDifferentUnnamed] unzip60/macos/source/macdir.c:52:20: style:inconclusive: Function 'opendir' argument 1 names different: declaration '' definition 'dirName'. [funcArgNamesDifferentUnnamed] unzip60/macos/source/macdir.c:130:29: style:inconclusive: Function 'readdir' argument 1 names different: declaration '' definition 'dPtr'. [funcArgNamesDifferentUnnamed] unzip60/macos/source/macdir.c:68:18: style: Variable 'pathLen' is assigned a value that is never used. [unreadVariable] unzip60/macos/source/macos.c:713:30: error: Unmatched ')'. Configuration: '__GNUC__=1'. [syntaxError] unzip60/macos/source/macscreen.c:85:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nil [valueFlowBailoutIncompleteVar] unzip60/macos/source/macscreen.c:246:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable everyEvent [valueFlowBailoutIncompleteVar] unzip60/macos/source/macscreen.c:440:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable everyEvent [valueFlowBailoutIncompleteVar] unzip60/macos/source/macscreen.c:368:12: style: Redundant assignment of 'stream' to itself. [selfAssignment] unzip60/macos/source/macscreen.c:397:12: style: Redundant assignment of 'stream' to itself. [selfAssignment] unzip60/macos/source/macscreen.c:80:23: style:inconclusive: Function 'screenOpen' argument 1 names different: declaration '' definition 'Title'. [funcArgNamesDifferentUnnamed] unzip60/macos/source/macscreen.c:146:26: style:inconclusive: Function 'screenControl' argument 1 names different: declaration '' definition 'options'. [funcArgNamesDifferentUnnamed] unzip60/macos/source/macscreen.c:146:39: style:inconclusive: Function 'screenControl' argument 2 names different: declaration '' definition 'setting'. [funcArgNamesDifferentUnnamed] unzip60/macos/source/macscreen.c:188:29: style:inconclusive: Function 'screenUpdate' argument 1 names different: declaration '' definition 'window'. [funcArgNamesDifferentUnnamed] unzip60/macos/source/macscreen.c:291:26: style:inconclusive: Function 'screenDisplay' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] unzip60/macos/source/macscreen.c:327:23: style:inconclusive: Function 'screenDump' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] unzip60/macos/source/macscreen.c:327:31: style:inconclusive: Function 'screenDump' argument 2 names different: declaration '' definition 'n'. [funcArgNamesDifferentUnnamed] unzip60/macos/source/macscreen.c:364:22: style:inconclusive: Function 'macfgets' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] unzip60/macos/source/macscreen.c:364:29: style:inconclusive: Function 'macfgets' argument 2 names different: declaration '' definition 'n'. [funcArgNamesDifferentUnnamed] unzip60/macos/source/macscreen.c:364:38: style:inconclusive: Function 'macfgets' argument 3 names different: declaration '' definition 'stream'. [funcArgNamesDifferentUnnamed] unzip60/macos/source/macscreen.c:391:22: style:inconclusive: Function 'macfprintf' argument 1 names different: declaration '' definition 'stream'. [funcArgNamesDifferentUnnamed] unzip60/macos/source/macscreen.c:391:36: style:inconclusive: Function 'macfprintf' argument 2 names different: declaration '' definition 'format'. [funcArgNamesDifferentUnnamed] unzip60/macos/source/macscreen.c:411:21: style:inconclusive: Function 'macprintf' argument 1 names different: declaration '' definition 'format'. [funcArgNamesDifferentUnnamed] unzip60/macos/source/macscreen.c:368:12: style: Variable 'stream' is assigned a value that is never used. [unreadVariable] unzip60/macos/source/macscreen.c:397:12: style: Variable 'stream' is assigned a value that is never used. [unreadVariable] unzip60/macos/source/macstat.c:69:5: error: There is an unknown macro here somewhere. Configuration is required. If AssertStr is a macro then please configure it. [unknownMacro] unzip60/macos/source/mactime.c:151:9: style: Redundant assignment of 'mactime' to itself. [selfAssignment] unzip60/macos/source/mactime.c:148:39: style:inconclusive: Function 'GetGMToffsetMac' argument 1 names different: declaration 'macftime' definition 'mactime'. [funcArgNamesDifferent] unzip60/macos/source/mactime.h:58:39: note: Function 'GetGMToffsetMac' argument 1 names different: declaration 'macftime' definition 'mactime'. unzip60/macos/source/mactime.c:148:39: note: Function 'GetGMToffsetMac' argument 1 names different: declaration 'macftime' definition 'mactime'. unzip60/macos/source/mactime.c:187:36: style:inconclusive: Function 'gmtime' argument 1 names different: declaration 't' definition 'timer'. [funcArgNamesDifferent] unzip60/macos/source/mactime.c:75:36: note: Function 'gmtime' argument 1 names different: declaration 't' definition 'timer'. unzip60/macos/source/mactime.c:187:36: note: Function 'gmtime' argument 1 names different: declaration 't' definition 'timer'. unzip60/macos/source/mactime.c:195:39: style:inconclusive: Function 'localtime' argument 1 names different: declaration 't' definition 'timer'. [funcArgNamesDifferent] unzip60/macos/source/mactime.c:76:39: note: Function 'localtime' argument 1 names different: declaration 't' definition 'timer'. unzip60/macos/source/mactime.c:195:39: note: Function 'localtime' argument 1 names different: declaration 't' definition 'timer'. unzip60/macos/source/mactime.c:223:24: style:inconclusive: Function 'time' argument 1 names different: declaration 't' definition 'time'. [funcArgNamesDifferent] unzip60/macos/source/mactime.c:78:24: note: Function 'time' argument 1 names different: declaration 't' definition 'time'. unzip60/macos/source/mactime.c:223:24: note: Function 'time' argument 1 names different: declaration 't' definition 'time'. unzip60/macos/source/mactime.c:223:24: style: Argument 'time' shadows outer function [shadowFunction] unzip60/macos/source/mactime.c:78:8: note: Shadowed function unzip60/macos/source/mactime.c:223:24: note: Shadow argument unzip60/macos/source/mactime.c:151:9: style: Variable 'mactime' is assigned a value that is never used. [unreadVariable] unzip60/macos/source/macunzip.c:185:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ToolTrap [valueFlowBailoutIncompleteVar] unzip60/macos/source/macunzip.c:221:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nil [valueFlowBailoutIncompleteVar] unzip60/macos/source/macunzip.c:496:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable charCodeMask [valueFlowBailoutIncompleteVar] unzip60/macos/source/macunzip.c:547:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable everyEvent [valueFlowBailoutIncompleteVar] unzip60/macos/source/macunzip.c:584:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable everyEvent [valueFlowBailoutIncompleteVar] unzip60/macos/source/macunzip.c:805:18: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] unzip60/macos/source/macunzip.c:804:36: note: Assuming allocation function fails unzip60/macos/source/macunzip.c:804:21: note: Assignment 'v=(char**)malloc(sizeof(char*))', assigned value is 0 unzip60/macos/source/macunzip.c:805:18: note: Null pointer dereference unzip60/macos/source/macunzip.c:812:17: warning: If memory allocation fails, then there is a possible null pointer dereference: argv [nullPointerOutOfMemory] unzip60/macos/source/macunzip.c:810:39: note: Assuming allocation function fails unzip60/macos/source/macunzip.c:810:24: note: Assignment 'argv=(char**)malloc((argc+3)*sizeof(char*))', assigned value is 0 unzip60/macos/source/macunzip.c:812:17: note: Null pointer dereference unzip60/macos/source/macunzip.c:813:38: warning: If memory allocation fails, then there is a possible null pointer dereference: argv [nullPointerOutOfMemory] unzip60/macos/source/macunzip.c:810:39: note: Assuming allocation function fails unzip60/macos/source/macunzip.c:810:24: note: Assignment 'argv=(char**)malloc((argc+3)*sizeof(char*))', assigned value is 0 unzip60/macos/source/macunzip.c:813:21: note: Assuming condition is true unzip60/macos/source/macunzip.c:813:38: note: Null pointer dereference unzip60/macos/source/macunzip.c:814:17: warning: If memory allocation fails, then there is a possible null pointer dereference: argv [nullPointerOutOfMemory] unzip60/macos/source/macunzip.c:810:39: note: Assuming allocation function fails unzip60/macos/source/macunzip.c:810:24: note: Assignment 'argv=(char**)malloc((argc+3)*sizeof(char*))', assigned value is 0 unzip60/macos/source/macunzip.c:813:21: note: Assuming condition is true unzip60/macos/source/macunzip.c:814:17: note: Null pointer dereference unzip60/macos/source/macunzip.c:815:17: warning: If memory allocation fails, then there is a possible null pointer dereference: argv [nullPointerOutOfMemory] unzip60/macos/source/macunzip.c:810:39: note: Assuming allocation function fails unzip60/macos/source/macunzip.c:810:24: note: Assignment 'argv=(char**)malloc((argc+3)*sizeof(char*))', assigned value is 0 unzip60/macos/source/macunzip.c:813:21: note: Assuming condition is true unzip60/macos/source/macunzip.c:815:17: note: Null pointer dereference unzip60/macos/source/macunzip.c:816:44: warning: If memory allocation fails, then there is a possible null pointer dereference: argv [nullPointerOutOfMemory] unzip60/macos/source/macunzip.c:810:39: note: Assuming allocation function fails unzip60/macos/source/macunzip.c:810:24: note: Assignment 'argv=(char**)malloc((argc+3)*sizeof(char*))', assigned value is 0 unzip60/macos/source/macunzip.c:816:44: note: Null pointer dereference unzip60/macos/source/macunzip.c:817:17: warning: If memory allocation fails, then there is a possible null pointer dereference: argv [nullPointerOutOfMemory] unzip60/macos/source/macunzip.c:810:39: note: Assuming allocation function fails unzip60/macos/source/macunzip.c:810:24: note: Assignment 'argv=(char**)malloc((argc+3)*sizeof(char*))', assigned value is 0 unzip60/macos/source/macunzip.c:817:17: note: Null pointer dereference unzip60/macos/source/macunzip.c:821:29: warning: If memory allocation fails, then there is a possible null pointer dereference: argv [nullPointerOutOfMemory] unzip60/macos/source/macunzip.c:810:39: note: Assuming allocation function fails unzip60/macos/source/macunzip.c:810:24: note: Assignment 'argv=(char**)malloc((argc+3)*sizeof(char*))', assigned value is 0 unzip60/macos/source/macunzip.c:821:29: note: Null pointer dereference unzip60/macos/source/macunzip.c:821:65: warning: If memory allocation fails, then there is a possible null pointer dereference: argv [nullPointerOutOfMemory] unzip60/macos/source/macunzip.c:810:39: note: Assuming allocation function fails unzip60/macos/source/macunzip.c:810:24: note: Assignment 'argv=(char**)malloc((argc+3)*sizeof(char*))', assigned value is 0 unzip60/macos/source/macunzip.c:821:65: note: Null pointer dereference unzip60/macos/source/macunzip.c:492:41: style: Argument 'myevent' shadows outer variable [shadowVariable] unzip60/macos/source/macunzip.c:149:13: note: Shadowed variable unzip60/macos/source/macunzip.c:492:41: note: Shadow argument unzip60/macos/source/macunzip.c:514:38: style: Argument 'myevent' shadows outer variable [shadowVariable] unzip60/macos/source/macunzip.c:149:13: note: Shadowed variable unzip60/macos/source/macunzip.c:514:38: note: Shadow argument unzip60/macos/source/macunzip.c:492:41: style: Parameter 'myevent' can be declared as pointer to const [constParameterPointer] unzip60/macos/source/macunzip.c:224:21: style: Variable 'theitem' is assigned a value that is never used. [unreadVariable] unzip60/macos/source/pathname.c:318:1: error: There is an unknown macro here somewhere. Configuration is required. If AssertStr is a macro then please configure it. [unknownMacro] unzip60/macos/source/sxunzip.c:59:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable asktosaveonclose [valueFlowBailoutIncompleteVar] unzip60/macos/source/sxunzip.c:84:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable everyEvent [valueFlowBailoutIncompleteVar] unzip60/match.c:126:18: style:inconclusive: Function 'match' argument 1 names different: declaration '' definition 'string'. [funcArgNamesDifferentUnnamed] unzip60/match.c:126:27: style:inconclusive: Function 'match' argument 2 names different: declaration '' definition 'pattern'. [funcArgNamesDifferentUnnamed] unzip60/match.c:127:9: style:inconclusive: Function 'match' argument 3 names different: declaration '' definition 'ignore_case'. [funcArgNamesDifferentUnnamed] unzip60/match.c:168:17: style:inconclusive: Function 'recmatch' argument 1 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] unzip60/match.c:169:17: style:inconclusive: Function 'recmatch' argument 2 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] unzip60/match.c:170:9: style:inconclusive: Function 'recmatch' argument 3 names different: declaration '' definition 'ic'. [funcArgNamesDifferentUnnamed] unzip60/match.c:344:14: style:inconclusive: Function 'isshexp' argument 1 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] unzip60/match.c:359:18: style:inconclusive: Function 'namecmp' argument 1 names different: declaration '' definition 's1'. [funcArgNamesDifferentUnnamed] unzip60/match.c:359:23: style:inconclusive: Function 'namecmp' argument 2 names different: declaration '' definition 's2'. [funcArgNamesDifferentUnnamed] unzip60/match.c:381:18: style:inconclusive: Function 'iswild' argument 1 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] unzip60/match.c:359:18: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] unzip60/match.c:359:23: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] unzip60/msdos/msdos.c:231:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] unzip60/msdos/msdos.c:424:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable file_attr [valueFlowBailoutIncompleteVar] unzip60/msdos/msdos.c:1180:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] unzip60/msdos/msdos.c:1268:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable far [valueFlowBailoutIncompleteVar] unzip60/msdos/msdos.c:1518:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable D_flag [valueFlowBailoutIncompleteVar] unzip60/msdos/msdos.c:1727:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ush [valueFlowBailoutIncompleteVar] unzip60/msdos/msdos.c:1808:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] unzip60/msdos/msdos.c:1856:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CompiledWith [valueFlowBailoutIncompleteVar] unzip60/msdos/msdos.c:2296:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] unzip60/msdos/msdos.c:1803:11: style: Variable 'var' can be declared as pointer to const [constVariablePointer] unzip60/msdos/msdos.c:1826:37: style: Parameter 'app' can be declared as pointer to const [constParameterPointer] unzip60/netware/netware.c:72:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DONT_AUTO_ACTIVATE [valueFlowBailoutIncompleteVar] unzip60/netware/netware.c:209:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable external_file_attributes [valueFlowBailoutIncompleteVar] unzip60/netware/netware.c:765:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable outfile [valueFlowBailoutIncompleteVar] unzip60/netware/netware.c:834:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CompiledWith [valueFlowBailoutIncompleteVar] unzip60/netware/netware.c:61:19: style: Variable 'activeScreen' can be declared as pointer to const [constVariablePointer] unzip60/netware/netware.c:63:19: style: Variable 'systemConsoleScreen' can be declared as pointer to const [constVariablePointer] unzip60/os2/os2.c:578:52: error: Syntax Error: AST broken, 'pEAblock' doesn't have a parent. [internalAstError] unzip60/os2/os2acl.c:207:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] unzip60/os2/os2acl.c:238:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CCHMAXPATH [valueFlowBailoutIncompleteVar] unzip60/os2/os2acl.c:322:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_BUFFERSIZE [valueFlowBailoutIncompleteVar] unzip60/os2/os2acl.c:342:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INVALID_PARAMETER [valueFlowBailoutIncompleteVar] unzip60/os2/os2acl.c:290:12: style: Local variable 'ai' shadows outer variable [shadowVariable] unzip60/os2/os2acl.c:101:17: note: Shadowed variable unzip60/os2/os2acl.c:290:12: note: Shadow local variable unzip60/os2/os2acl.c:288:31: style: Argument 'data' shadows outer variable [shadowVariable] unzip60/os2/os2acl.c:102:21: note: Shadowed variable unzip60/os2/os2acl.c:288:31: note: Shadow argument unzip60/os2/os2acl.c:332:12: style: Local variable 'ai' shadows outer variable [shadowVariable] unzip60/os2/os2acl.c:101:17: note: Shadowed variable unzip60/os2/os2acl.c:332:12: note: Shadow local variable unzip60/os2/os2acl.c:330:31: style: Argument 'data' shadows outer variable [shadowVariable] unzip60/os2/os2acl.c:102:21: note: Shadowed variable unzip60/os2/os2acl.c:330:31: note: Shadow argument unzip60/os2/os2acl.c:330:55: style: Argument 'path' shadows outer variable [shadowVariable] unzip60/os2/os2acl.c:102:14: note: Shadowed variable unzip60/os2/os2acl.c:330:55: note: Shadow argument unzip60/os2/os2acl.c:290:12: style: Variable 'ai' can be declared as pointer to const [constVariablePointer] unzip60/os2/os2acl.c:291:12: style: Variable 'al' can be declared as pointer to const [constVariablePointer] unzip60/os2/os2acl.c:334:15: style: Variable 'ptr2' can be declared as pointer to const [constVariablePointer] unzip60/process.c:251:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lenEOL [valueFlowBailoutIncompleteVar] unzip60/process.c:652:9: style:inconclusive: Function 'do_seekable' argument 1 names different: declaration '' definition 'lastchance'. [funcArgNamesDifferentUnnamed] unzip60/process.c:1121:12: style:inconclusive: Function 'rec_find' argument 1 names different: declaration '' definition 'searchlen'. [funcArgNamesDifferentUnnamed] unzip60/process.c:1122:11: style:inconclusive: Function 'rec_find' argument 2 names different: declaration '' definition 'signature'. [funcArgNamesDifferentUnnamed] unzip60/process.c:1123:9: style:inconclusive: Function 'rec_find' argument 3 names different: declaration '' definition 'rec_size'. [funcArgNamesDifferentUnnamed] unzip60/process.c:1221:12: style:inconclusive: Function 'find_ecrec64' argument 1 names different: declaration '' definition 'searchlen'. [funcArgNamesDifferentUnnamed] unzip60/process.c:1447:12: style:inconclusive: Function 'find_ecrec' argument 1 names different: declaration '' definition 'searchlen'. [funcArgNamesDifferentUnnamed] unzip60/process.c:1879:17: style:inconclusive: Function 'getZip64Data' argument 1 names different: declaration '' definition 'ef_buf'. [funcArgNamesDifferentUnnamed] unzip60/process.c:1880:14: style:inconclusive: Function 'getZip64Data' argument 2 names different: declaration '' definition 'ef_len'. [funcArgNamesDifferentUnnamed] unzip60/process.c:1122:11: style: Parameter 'signature' can be declared as pointer to const [constParameterPointer] unzip60/process.c:1928:20: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] unzip60/qdos/callstub.c:77:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR_NF [valueFlowBailoutIncompleteVar] unzip60/qdos/callstub.c:94:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] unzip60/qdos/callstub.c:137:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NEW_OVER [valueFlowBailoutIncompleteVar] unzip60/qdos/callstub.c:197:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] unzip60/qdos/callstub.c:129:40: style: Parameter 'outdir' can be declared as pointer to const [constParameterPointer] unzip60/qdos/callstub.c:223:12: warning: Uninitialized variable: r [uninitvar] unzip60/qdos/callstub.c:205:66: note: Assuming condition is false unzip60/qdos/callstub.c:223:12: note: Uninitialized variable: r unzip60/qdos/callstub.c:194:11: style: Unused variable: n [unusedVariable] unzip60/qdos/makesfx.c:92:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] unzip60/qdos/makesfx.c:108:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] unzip60/qdos/makesfx.c:231:31: error: Buffer is accessed out of bounds: &n [bufferAccessOutOfBounds] unzip60/qdos/makesfx.c:233:31: error: Buffer is accessed out of bounds: &n [bufferAccessOutOfBounds] unzip60/qdos/makesfx.c:236:31: error: Buffer is accessed out of bounds: &n [bufferAccessOutOfBounds] unzip60/qdos/makesfx.c:238:31: error: Buffer is accessed out of bounds: &n [bufferAccessOutOfBounds] unzip60/qdos/makesfx.c:201:21: error: Common realloc mistake: 'p' nulled but not freed upon failure [memleakOnRealloc] unzip60/qdos/makesfx.c:102:11: style: Variable 'of' can be declared as pointer to const [constVariablePointer] unzip60/qdos/makesfx.c:104:11: style: Variable 'zf' can be declared as pointer to const [constVariablePointer] unzip60/qdos/makesfx.c:105:11: style: Variable 'sf' can be declared as pointer to const [constVariablePointer] unzip60/qdos/makesfx.c:172:37: style: Variable 'q' can be declared as pointer to const [constVariablePointer] unzip60/qdos/makesfx.c:198:23: style: Variable 'q' can be declared as pointer to const [constVariablePointer] unzip60/qdos/makesfx.c:43:21: style: struct member 'qdirect::d_access' is never used. [unusedStructMember] unzip60/qdos/makesfx.c:46:21: style: struct member 'qdirect::d_reserved' is never used. [unusedStructMember] unzip60/qdos/makesfx.c:47:21: style: struct member 'qdirect::d_szname' is never used. [unusedStructMember] unzip60/qdos/makesfx.c:48:21: style: struct member 'qdirect::d_name' is never used. [unusedStructMember] unzip60/qdos/makesfx.c:49:21: style: struct member 'qdirect::d_update' is never used. [unusedStructMember] unzip60/qdos/makesfx.c:50:21: style: struct member 'qdirect::d_refdate' is never used. [unusedStructMember] unzip60/qdos/makesfx.c:51:21: style: struct member 'qdirect::d_backup' is never used. [unusedStructMember] unzip60/qdos/makesfx.c:57:11: style: Variable 'r' is assigned a value that is never used. [unreadVariable] unzip60/qdos/makesfx.c:68:11: style: Variable 'r' is assigned a value that is never used. [unreadVariable] unzip60/qdos/qdos.c:97:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] unzip60/qdos/qdos.c:169:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] unzip60/qdos/qdos.c:354:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable external_file_attributes [valueFlowBailoutIncompleteVar] unzip60/qdos/qdos.c:973:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extra_field [valueFlowBailoutIncompleteVar] unzip60/qdos/qdos.c:1076:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CompiledWith [valueFlowBailoutIncompleteVar] unzip60/qdos/qdos.c:1032:13: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] unzip60/qdos/qdos.c:129:9: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] unzip60/qdos/qdos.c:126:27: note: Assuming allocation function fails unzip60/qdos/qdos.c:126:27: note: Assignment 'q=strdup(f)', assigned value is 0 unzip60/qdos/qdos.c:129:9: note: Null pointer dereference unzip60/qdos/qdos.c:132:11: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] unzip60/qdos/qdos.c:126:27: note: Assuming allocation function fails unzip60/qdos/qdos.c:126:27: note: Assignment 'q=strdup(f)', assigned value is 0 unzip60/qdos/qdos.c:129:18: note: Assuming condition is false unzip60/qdos/qdos.c:132:11: note: Null pointer dereference unzip60/qdos/qdos.c:129:24: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] unzip60/qdos/qdos.c:126:27: note: Assuming allocation function fails unzip60/qdos/qdos.c:126:27: note: Assignment 'q=strdup(f)', assigned value is 0 unzip60/qdos/qdos.c:129:24: note: Null pointer addition unzip60/qdos/qdos.c:129:38: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] unzip60/qdos/qdos.c:126:27: note: Assuming allocation function fails unzip60/qdos/qdos.c:126:27: note: Assignment 'q=strdup(f)', assigned value is 0 unzip60/qdos/qdos.c:129:18: note: Assuming condition is true unzip60/qdos/qdos.c:129:38: note: Null pointer addition unzip60/qdos/qdos.c:397:26: style: Local variable 'ef_len' shadows outer variable [shadowVariable] unzip60/qdos/qdos.c:891:14: note: Shadowed variable unzip60/qdos/qdos.c:397:26: note: Shadow local variable unzip60/qdos/qdos.c:76:11: style: Variable 'cdb' can be declared as pointer to const [constVariablePointer] unzip60/qdos/qdos.c:126:11: style: Variable 'o' can be declared as pointer to const [constVariablePointer] unzip60/tandem/tandem.c:157:39: error: syntax error [syntaxError] unzip60/tandem/tanunz.c:298:34: error: syntax error [syntaxError] unzip60/theos/_isatty.c:22:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] unzip60/theos/_setargv.c:50:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] unzip60/theos/_setargv.c:106:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _errnum [valueFlowBailoutIncompleteVar] unzip60/theos/_setargv.c:45:60: style: Parameter 's' can be declared as pointer to const [constParameterPointer] unzip60/theos/_setargv.c:71:28: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] unzip60/theos/_stat.c:34:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _FDB_READ_PROTECT [valueFlowBailoutIncompleteVar] unzip60/theos/_stat.c:75:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] unzip60/theos/_stat.c:122:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _FDB_STAT_DIRECTORY [valueFlowBailoutIncompleteVar] unzip60/theos/_stat.c:145:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] unzip60/theos/_stat.c:226:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOPEN_MAX [valueFlowBailoutIncompleteVar] unzip60/theos/_stat.c:263:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_DISK [valueFlowBailoutIncompleteVar] unzip60/theos/_stat.c:300:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IFLIB [valueFlowBailoutIncompleteVar] unzip60/theos/_stat.c:335:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] unzip60/theos/_stat.c:116:22: warning:inconclusive: Logical conjunction always evaluates to false: drive >= 'a' && drive <= 'Z'. [incorrectLogicOperator] unzip60/theos/_stat.c:197:13: error: Memory leak: ifn [memleak] unzip60/theos/_stat.c:202:13: error: Memory leak: ifn [memleak] unzip60/theos/_stat.c:347:17: error: Memory leak: mypath [memleak] unzip60/theos/_stat.c:352:20: warning: Either the condition 'mypath' is redundant or there is possible null pointer dereference: mypath. [nullPointerRedundantCheck] unzip60/theos/_stat.c:339:9: note: Assuming that condition 'mypath' is not redundant unzip60/theos/_stat.c:352:20: note: Null pointer dereference unzip60/theos/_stat.c:259:26: style: Variable 'ucb' can be declared as pointer to const [constVariablePointer] unzip60/theos/_stat.c:261:9: style: Variable 'ucb' is assigned a value that is never used. [unreadVariable] unzip60/theos/theos.c:746:25: error: Unmatched '('. Configuration: '__GNUC__=1'. [syntaxError] unzip60/timezone.c:489:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable daylight [valueFlowBailoutIncompleteVar] unzip60/timezone.c:660:13: style: Condition 'ltm==(struct tm*)NULL' is always false [knownConditionTrueFalse] unzip60/timezone.c:510:9: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] unzip60/timezone.c:523:39: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] unzip60/timezone.c:497:17: error: Common realloc mistake: 'old_TZstring' nulled but not freed upon failure [memleakOnRealloc] unzip60/timezone.c:128:20: style:inconclusive: Function 'transtime' argument 1 names different: declaration '' definition 'janfirst'. [funcArgNamesDifferentUnnamed] unzip60/timezone.c:129:17: style:inconclusive: Function 'transtime' argument 2 names different: declaration '' definition 'year'. [funcArgNamesDifferentUnnamed] unzip60/timezone.c:130:34: style:inconclusive: Function 'transtime' argument 3 names different: declaration '' definition 'rulep'. [funcArgNamesDifferentUnnamed] unzip60/timezone.c:131:18: style:inconclusive: Function 'transtime' argument 4 names different: declaration '' definition 'offset'. [funcArgNamesDifferentUnnamed] unzip60/timezone.c:219:37: style:inconclusive: Function 'generate_transitions' argument 1 names different: declaration '' definition 'sp'. [funcArgNamesDifferentUnnamed] unzip60/timezone.c:220:34: style:inconclusive: Function 'generate_transitions' argument 2 names different: declaration '' definition 'start'. [funcArgNamesDifferentUnnamed] unzip60/timezone.c:221:34: style:inconclusive: Function 'generate_transitions' argument 3 names different: declaration '' definition 'end'. [funcArgNamesDifferentUnnamed] unzip60/timezone.c:258:19: style:inconclusive: Function 'getzname' argument 1 names different: declaration '' definition 'strp'. [funcArgNamesDifferentUnnamed] unzip60/timezone.c:269:19: style:inconclusive: Function 'getnum' argument 1 names different: declaration '' definition 'strp'. [funcArgNamesDifferentUnnamed] unzip60/timezone.c:270:19: style:inconclusive: Function 'getnum' argument 2 names different: declaration '' definition 'nump'. [funcArgNamesDifferentUnnamed] unzip60/timezone.c:271:17: style:inconclusive: Function 'getnum' argument 3 names different: declaration '' definition 'min'. [funcArgNamesDifferentUnnamed] unzip60/timezone.c:272:17: style:inconclusive: Function 'getnum' argument 4 names different: declaration '' definition 'max'. [funcArgNamesDifferentUnnamed] unzip60/timezone.c:293:19: style:inconclusive: Function 'getsecs' argument 1 names different: declaration '' definition 'strp'. [funcArgNamesDifferentUnnamed] unzip60/timezone.c:294:20: style:inconclusive: Function 'getsecs' argument 2 names different: declaration '' definition 'secsp'. [funcArgNamesDifferentUnnamed] unzip60/timezone.c:327:19: style:inconclusive: Function 'getoffset' argument 1 names different: declaration '' definition 'strp'. [funcArgNamesDifferentUnnamed] unzip60/timezone.c:328:20: style:inconclusive: Function 'getoffset' argument 2 names different: declaration '' definition 'offsetp'. [funcArgNamesDifferentUnnamed] unzip60/timezone.c:346:19: style:inconclusive: Function 'getrule' argument 1 names different: declaration '' definition 'strp'. [funcArgNamesDifferentUnnamed] unzip60/timezone.c:347:27: style:inconclusive: Function 'getrule' argument 2 names different: declaration '' definition 'rulep'. [funcArgNamesDifferentUnnamed] unzip60/timezone.c:394:19: style:inconclusive: Function 'Parse_TZ' argument 1 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] unzip60/timezone.c:395:37: style:inconclusive: Function 'Parse_TZ' argument 2 names different: declaration '' definition 'sp'. [funcArgNamesDifferentUnnamed] unzip60/timezone.c:741:17: style:inconclusive: Function 'mkgmtime' argument 1 names different: declaration '' definition 'tm'. [funcArgNamesDifferentUnnamed] unzip60/timezone.c:130:34: style: Parameter 'rulep' can be declared as pointer to const [constParameterPointer] unzip60/timezone.c:529:21: style: Parameter 'when' can be declared as pointer to const [constParameterPointer] unzip60/timezone.c:557:21: style: Parameter 'when' can be declared as pointer to const [constParameterPointer] unzip60/tops20/tops20.c:179:1: error: Unmatched '}'. Configuration: '__GNUC__=1'. [syntaxError] unzip60/ttyio.c:314:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECHO [valueFlowBailoutIncompleteVar] unzip60/ttyio.c:328:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECHO [valueFlowBailoutIncompleteVar] unzip60/ttyio.c:331:5: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] unzip60/ttyio.c:308:9: style:inconclusive: Function 'Echoff' argument 1 names different: declaration '' definition 'f'. [funcArgNamesDifferentUnnamed] unzip60/ttyio.c:486:9: style:inconclusive: Function 'zgetch' argument 1 names different: declaration '' definition 'f'. [funcArgNamesDifferentUnnamed] unzip60/unix/unix.c:354:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable external_file_attributes [valueFlowBailoutIncompleteVar] unzip60/unix/unix.c:1112:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __G__ [valueFlowBailoutIncompleteVar] unzip60/unix/unix.c:1453:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CompiledWith [valueFlowBailoutIncompleteVar] unzip60/unix/unix.c:1248:13: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] unzip60/unix/unix.c:1109:9: style: Local variable 'z_uidgid' shadows outer variable [shadowVariable] unzip60/unix/unix.c:1047:9: note: Shadowed variable unzip60/unix/unix.c:1109:9: note: Shadow local variable unzip60/unshrink.c:132:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lenEOL [valueFlowBailoutIncompleteVar] unzip60/unshrink.c:309:9: style:inconclusive: Function 'partial_clear' argument 1 names different: declaration '' definition 'lastcodeused'. [funcArgNamesDifferentUnnamed] unzip60/unshrink.c:242:27: style: Variable 'p' can be declared as pointer to const [constVariablePointer] unzip60/unzip.c:2590:21: style: Condition 'numopts==0' is always false [knownConditionTrueFalse] unzip60/unzip.c:2346:23: note: Assignment 'numopts=0', assigned value is 0 unzip60/unzip.c:2378:11: note: numopts is incremented', new value is 1 unzip60/unzip.c:2488:11: note: numopts is incremented', new value is 2 unzip60/unzip.c:2493:11: note: numopts is incremented', new value is 3 unzip60/unzip.c:2563:11: note: numopts is incremented', new value is 4 unzip60/unzip.c:2588:11: note: numopts is incremented', new value is 5 unzip60/unzip.c:2590:21: note: Condition 'numopts==0' is always false unzip60/unzip.c:2593:41: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] unzip60/unzip.c:715:9: style:inconclusive: Function 'main' argument 1 names different: declaration '' definition 'argc'. [funcArgNamesDifferentUnnamed] unzip60/unzip.c:716:11: style:inconclusive: Function 'main' argument 2 names different: declaration '' definition 'argv'. [funcArgNamesDifferentUnnamed] unzip60/unzip.c:735:9: style:inconclusive: Function 'unzip' argument 1 names different: declaration '' definition 'argc'. [funcArgNamesDifferentUnnamed] unzip60/unzip.c:736:11: style:inconclusive: Function 'unzip' argument 2 names different: declaration '' definition 'argv'. [funcArgNamesDifferentUnnamed] unzip60/unzip.c:1329:10: style:inconclusive: Function 'uz_opts' argument 1 names different: declaration '' definition 'pargc'. [funcArgNamesDifferentUnnamed] unzip60/unzip.c:1330:13: style:inconclusive: Function 'uz_opts' argument 2 names different: declaration '' definition 'pargv'. [funcArgNamesDifferentUnnamed] unzip60/unzip.c:2011:9: style:inconclusive: Function 'usage' argument 1 names different: declaration '' definition 'error'. [funcArgNamesDifferentUnnamed] unzip60/unzip.c:2344:15: style: Variable 'envptr' can be declared as pointer to const [constVariablePointer] unzip60/unzipstb.c:87:35: error: Unmatched ')'. Configuration: '__GNUC__=1'. [syntaxError] unzip60/vms/cmdline.c:323:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DSC$K_DTYPE_T [valueFlowBailoutIncompleteVar] unzip60/vms/cmdline.c:891:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DSC$K_DTYPE_T [valueFlowBailoutIncompleteVar] unzip60/vms/cmdline.c:966:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIB$SIG_TO_RET [valueFlowBailoutIncompleteVar] unzip60/vms/cmdline.c:1024:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZCONST [valueFlowBailoutIncompleteVar] unzip60/vms/cmdline.c:475:16: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] unzip60/vms/cmdline.c:468:20: note: status is assigned unzip60/vms/cmdline.c:475:16: note: status is overwritten unzip60/vms/cmdline.c:580:16: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] unzip60/vms/cmdline.c:574:20: note: status is assigned unzip60/vms/cmdline.c:580:16: note: status is overwritten unzip60/vms/cmdline.c:793:12: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] unzip60/vms/cmdline.c:766:16: note: status is assigned unzip60/vms/cmdline.c:793:12: note: status is overwritten unzip60/vms/cmdline.c:277:25: style:inconclusive: Function 'vms_unzip_cmdline' argument 1 names different: declaration '' definition 'argc_p'. [funcArgNamesDifferentUnnamed] unzip60/vms/cmdline.c:277:41: style:inconclusive: Function 'vms_unzip_cmdline' argument 2 names different: declaration '' definition 'argv_p'. [funcArgNamesDifferentUnnamed] unzip60/vms/cmdline.c:864:36: style:inconclusive: Function 'get_list' argument 1 names different: declaration '' definition 'qual'. [funcArgNamesDifferentUnnamed] unzip60/vms/cmdline.c:864:67: style:inconclusive: Function 'get_list' argument 2 names different: declaration '' definition 'rawtail'. [funcArgNamesDifferentUnnamed] unzip60/vms/cmdline.c:865:15: style:inconclusive: Function 'get_list' argument 3 names different: declaration '' definition 'delim'. [funcArgNamesDifferentUnnamed] unzip60/vms/cmdline.c:865:29: style:inconclusive: Function 'get_list' argument 4 names different: declaration '' definition 'p_str'. [funcArgNamesDifferentUnnamed] unzip60/vms/cmdline.c:865:51: style:inconclusive: Function 'get_list' argument 5 names different: declaration '' definition 'p_size'. [funcArgNamesDifferentUnnamed] unzip60/vms/cmdline.c:865:74: style:inconclusive: Function 'get_list' argument 6 names different: declaration '' definition 'p_end'. [funcArgNamesDifferentUnnamed] unzip60/vms/cmdline.c:954:37: style:inconclusive: Function 'check_cli' argument 1 names different: declaration '' definition 'qual'. [funcArgNamesDifferentUnnamed] unzip60/vms/cmdline.c:899:15: style: Variable 'src' can be declared as pointer to const [constVariablePointer] unzip60/vms/cmdline.c:376:13: style: Variable 'zipinfo' is assigned a value that is never used. [unreadVariable] unzip60/vms/cmdline.c:380:17: style: Variable 'zipinfo' is assigned a value that is never used. [unreadVariable] unzip60/vms/cmdline.c:474:22: style: Variable 'restore_date' is assigned a value that is never used. [unreadVariable] unzip60/win32/win32.c:245:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] unzip60/win32/win32.c:1031:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_BEGIN [valueFlowBailoutIncompleteVar] unzip60/win32/win32.c:1055:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] unzip60/win32/win32.c:1388:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRIVE_REMOVABLE [valueFlowBailoutIncompleteVar] unzip60/win32/win32.c:1412:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] unzip60/win32/win32.c:1636:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_ATTRIBUTE_DIRECTORY [valueFlowBailoutIncompleteVar] unzip60/win32/win32.c:1834:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_ATTRIBUTE_DIRECTORY [valueFlowBailoutIncompleteVar] unzip60/win32/win32.c:2205:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] unzip60/win32/win32.c:2628:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __VERSION__ [valueFlowBailoutIncompleteVar] unzip60/win32/win32.c:2660:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STD_OUTPUT_HANDLE [valueFlowBailoutIncompleteVar] unzip60/win32/win32.c:2920:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_READ [valueFlowBailoutIncompleteVar] unzip60/win32/win32.c:591:5: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] unzip60/win32/win32.c:1979:5: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] unzip60/win32/win32.c:2084:5: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] unzip60/win32/win32.c:641:11: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] unzip60/win32/win32.c:645:15: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] unzip60/win32/win32.c:1491:18: style:inconclusive: Function 'do_wild' argument 1 names different: declaration '' definition 'wildspec'. [funcArgNamesDifferentUnnamed] unzip60/win32/win32.c:1651:9: style:inconclusive: Function 'mapname' argument 1 names different: declaration '' definition 'renamed'. [funcArgNamesDifferentUnnamed] unzip60/win32/win32.c:2096:11: style:inconclusive: Function 'checkdir' argument 1 names different: declaration '' definition 'pathcomp'. [funcArgNamesDifferentUnnamed] unzip60/win32/win32.c:2097:9: style:inconclusive: Function 'checkdir' argument 2 names different: declaration '' definition 'flag'. [funcArgNamesDifferentUnnamed] unzip60/win32/win32.c:1636:67: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] unzip60/win32/win32.c:630:16: style: Variable 'ltm' can be declared as pointer to const [constVariablePointer] unzip60/win32/win32.c:1500:21: style: Variable 'file' can be declared as pointer to const [constVariablePointer] unzip60/win32/win32.c:1993:11: style: Variable 'ppc' can be declared as pointer to const [constVariablePointer] unzip60/win32/win32.c:2067:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] unzip60/win32/win32.c:2128:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] unzip60/win32/win32.c:2270:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] unzip60/wince/intrface.cpp:650:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_ATTRIBUTE_DIRECTORY [valueFlowBailoutIncompleteVar] unzip60/wince/intrface.cpp:657:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _MAX_PATH [valueFlowBailoutIncompleteVar] unzip60/wince/intrface.cpp:1153:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable filename [valueFlowBailoutIncompleteVar] unzip60/wince/intrface.cpp:1230:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _MAX_PATH [valueFlowBailoutIncompleteVar] unzip60/wince/intrface.cpp:1304:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_BEGIN [valueFlowBailoutIncompleteVar] unzip60/wince/intrface.cpp:1320:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _MAX_PATH [valueFlowBailoutIncompleteVar] unzip60/wince/intrface.cpp:1403:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable matchname [valueFlowBailoutIncompleteVar] unzip60/wince/intrface.cpp:1451:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable file_attr [valueFlowBailoutIncompleteVar] unzip60/wince/intrface.cpp:1475:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPN_OK [valueFlowBailoutIncompleteVar] unzip60/wince/intrface.cpp:1702:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPN_OK [valueFlowBailoutIncompleteVar] unzip60/wince/winmain.h:111:28: warning: Member variable '_FILE_TYPE_NODE::pNext' has no initializer. [uninitMemberVarNoCtor] unzip60/wince/winmain.h:112:28: warning: Member variable '_FILE_TYPE_NODE::image' has no initializer. [uninitMemberVarNoCtor] unzip60/wince/winmain.h:129:11: warning: Member variable '_COLUMN::format' has no initializer. [uninitMemberVarNoCtor] unzip60/wince/intrface.cpp:1112:14: style: Condition 'fOldFileSystem' is always true [knownConditionTrueFalse] unzip60/wince/intrface.cpp:1103:27: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] unzip60/wince/intrface.cpp:664:29: style: C-style pointer casting [cstyleCast] unzip60/wince/intrface.cpp:673:26: style: C-style pointer casting [cstyleCast] unzip60/wince/intrface.cpp:1141:12: style: C-style pointer casting [cstyleCast] unzip60/wince/intrface.cpp:1536:19: style: C-style pointer casting [cstyleCast] unzip60/wince/intrface.cpp:1548:29: style: C-style pointer casting [cstyleCast] unzip60/wince/intrface.cpp:1574:36: style: C-style pointer casting [cstyleCast] unzip60/wince/intrface.cpp:1619:25: style: C-style pointer casting [cstyleCast] unzip60/wince/intrface.cpp:1662:33: style: C-style pointer casting [cstyleCast] unzip60/wince/intrface.cpp:1674:37: style: C-style pointer casting [cstyleCast] unzip60/wince/intrface.cpp:1103:18: style: Variable 'ptmCRT' can be declared as pointer to const [constVariablePointer] unzip60/wince/intrface.cpp:1395:37: style: Parameter 'wildspec' can be declared as pointer to const [constParameterPointer] unzip60/wince/wcemain.c:54:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCHAR [valueFlowBailoutIncompleteVar] unzip60/wince/wcemain.c:43:17: warning: Redundant code: Found unused array access. [constStatement] unzip60/wince/wcemain.c:29:11: style: Variable 'argBuff' can be declared as pointer to const [constVariablePointer] unzip60/wince/wcemain.c:38:21: style: Variable 'endOfCmdLine' can be declared as pointer to const [constVariablePointer] unzip60/wince/wcemain.c:43:9: error: Uninitialized variable: argArray [uninitvar] unzip60/wince/wcemain.c:29:19: style: Variable 'argBuff' is assigned a value that is never used. [unreadVariable] unzip60/wince/wcemain.c:36:22: style: Variable 'nextParam' is assigned a value that is never used. [unreadVariable] unzip60/wince/wcemain.c:37:25: style: Variable 'closingQuote' is assigned a value that is never used. [unreadVariable] unzip60/wince/wcemain.c:25:9: style: Unused variable: r [unusedVariable] unzip60/wince/wcemain.c:29:21: style: Variable 'argBuff' is allocated memory that is never used. [unusedAllocatedMemory] unzip60/wince/winmain.cpp:431:10: error: There is an unknown macro here somewhere. Configuration is required. If TEXT is a macro then please configure it. [unknownMacro] unzip60/windll/guisfx/sfxwiz.c:213:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lst1 [valueFlowBailoutIncompleteVar] unzip60/windll/guisfx/sfxwiz.c:274:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SM_CXSCREEN [valueFlowBailoutIncompleteVar] unzip60/windll/guisfx/sfxwiz.c:457:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_OK [valueFlowBailoutIncompleteVar] unzip60/windll/guisfx/sfxwiz.c:526:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPTR [valueFlowBailoutIncompleteVar] unzip60/windll/guisfx/sfxwiz.c:499:1: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] unzip60/windll/guisfx/sfxwiz.c:514:1: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] unzip60/windll/uzexampl.c:125:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPTR [valueFlowBailoutIncompleteVar] unzip60/windll/uzexampl.c:282:35: style: Checking if unsigned expression 'lpUzVersInfo->unzip.minor' is less than zero. [unsignedLessThanZero] unzip60/windll/uzexampl.c:284:41: style: Checking if unsigned expression 'lpUzVersInfo->unzip.patchlevel' is less than zero. [unsignedLessThanZero] unzip60/windll/uzexampl.c:402:38: style:inconclusive: Function 'GetReplaceDlgRetVal' argument 1 names different: declaration '' definition 'filename'. [funcArgNamesDifferentUnnamed] unzip60/windll/uzexampl.c:402:57: style:inconclusive: Function 'GetReplaceDlgRetVal' argument 2 names different: declaration '' definition 'fnbufsiz'. [funcArgNamesDifferentUnnamed] unzip60/windll/uzexampl.c:430:55: style:inconclusive: Function 'ReceiveDllMessage' argument 2 names different: declaration 'csize' definition 'csiz'. [funcArgNamesDifferent] unzip60/windll/uzexampl.h:57:55: note: Function 'ReceiveDllMessage' argument 2 names different: declaration 'csize' definition 'csiz'. unzip60/windll/uzexampl.c:430:55: note: Function 'ReceiveDllMessage' argument 2 names different: declaration 'csize' definition 'csiz'. unzip60/windll/uzexampl.c:467:27: style:inconclusive: Function 'password' argument 1 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] unzip60/windll/uzexampl.c:467:34: style:inconclusive: Function 'password' argument 2 names different: declaration '' definition 'n'. [funcArgNamesDifferentUnnamed] unzip60/windll/uzexampl.c:467:44: style:inconclusive: Function 'password' argument 3 names different: declaration '' definition 'm'. [funcArgNamesDifferentUnnamed] unzip60/windll/uzexampl.c:467:54: style:inconclusive: Function 'password' argument 4 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] unzip60/windll/uzexampl.c:473:29: style:inconclusive: Function 'DisplayBuf' argument 1 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] unzip60/windll/uzexampl.c:473:48: style:inconclusive: Function 'DisplayBuf' argument 2 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] unzip60/windll/uzexampl.c:111:10: style: Variable 'progname' can be declared as pointer to const [constVariablePointer] unzip60/windll/uzexampl.c:444:6: style: Variable 'CompFactorStr' can be declared as const array [constVariable] unzip60/windll/windll.c:147:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] unzip60/windll/windll.c:209:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] unzip60/windll/windll.c:431:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPTR [valueFlowBailoutIncompleteVar] unzip60/windll/windll.c:731:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] unzip60/windll/windll.c:763:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] unzip60/windll/windll.c:449:44: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] unzip60/windll/windll.c:850:5: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] unzip60/windll/windll.c:856:1: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] unzip60/windll/windll.c:146:29: warning: Either the condition 'pargCee!=NULL' is redundant or there is possible null pointer dereference: pargCee. [nullPointerRedundantCheck] unzip60/windll/windll.c:144:21: note: Assuming that condition 'pargCee!=NULL' is not redundant unzip60/windll/windll.c:146:29: note: Null pointer dereference unzip60/windll/windll.c:182:19: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: str1 [nullPointerOutOfMemory] unzip60/windll/windll.c:178:27: note: Assuming allocation function fails unzip60/windll/windll.c:178:12: note: Assignment 'str1=(char*)malloc(lstrlen(s)+4)', assigned value is 0 unzip60/windll/windll.c:182:19: note: Null pointer dereference unzip60/windll/windll.c:184:27: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: str1 [nullPointerOutOfMemory] unzip60/windll/windll.c:178:27: note: Assuming allocation function fails unzip60/windll/windll.c:178:12: note: Assignment 'str1=(char*)malloc(lstrlen(s)+4)', assigned value is 0 unzip60/windll/windll.c:184:27: note: Null pointer dereference unzip60/windll/windll.c:193:27: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: str1 [nullPointerOutOfMemory] unzip60/windll/windll.c:178:27: note: Assuming allocation function fails unzip60/windll/windll.c:178:12: note: Assignment 'str1=(char*)malloc(lstrlen(s)+4)', assigned value is 0 unzip60/windll/windll.c:193:27: note: Null pointer dereference unzip60/windll/windll.c:1036:16: warning: If memory allocation fails, then there is a possible null pointer dereference: sz [nullPointerOutOfMemory] unzip60/windll/windll.c:1030:16: note: Assuming allocation function fails unzip60/windll/windll.c:1030:16: note: Assignment 'sz=malloc(patternLen+3)', assigned value is 0 unzip60/windll/windll.c:1031:13: note: Assuming condition is false unzip60/windll/windll.c:1036:16: note: Null pointer dereference unzip60/windll/windll.c:193:18: style: Variable 'str2' is reassigned a value before the old one has been used. [redundantAssignment] unzip60/windll/windll.c:182:10: note: str2 is assigned unzip60/windll/windll.c:193:18: note: str2 is overwritten unzip60/windll/windll.c:138:42: style:inconclusive: Function 'UnzipAllocMemory' argument 1 names different: declaration '' definition 'i'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:138:51: style:inconclusive: Function 'UnzipAllocMemory' argument 2 names different: declaration '' definition 'cmd'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:138:62: style:inconclusive: Function 'UnzipAllocMemory' argument 3 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:139:37: style:inconclusive: Function 'UnzipAllocMemory' argument 4 names different: declaration '' definition 'pargVee'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:139:60: style:inconclusive: Function 'UnzipAllocMemory' argument 5 names different: declaration '' definition 'pargCee'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:156:45: style:inconclusive: Function 'UnzipFreeArguments' argument 1 names different: declaration '' definition 'argCee'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:156:61: style:inconclusive: Function 'UnzipFreeArguments' argument 2 names different: declaration '' definition 'pargVee'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:172:36: style:inconclusive: Function 'UnzipParseString' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:172:53: style:inconclusive: Function 'UnzipParseString' argument 2 names different: declaration '' definition 'pargCee'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:172:70: style:inconclusive: Function 'UnzipParseString' argument 3 names different: declaration '' definition 'pargVee'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:286:8: style:inconclusive: Function 'Wiz_Init' argument 1 names different: declaration '' definition 'pG'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:287:17: style:inconclusive: Function 'Wiz_Init' argument 2 names different: declaration '' definition 'lpUserFunc'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:348:8: style:inconclusive: Function 'Wiz_SetOpts' argument 1 names different: declaration '' definition 'pG'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:349:7: style:inconclusive: Function 'Wiz_SetOpts' argument 2 names different: declaration '' definition 'lpDCL'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:462:8: style:inconclusive: Function 'Wiz_Unzip' argument 1 names different: declaration '' definition 'pG'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:463:5: style:inconclusive: Function 'Wiz_Unzip' argument 2 names different: declaration '' definition 'ifnc'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:464:8: style:inconclusive: Function 'Wiz_Unzip' argument 3 names different: declaration '' definition 'ifnv'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:465:5: style:inconclusive: Function 'Wiz_Unzip' argument 4 names different: declaration '' definition 'xfnc'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:466:8: style:inconclusive: Function 'Wiz_Unzip' argument 5 names different: declaration '' definition 'xfnv'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:656:37: style:inconclusive: Function 'Wiz_SingleEntryUnzip' argument 1 names different: declaration '' definition 'ifnc'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:656:50: style:inconclusive: Function 'Wiz_SingleEntryUnzip' argument 2 names different: declaration '' definition 'ifnv'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:656:60: style:inconclusive: Function 'Wiz_SingleEntryUnzip' argument 3 names different: declaration '' definition 'xfnc'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:656:73: style:inconclusive: Function 'Wiz_SingleEntryUnzip' argument 4 names different: declaration '' definition 'xfnv'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:657:10: style:inconclusive: Function 'Wiz_SingleEntryUnzip' argument 5 names different: declaration '' definition 'lpDCL'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:657:33: style:inconclusive: Function 'Wiz_SingleEntryUnzip' argument 6 names different: declaration '' definition 'lpUserFunc'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:717:49: style:inconclusive: Function 'Wiz_SingleEntryUnzpList' argument 1 names different: declaration '' definition 'ifnc'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:717:62: style:inconclusive: Function 'Wiz_SingleEntryUnzpList' argument 2 names different: declaration '' definition 'ExtList'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:718:17: style:inconclusive: Function 'Wiz_SingleEntryUnzpList' argument 3 names different: declaration '' definition 'xfnc'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:718:30: style:inconclusive: Function 'Wiz_SingleEntryUnzpList' argument 4 names different: declaration '' definition 'ExcList'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:719:10: style:inconclusive: Function 'Wiz_SingleEntryUnzpList' argument 5 names different: declaration '' definition 'lpDCL'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:719:33: style:inconclusive: Function 'Wiz_SingleEntryUnzpList' argument 6 names different: declaration '' definition 'lpUserFunc'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:761:53: style:inconclusive: Function 'win_fprintf' argument 3 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:761:69: style:inconclusive: Function 'win_fprintf' argument 4 names different: declaration '' definition 'buffer'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:823:12: style:inconclusive: Function 'UzpPassword' argument 1 names different: declaration '' definition 'pG'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:824:10: style:inconclusive: Function 'UzpPassword' argument 2 names different: declaration '' definition 'rcnt'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:825:11: style:inconclusive: Function 'UzpPassword' argument 3 names different: declaration '' definition 'pwbuf'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:826:9: style:inconclusive: Function 'UzpPassword' argument 4 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:827:18: style:inconclusive: Function 'UzpPassword' argument 5 names different: declaration '' definition 'zfn'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:828:18: style:inconclusive: Function 'UzpPassword' argument 6 names different: declaration '' definition 'efn'. [funcArgNamesDifferentUnnamed] unzip60/windll/windll.c:138:51: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] unzip60/windll/windll.c:138:62: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] unzip60/windll/windll.c:989:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] unzip60/windll/windll.c:753:63: warning: Uninitialized variable: argVExc [uninitvar] unzip60/windll/windll.c:738:17: note: Assuming condition is false unzip60/windll/windll.c:753:63: note: Uninitialized variable: argVExc unzip60/zipinfo.c:901:25: style: The statement 'if (endprev!=0) endprev=0' is logically equivalent to 'endprev=0'. [duplicateConditionalAssign] unzip60/zipinfo.c:901:39: note: Assignment 'endprev=0' unzip60/zipinfo.c:901:25: note: Condition 'endprev!=0' is redundant unzip60/zipinfo.c:693:5: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] unzip60/zipinfo.c:2214:8: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] unzip60/zipinfo.c:450:10: style:inconclusive: Function 'zi_opts' argument 1 names different: declaration '' definition 'pargc'. [funcArgNamesDifferentUnnamed] unzip60/zipinfo.c:451:13: style:inconclusive: Function 'zi_opts' argument 2 names different: declaration '' definition 'pargv'. [funcArgNamesDifferentUnnamed] unzip60/zipinfo.c:990:13: style:inconclusive: Function 'zi_long' argument 1 names different: declaration '' definition 'pEndprev'. [funcArgNamesDifferentUnnamed] unzip60/zipinfo.c:991:9: style:inconclusive: Function 'zi_long' argument 2 names different: declaration '' definition 'error_in_archive'. [funcArgNamesDifferentUnnamed] unzip60/zipinfo.c:2201:10: style:inconclusive: Function 'zi_showMacTypeCreator' argument 1 names different: declaration '' definition 'ebfield'. [funcArgNamesDifferentUnnamed] unzip60/zipinfo.c:2236:17: style:inconclusive: Function 'zi_time' argument 1 names different: declaration '' definition 'datetimez'. [funcArgNamesDifferentUnnamed] unzip60/zipinfo.c:2237:20: style:inconclusive: Function 'zi_time' argument 2 names different: declaration '' definition 'modtimez'. [funcArgNamesDifferentUnnamed] unzip60/zipinfo.c:2238:11: style:inconclusive: Function 'zi_time' argument 3 names different: declaration '' definition 'd_t_str'. [funcArgNamesDifferentUnnamed] unzip60/zipinfo.c:454:21: style: Variable 's' can be declared as pointer to const [constVariablePointer] unzip60/zipinfo.c:912:15: style: Variable 'sgn' can be declared as pointer to const [constVariablePointer] unzip60/zipinfo.c:999:18: style: Variable 'varmsg_str' can be declared as pointer to const [constVariablePointer] unzip60/zipinfo.c:1013:29: style: Variable 'dtypelng' can be declared as const array [constVariable] unzip60/zipinfo.c:1164:29: style: Variable 'q' can be declared as pointer to const [constVariablePointer] unzip60/zipinfo.c:1228:26: style: Variable 'fpFtyp' can be declared as pointer to const [constVariablePointer] unzip60/zipinfo.c:1359:26: style: Variable 'ef_fieldname' can be declared as pointer to const [constVariablePointer] unzip60/zipinfo.c:1528:31: style: Variable 'p' can be declared as pointer to const [constVariablePointer] unzip60/zipinfo.c:1886:24: style: Variable 'dtype' can be declared as const array [constVariable] unzip60/zipinfo.c:1887:28: style: Variable 'os' can be declared as const array [constVariable] unzip60/zipinfo.c:1896:28: style: Variable 'method' can be declared as const array [constVariable] unzip60/zipinfo.c:2201:10: style: Parameter 'ebfield' can be declared as pointer to const [constParameterPointer] unzip60/zipinfo.c:2236:17: style: Parameter 'datetimez' can be declared as pointer to const [constParameterPointer] unzip60/zipinfo.c:2242:18: style: Variable 'monthstr' can be declared as pointer to const [constVariablePointer] diff: 2.22.0 unzip60/qdos/makesfx.c:170:63: style: Condition 'fs_headr(fd,-1,&sd,sizeof(sd))>0' is always true [knownConditionTrueFalse] unzip60/qdos/makesfx.c:170:28: note: Calling function 'fs_headr' returns 42 unzip60/qdos/makesfx.c:170:63: note: Condition 'fs_headr(fd,-1,&sd,sizeof(sd))>0' is always true 2.22.0 unzip60/qdos/makesfx.c:199:63: style: Condition 'fs_headr(fd,-1,&xd,sizeof(xd))>0' is always true [knownConditionTrueFalse] unzip60/qdos/makesfx.c:199:28: note: Calling function 'fs_headr' returns 42 unzip60/qdos/makesfx.c:199:63: note: Condition 'fs_headr(fd,-1,&xd,sizeof(xd))>0' is always true DONE