2025-05-08 14:49 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 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 66c9938 (2025-05-08 13:55:11 +0200) count: 410 408 elapsed-time: 10.4 9.2 head-timing-info: old-timing-info: head results: 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/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/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/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/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/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/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/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/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: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/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/amiga/makesfx.c:149:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACCESS_READ [valueFlowBailoutIncompleteVar] unzip60/aosvs/aosvs.c:41:59: error: syntax error [syntaxError] 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/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/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/atari/atari.c:928:13: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] unzip60/beos/beosmain.cpp:40:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_QUIT_REQUESTED [valueFlowBailoutIncompleteVar] 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/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/atheos/atheos.c:1048:13: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] unzip60/atheos/atheos.c:927:9: style: Local variable 'z_uidgid' shadows outer variable [shadowVariable] unzip60/atheos/atheos.c:866:9: note: Shadowed declaration unzip60/atheos/atheos.c:927:9: note: Shadow variable unzip60/atheos/atheos.c:1345:15: style: Variable 'id' is assigned a value that is never used. [unreadVariable] unzip60/beos/beos.c:1101:13: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] 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: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/beos/beos.c:964:9: style: Local variable 'z_uidgid' shadows outer variable [shadowVariable] unzip60/beos/beos.c:904:9: note: Shadowed declaration unzip60/beos/beos.c:964:9: note: Shadow 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/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: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: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: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/fileio.c:1022:21: error: syntax error [syntaxError] unzip60/flexos/flexos.c:936:1: portability: Omitted return type of function '_wildarg' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] unzip60/flexos/flexos.c:225:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable file_attr [valueFlowBailoutIncompleteVar] unzip60/flexos/flexos.c:806:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable outfile [valueFlowBailoutIncompleteVar] unzip60/flexos/flexos.c:900:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DF_DMY [valueFlowBailoutIncompleteVar] unzip60/flexos/flexos.c:912:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CompiledWith [valueFlowBailoutIncompleteVar] unzip60/flexos/flexos.c:463:11: style: Variable 'pEnd' can be declared as pointer to const [constVariablePointer] unzip60/flexos/flexos.c:499:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] 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:479:18: style: Local variable 'n' shadows outer variable [shadowVariable] unzip60/funzip.c:287:7: note: Shadowed declaration unzip60/funzip.c:479:18: note: Shadow variable 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/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/list.c:731:5: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] 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/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/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:105:58: style: Parameter 'terms' can be declared as pointer to const [constParameterPointer] unzip60/macos/source/helpers.c:114:37: error: syntax error [syntaxError] 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/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/macdir.c:52:20: style: Parameter 'dirName' can be declared as pointer to const [constParameterPointer] 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/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/macbin3.c:615:12: style: Variable 'result' is assigned a value that is never used. [unreadVariable] 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/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/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/mactime.c:151:9: style: Redundant assignment of 'mactime' to itself. [selfAssignment] 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/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:151:9: style: Variable 'mactime' 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/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/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/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/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/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/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/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: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/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/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/os2/os2acl.c:290:12: style: Local variable 'ai' shadows outer variable [shadowVariable] unzip60/os2/os2acl.c:101:17: note: Shadowed declaration unzip60/os2/os2acl.c:290:12: note: Shadow variable unzip60/os2/os2acl.c:332:12: style: Local variable 'ai' shadows outer variable [shadowVariable] unzip60/os2/os2acl.c:101:17: note: Shadowed declaration unzip60/os2/os2acl.c:332:12: note: Shadow variable 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:330:43: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] unzip60/os2/os2acl.c:334:9: style: Variable 'ptr' 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/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/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/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/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:397:26: style: Local variable 'ef_len' shadows outer variable [shadowVariable] unzip60/qdos/qdos.c:891:14: note: Shadowed declaration unzip60/qdos/qdos.c:397:26: note: Shadow 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/process.c:251:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lenEOL [valueFlowBailoutIncompleteVar] 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:62:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] unzip60/theos/_setargv.c:71:28: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] 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 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 unzip60/qdos/makesfx.c:201:21: error: Common realloc mistake: 'p' nulled but not freed upon failure [memleakOnRealloc] unzip60/qdos/makesfx.c:176:50: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] unzip60/qdos/makesfx.c:173:31: note: Assuming allocation function fails unzip60/qdos/makesfx.c:173:31: note: Assignment 'p=malloc(sd.d_length)', assigned value is 0 unzip60/qdos/makesfx.c:176:50: note: Null pointer addition 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: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/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/theos.c:746:25: error: Unmatched '('. Configuration: '__GNUC__=1'. [syntaxError] 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/tops20/tops20.c:179:1: error: Unmatched '}'. Configuration: '__GNUC__=1'. [syntaxError] unzip60/timezone.c:489:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable daylight [valueFlowBailoutIncompleteVar] 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/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/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 declaration unzip60/unix/unix.c:1109:9: note: Shadow variable 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:0: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] unzip60/timezone.c:660:13: style: Condition 'ltm==(struct tm*)NULL' is always false [knownConditionTrueFalse] unzip60/timezone.c:497:17: error: Common realloc mistake: 'old_TZstring' nulled but not freed upon failure [memleakOnRealloc] 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/unzipstb.c:87:35: error: Unmatched ')'. Configuration: '__GNUC__=1'. [syntaxError] unzip60/unshrink.c:132:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lenEOL [valueFlowBailoutIncompleteVar] 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: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/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/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:1112:14: style: Condition 'fOldFileSystem' is always true [knownConditionTrueFalse] 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/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: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/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:37: style: Comparing expression of type 'const unsigned char' against value 0. Condition is always false. [compareValueOutOfTypeRangeError] unzip60/windll/uzexampl.c:284:43: style: Comparing expression of type 'const unsigned char' against value 0. Condition is always false. [compareValueOutOfTypeRangeError] 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: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: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:0: 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: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: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/unzip.c:2593:0: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] 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:2344:15: style: Variable 'envptr' can be declared as pointer to const [constVariablePointer] 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: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: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: head unzip60/macos/source/macbin3.c:615:12: style: Variable 'result' is assigned a value that is never used. [unreadVariable] 2.17.0 unzip60/qdos/makesfx.c:176:50: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] unzip60/qdos/makesfx.c:173:31: note: Assuming allocation function fails unzip60/qdos/makesfx.c:173:31: note: Assignment 'p=malloc(sd.d_length)', assigned value is 0 unzip60/qdos/makesfx.c:176:50: note: Null pointer addition head unzip60/qdos/makesfx.c:176:50: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] unzip60/qdos/makesfx.c:173:31: note: Assuming allocation function fails unzip60/qdos/makesfx.c:173:31: note: Assignment 'p=malloc(sd.d_length)', assigned value is 0 unzip60/qdos/makesfx.c:176:50: note: Null pointer addition head unzip60/timezone.c:660:13: style: Condition 'ltm==(struct tm*)NULL' is always false [knownConditionTrueFalse] DONE