2024-04-20 22:02 ftp://ftp.de.debian.org/debian/pool/main/p/papyrus/papyrus_3.7.1+dfsg.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-105-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.56 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.13.0 head-info: fb15ac6 (2024-04-20 19:16:41 +0200) count: 504 427 elapsed-time: 75.0 104.5 head-timing-info: old-timing-info: head results: Papyrus3/DicomDir/DicomDirDataSetRead.c:75:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] Papyrus3/DicomDir/DicomDirDataSetRead.c:103:19: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/DicomDir/DicomDirDataSetRead.c:227:16: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/DicomDir/DicomDirDataSetWrite.c:81:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Object [valueFlowBailoutIncompleteVar] Papyrus3/DicomDir/DicomDirDataSetWrite.c:114:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable papDirectoryRecordSequence [valueFlowBailoutIncompleteVar] Papyrus3/DicomDir/DicomDirDataSetWrite.c:162:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Object [valueFlowBailoutIncompleteVar] Papyrus3/DicomDir/DicomDirDataSetWrite.c:260:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable END_GROUP [valueFlowBailoutIncompleteVar] Papyrus3/DicomDir/DicomDirDataSetWrite.c:155:10: style: Variable 'theItemP' can be declared as pointer to const [constVariablePointer] Papyrus3/DicomDir/DicomDirDataSetWrite.c:174:12: style: Variable 'theItemP' is assigned a value that is never used. [unreadVariable] Papyrus3/DicomDir/DicomDirDataSetWrite.c:207:16: style: Variable 'theElemP' is assigned a value that is never used. [unreadVariable] Papyrus3/DicomDir/DicomDirFiles.c:99:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable papNbImagesIsZero [valueFlowBailoutIncompleteVar] Papyrus3/DicomDir/DicomDirFiles.c:225:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gArrMemFile [valueFlowBailoutIncompleteVar] Papyrus3/DicomDir/DicomDirFiles.c:170:17: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/DicomDir/DicomDirFiles.c:153:14: note: theErr is assigned Papyrus3/DicomDir/DicomDirFiles.c:170:17: note: theErr is overwritten Papyrus3/DicomDir/DicomDirFiles.c:170:17: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/DicomDir/DicomDirFiles.c:164:14: note: theErr is assigned Papyrus3/DicomDir/DicomDirFiles.c:170:17: note: theErr is overwritten Papyrus3/DicomDir/DicomDirInit.c:87:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gArrRecord [valueFlowBailoutIncompleteVar] Papyrus3/DicomDir/DicomDirInit.c:123:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kMax_file_open [valueFlowBailoutIncompleteVar] Papyrus3/DicomDir/DicomDirInit.c:228:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gArrRecord [valueFlowBailoutIncompleteVar] Papyrus3/DicomDir/DicomDirInit.c:252:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable papNoError [valueFlowBailoutIncompleteVar] Papyrus3/DicomDir/DicomDirInitRecords.c:78:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] Papyrus3/DicomDir/DicomDirInitRecords.c:223:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] Papyrus3/DicomDir/DicomDirInitRecords.c:409:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] Papyrus3/DicomDir/DicomDirInitRecords.c:575:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] Papyrus3/DicomDir/DicomDirInitRecords.c:721:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] Papyrus3/DicomDir/DicomDirInitRecords.c:867:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] Papyrus3/DicomDir/DicomDirInitRecords.c:1003:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] Papyrus3/DicomDir/DicomDirInitRecords.c:1139:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] Papyrus3/DicomDir/DicomDirInitRecords.c:1275:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] Papyrus3/DicomDir/DicomDirInitRecords.c:1441:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] Papyrus3/DicomDir/DicomDirInitRecords.c:1597:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] Papyrus3/DicomDir/DicomDirInitRecords.c:1742:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] Papyrus3/DicomDir/DicomDirInitRecords.c:1937:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] Papyrus3/DicomDir/DicomDirInitRecords.c:2102:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] Papyrus3/DicomDir/DicomDirInitRecords.c:2247:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] Papyrus3/DicomDir/DicomDirInitRecords.c:2393:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] Papyrus3/DicomDir/DicomDirInitRecords.c:2528:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] Papyrus3/DicomDir/OGlobalDicomFunc.cpp:70:29: style: Parameter 'inChar' can be declared as pointer to const [constParameterPointer] Papyrus3/DicomDir/OGlobalDicomFunc.cpp:92:29: style: Parameter 'inChar' can be declared as pointer to const [constParameterPointer] Papyrus3/DicomDir/OGlobalDicomFunc.cpp:114:29: style: Parameter 'inChar' can be declared as pointer to const [constParameterPointer] Papyrus3/JpegDir/JpgLless/JPEGUTIL.C:138:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/JPEGUTIL.C:166:15: style: C-style pointer casting [cstyleCast] Papyrus3/JpegDir/JpgLless/JPEGUTIL.C:167:15: style: C-style pointer casting [cstyleCast] Papyrus3/JpegDir/JpgLless/JPEGUTIL.C:319:10: style: C-style pointer casting [cstyleCast] Papyrus3/JpegDir/JpgLless/JPEGUTIL.C:129:24: style: The scope of the variable 'compPtr' can be reduced. [variableScope] Papyrus3/JpegDir/JpgLless/JPEGUTIL.C:205:9: style: The scope of the variable 'size' can be reduced. [variableScope] Papyrus3/JpegDir/JpgLless/JPEGUTIL.C:149:8: style: Local variable 'ci' shadows outer variable [shadowVariable] Papyrus3/JpegDir/JpgLless/JPEGUTIL.C:128:11: note: Shadowed declaration Papyrus3/JpegDir/JpgLless/JPEGUTIL.C:149:8: note: Shadow variable Papyrus3/JpegDir/JpgLless/JPEGUTIL.C:129:24: style: Variable 'compPtr' can be declared as pointer to const [constVariablePointer] Papyrus3/JpegDir/JpgLless/MCU.C:94:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ComponentType [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/MCU.C:103:16: style: C-style pointer casting [cstyleCast] Papyrus3/JpegDir/JpgLless/MCU.C:106:14: style: C-style pointer casting [cstyleCast] Papyrus3/JpegDir/JpgLless/READ.C:197:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/READ.C:250:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/READ.C:322:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/READ.C:384:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/READ.C:533:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/READ.C:592:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/READ.C:659:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/READ.C:220:26: style: Condition '*htblptr==NULL' is always false [knownConditionTrueFalse] Papyrus3/JpegDir/JpgLless/READ.C:305:10: style: Redundant assignment of 'code' to itself. [selfAssignment] Papyrus3/JpegDir/JpgLless/READ.C:181:12: style: The scope of the variable 'index' can be reduced. [variableScope] Papyrus3/JpegDir/JpgLless/READ.C:181:19: style: The scope of the variable 'count' can be reduced. [variableScope] Papyrus3/JpegDir/JpgLless/READ.C:302:9: style: The scope of the variable 'c' can be reduced. [variableScope] Papyrus3/JpegDir/JpgLless/READ.C:303:24: style: The scope of the variable 'compptr' can be reduced. [variableScope] Papyrus3/JpegDir/JpgLless/READ.C:371:22: style: The scope of the variable 'cc' can be reduced. [variableScope] Papyrus3/JpegDir/JpgLless/READ.C:503:7: style: The scope of the variable 'c' can be reduced. [variableScope] Papyrus3/JpegDir/JpgLless/READ.C:305:10: style: Variable 'code' is assigned a value that is never used. [unreadVariable] Papyrus3/JpegDir/JpgLless/READ.C:392:9: style: Variable 'length' is assigned a value that is never used. [unreadVariable] Papyrus3/JpegDir/JpgLless/WRITE.C:258:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable componentId [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/WRITE.C:184:7: warning: Either the condition 'htbl==NULL' is redundant or there is possible null pointer dereference: htbl. [nullPointerRedundantCheck] Papyrus3/JpegDir/JpgLless/WRITE.C:181:11: note: Assuming that condition 'htbl==NULL' is not redundant Papyrus3/JpegDir/JpgLless/WRITE.C:184:7: note: Null pointer dereference Papyrus3/JpegDir/JpgLless/WRITE.C:175:6: style: The scope of the variable 'length' can be reduced. [variableScope] Papyrus3/JpegDir/JpgLless/WRITE.C:175:14: style: The scope of the variable 'i' can be reduced. [variableScope] Papyrus3/JpegDir/JpgLless/WRITE.C:211:24: style: Parameter 'cPtr' can be declared as pointer to const [constParameterPointer] Papyrus3/JpegDir/JpgLless/WRITE.C:311:33: style: Parameter 'cPtr' can be declared as pointer to const [constParameterPointer] Papyrus3/JpegDir/JpgLless/WRITE.C:181:6: warning: Uninitialized variable: htbl [uninitvar] Papyrus3/JpegDir/JpgLless/WRITE.C:176:6: note: Assuming condition is true Papyrus3/JpegDir/JpgLless/WRITE.C:181:6: note: Uninitialized variable: htbl Papyrus3/JpegDir/JpgLless/decompoptimise.c:130:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inputBufferOffset [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/decompoptimise.c:164:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inputBufferOffset [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:251:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JPEG_BUF_SIZE [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:396:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JPEG_BUF_SIZE [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:448:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ehufsi [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:557:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ehufsi [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:833:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:1192:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mcuTable [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:1253:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mcuTable [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:1349:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dcTblNo [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:1399:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ehufsi [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:1452:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable numSelValue [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:1590:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable numSelValue [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:1646:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HuffmanTable [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:439:29: style: The if condition is the same as the previous if condition [duplicateCondition] Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:437:29: note: First condition Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:439:29: note: Second condition Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:428:33: style: Variable 'compptr' can be declared as pointer to const [constVariablePointer] Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:430:16: style: Variable 'ImageIn8b' can be declared as pointer to const [constVariablePointer] Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:515:33: style: Variable 'compptr' can be declared as pointer to const [constVariablePointer] Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:1179:33: style: Variable 'compptr' can be declared as pointer to const [constVariablePointer] Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:1239:33: style: Variable 'compptr' can be declared as pointer to const [constVariablePointer] Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:936:14: style: Variable 'temp2' is assigned a value that is never used. [unreadVariable] Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:1206:21: style: Variable 'temp2' is assigned a value that is never used. [unreadVariable] Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:1251:7: style: Variable 'Ss' is assigned a value that is never used. [unreadVariable] Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:1307:17: style: Variable 'temp2' is assigned a value that is never used. [unreadVariable] Papyrus3/JpegDir/JpgLless/huffdoptimise.c:348:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/huffdoptimise.c:416:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/huffdoptimise.c:469:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/huffdoptimise.c:552:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mcuROW2 [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/huffdoptimise.c:304:11: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] Papyrus3/JpegDir/JpgLless/huffdoptimise.c:305:8: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] Papyrus3/JpegDir/JpgLless/huffdoptimise.c:306:8: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] Papyrus3/JpegDir/JpgLless/huffdoptimise.c:307:8: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] Papyrus3/JpegDir/JpgLless/huffdoptimise.c:449:33: style: Variable 'compptr' can be declared as pointer to const [constVariablePointer] Papyrus3/JpegDir/JpgLless/huffdoptimise.c:539:24: style: Variable 'compptr' can be declared as pointer to const [constVariablePointer] Papyrus3/JpegDir/JpgLless/maincompression.c:183:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PapyUHChar [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/maindecompression.c:182:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PapyUHChar [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/maindecompression.c:233:21: style: Variable 'lenght_elt' is assigned a value that is never used. [unreadVariable] Papyrus3/JpegDir/JpgLless/maindecompression.c:110:11: style: Unused variable: imagesizelim [unusedVariable] Papyrus3/JpegDir/JpgLless/maindecompression.c:113:5: style: Unused variable: i [unusedVariable] Papyrus3/JpegDir/JpgLless/maindecompression.c:113:8: style: Unused variable: j [unusedVariable] Papyrus3/JpegDir/JpgLless/maindecompression.c:116:12: style: Unused variable: refPoint [unusedVariable] Papyrus3/JpegDir/JpgLless/maindecompression.c:119:7: style: Unused variable: fileNb [unusedVariable] Papyrus3/JpegDir/JpgLless/maindecompression.c:122:13: style: Unused variable: imagefin [unusedVariable] Papyrus3/JpegDir/JpgLless/maindecompression.c:123:20: style: Unused variable: tempsEnd [unusedVariable] Papyrus3/JpegDir/JpgLless/pmreadoptimise.c:100:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inputFileBytes [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/pnmtoljpoptimisebug.c:246:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PapyUChar [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLless/pnmtoljpoptimisebug.c:223:19: style: Condition 'optimize==0' is always true [knownConditionTrueFalse] Papyrus3/JpegDir/JpgLless/pnmtoljpoptimisebug.c:163:16: note: Assignment 'optimize=0', assigned value is 0 Papyrus3/JpegDir/JpgLless/pnmtoljpoptimisebug.c:223:19: note: Condition 'optimize==0' is always true Papyrus3/JpegDir/JpgLless/pnmtoljpoptimisebug.c:123:38: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] Papyrus3/JpegDir/JpgLossy/ANSI2KNR.C:345:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLossy/ANSI2KNR.C:550:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLossy/ANSI2KNR.C:547:11: style: C-style pointer casting [cstyleCast] Papyrus3/JpegDir/JpgLossy/ANSI2KNR.C:566:9: style: C-style pointer casting [cstyleCast] Papyrus3/JpegDir/JpgLossy/ANSI2KNR.C:691:7: style: C-style pointer casting [cstyleCast] Papyrus3/JpegDir/JpgLossy/ANSI2KNR.C:606:13: style: Local variable 'level' shadows outer variable [shadowVariable] Papyrus3/JpegDir/JpgLossy/ANSI2KNR.C:558:11: note: Shadowed declaration Papyrus3/JpegDir/JpgLossy/ANSI2KNR.C:606:13: note: Shadow variable Papyrus3/JpegDir/JpgLossy/ANSI2KNR.C:454:11: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] Papyrus3/JpegDir/JpgLossy/ANSI2KNR.C:479:8: style: Variable 'bend' can be declared as pointer to const [constVariablePointer] Papyrus3/JpegDir/JpgLossy/ANSI2KNR.C:514:9: style: Variable 'kp' can be declared as pointer to const [constVariablePointer] Papyrus3/JpegDir/JpgLossy/CDJPEG.C:121:1: error: There is an unknown macro here somewhere. Configuration is required. If GLOBAL is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/CJPEG.C:79:1: error: There is an unknown macro here somewhere. Configuration is required. If LOCAL is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/CKCONFIG.C:171:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] Papyrus3/JpegDir/JpgLossy/CKCONFIG.C:330:21: style: Condition 'is_char_signed((int)signed_char_check)' is always false [knownConditionTrueFalse] Papyrus3/JpegDir/JpgLossy/CKCONFIG.C:330:21: note: Calling function 'is_char_signed' returns 0 Papyrus3/JpegDir/JpgLossy/CKCONFIG.C:330:21: note: Condition 'is_char_signed((int)signed_char_check)' is always false Papyrus3/JpegDir/JpgLossy/CKCONFIG.C:170:19: style: C-style pointer casting [cstyleCast] Papyrus3/JpegDir/JpgLossy/CKCONFIG.C:171:10: style: C-style pointer casting [cstyleCast] Papyrus3/JpegDir/JpgLossy/CKCONFIG.C:268:18: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] Papyrus3/JpegDir/JpgLossy/CKCONFIG.C:275:16: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] Papyrus3/JpegDir/JpgLossy/CKCONFIG.C:111:35: style: Parameter 'arg2' can be declared as pointer to const [constParameterPointer] Papyrus3/JpegDir/JpgLossy/CKCONFIG.C:106:9: style: struct member 'methods_struct::error_exit' is never used. [unusedStructMember] Papyrus3/JpegDir/JpgLossy/CKCONFIG.C:107:9: style: struct member 'methods_struct::trace_message' is never used. [unusedStructMember] Papyrus3/JpegDir/JpgLossy/CKCONFIG.C:108:9: style: struct member 'methods_struct::another_method' is never used. [unusedStructMember] Papyrus3/JpegDir/JpgLossy/CKCONFIG.C:171:8: style: Variable 'arg1' is assigned a value that is never used. [unreadVariable] Papyrus3/JpegDir/JpgLossy/DJPEG.C:89:1: error: There is an unknown macro here somewhere. Configuration is required. If LOCAL is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/EXAMPLE.C:71:1: error: There is an unknown macro here somewhere. Configuration is required. If GLOBAL is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JCAPIMIN.C:29:1: error: There is an unknown macro here somewhere. Configuration is required. If GLOBAL is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JCAPISTD.C:37:1: error: There is an unknown macro here somewhere. Configuration is required. If GLOBAL is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JCCOEFCT.C:61:1: error: There is an unknown macro here somewhere. Configuration is required. If METHODDEF is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JCCOLOR.C:85:1: error: There is an unknown macro here somewhere. Configuration is required. If METHODDEF is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JCDCTMGR.C:53:1: error: There is an unknown macro here somewhere. Configuration is required. If METHODDEF is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JCHUFF.C:89:1: error: There is an unknown macro here somewhere. Configuration is required. If METHODDEF is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JCINIT.C:29:1: error: There is an unknown macro here somewhere. Configuration is required. If GLOBAL is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JCMAINCT.C:54:1: error: There is an unknown macro here somewhere. Configuration is required. If METHODDEF is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JCMARKER.C:107:1: error: There is an unknown macro here somewhere. Configuration is required. If LOCAL is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JCMASTER.C:45:1: error: There is an unknown macro here somewhere. Configuration is required. If LOCAL is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JCOMAPI.C:28:1: error: There is an unknown macro here somewhere. Configuration is required. If GLOBAL is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JCPARAM.C:22:1: error: There is an unknown macro here somewhere. Configuration is required. If GLOBAL is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JCPREPCT.C:77:1: error: There is an unknown macro here somewhere. Configuration is required. If METHODDEF is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JCSAMPLE.C:74:1: error: There is an unknown macro here somewhere. Configuration is required. If METHODDEF is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JCTRANS.C:19:1: error: There is an unknown macro here somewhere. Configuration is required. If LOCAL is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JDAPIMIN.C:29:1: error: There is an unknown macro here somewhere. Configuration is required. If GLOBAL is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JDAPISTD.C:23:1: error: There is an unknown macro here somewhere. Configuration is required. If LOCAL is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JDATADST.C:43:1: error: There is an unknown macro here somewhere. Configuration is required. If METHODDEF is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JDATASRC.C:43:1: error: There is an unknown macro here somewhere. Configuration is required. If METHODDEF is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JDCOEFCT.C:65:1: error: There is an unknown macro here somewhere. Configuration is required. If METHODDEF is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JDCOLOR.C:69:1: error: There is an unknown macro here somewhere. Configuration is required. If LOCAL is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JDDCTMGR.C:88:1: error: There is an unknown macro here somewhere. Configuration is required. If METHODDEF is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JDHUFF.C:85:1: error: There is an unknown macro here somewhere. Configuration is required. If METHODDEF is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JDINPUT.C:31:1: error: There is an unknown macro here somewhere. Configuration is required. If METHODDEF is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JDMAINCT.C:143:1: error: There is an unknown macro here somewhere. Configuration is required. If METHODDEF is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JDMARKER.C:248:3: error: There is an unknown macro here somewhere. Configuration is required. If MAKESTMT is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JDMASTER.C:43:1: error: There is an unknown macro here somewhere. Configuration is required. If LOCAL is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JDPOSTCT.C:46:1: error: There is an unknown macro here somewhere. Configuration is required. If METHODDEF is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JDSAMPLE.C:68:1: error: There is an unknown macro here somewhere. Configuration is required. If METHODDEF is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JDTRANS.C:19:1: error: There is an unknown macro here somewhere. Configuration is required. If LOCAL is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JERROR.C:69:1: error: There is an unknown macro here somewhere. Configuration is required. If METHODDEF is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JMEMANSI.C:35:1: error: There is an unknown macro here somewhere. Configuration is required. If GLOBAL is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JMEMDOS.C:127:1: error: There is an unknown macro here somewhere. Configuration is required. If LOCAL is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JMEMMAC.C:81:1: error: There is an unknown macro here somewhere. Configuration is required. If GLOBAL is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JMEMNAME.C:125:1: error: There is an unknown macro here somewhere. Configuration is required. If LOCAL is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JMEMNOBS.C:51:1: error: There is an unknown macro here somewhere. Configuration is required. If GLOBAL is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JPEGTRAN.C:44:1: error: There is an unknown macro here somewhere. Configuration is required. If LOCAL is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/JUTILS.C:71:1: error: There is an unknown macro here somewhere. Configuration is required. If GLOBAL is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/RDJPGCOM.C:78:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLossy/RDJPGCOM.C:91:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLossy/RDJPGCOM.C:157:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLossy/RDJPGCOM.C:180:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLossy/RDJPGCOM.C:204:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLossy/RDJPGCOM.C:231:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLossy/RDJPGCOM.C:303:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLossy/RDJPGCOM.C:330:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLossy/RDJPGCOM.C:396:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLossy/RDJPGCOM.C:467:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLossy/RDJPGCOM.C:224:7: style: The scope of the variable 'ch' can be reduced. [variableScope] Papyrus3/JpegDir/JpgLossy/RDJPGCOM.C:326:7: style: The scope of the variable 'marker' can be reduced. [variableScope] Papyrus3/JpegDir/JpgLossy/RDJPGCOM.C:413:20: style: The scope of the variable 'ck' can be reduced. [variableScope] Papyrus3/JpegDir/JpgLossy/RDJPGCOM.C:440:10: style: The scope of the variable 'arg' can be reduced. [variableScope] Papyrus3/JpegDir/JpgLossy/RDJPGCOM.C:408:18: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] Papyrus3/JpegDir/JpgLossy/RDSWITCH.C:36:1: error: There is an unknown macro here somewhere. Configuration is required. If LOCAL is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/TRANSUPP.C:860:1: error: There is an unknown macro here somewhere. Configuration is required. If GLOBAL is a macro then please configure it. [unknownMacro] Papyrus3/JpegDir/JpgLossy/WRJPGCOM.C:97:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLossy/WRJPGCOM.C:110:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLossy/WRJPGCOM.C:146:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLossy/WRJPGCOM.C:206:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLossy/WRJPGCOM.C:229:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLossy/WRJPGCOM.C:254:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLossy/WRJPGCOM.C:273:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLossy/WRJPGCOM.C:295:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLossy/WRJPGCOM.C:354:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLossy/WRJPGCOM.C:443:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Papyrus3/JpegDir/JpgLossy/WRJPGCOM.C:453:16: style: C-style pointer casting [cstyleCast] Papyrus3/JpegDir/JpgLossy/WRJPGCOM.C:541:19: style: C-style pointer casting [cstyleCast] Papyrus3/JpegDir/JpgLossy/WRJPGCOM.C:291:7: style: The scope of the variable 'marker' can be reduced. [variableScope] Papyrus3/JpegDir/JpgLossy/WRJPGCOM.C:389:20: style: The scope of the variable 'ck' can be reduced. [variableScope] Papyrus3/JpegDir/JpgLossy/WRJPGCOM.C:416:10: style: The scope of the variable 'arg' can be reduced. [variableScope] Papyrus3/JpegDir/JpgLossy/WRJPGCOM.C:384:18: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] Papyrus3/JpegDir/JpgLossy/jmemmgr.c:216:1: error: There is an unknown macro here somewhere. Configuration is required. If LOCAL is a macro then please configure it. [unknownMacro] Papyrus3/PapyConvertFile3.c:223:0: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] Papyrus3/PapyConvertFile3.c:679:49: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] Papyrus3/PapyConvertFile3.c:1009:49: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] Papyrus3/PapyConvertFile3.c:678:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyConvertFile3.c:675:7: note: err is assigned Papyrus3/PapyConvertFile3.c:678:7: note: err is overwritten Papyrus3/PapyConvertFile3.c:722:10: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyConvertFile3.c:721:10: note: theErr is assigned Papyrus3/PapyConvertFile3.c:722:10: note: theErr is overwritten Papyrus3/PapyConvertFile3.c:723:10: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyConvertFile3.c:722:10: note: theErr is assigned Papyrus3/PapyConvertFile3.c:723:10: note: theErr is overwritten Papyrus3/PapyConvertFile3.c:778:12: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyConvertFile3.c:763:12: note: theErr is assigned Papyrus3/PapyConvertFile3.c:778:12: note: theErr is overwritten Papyrus3/PapyConvertFile3.c:780:12: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyConvertFile3.c:778:12: note: theErr is assigned Papyrus3/PapyConvertFile3.c:780:12: note: theErr is overwritten Papyrus3/PapyConvertFile3.c:783:17: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyConvertFile3.c:780:12: note: theErr is assigned Papyrus3/PapyConvertFile3.c:783:17: note: theErr is overwritten Papyrus3/PapyConvertFile3.c:1239:16: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyConvertFile3.c:1230:15: note: err is assigned Papyrus3/PapyConvertFile3.c:1239:16: note: err is overwritten Papyrus3/PapyConvertFile3.c:1366:26: style: Variable 'pixMin' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyConvertFile3.c:1361:24: note: pixMin is assigned Papyrus3/PapyConvertFile3.c:1366:26: note: pixMin is overwritten Papyrus3/PapyConvertFile3.c:100:31: style: Variable 'bufferC' can be declared as pointer to const [constVariablePointer] Papyrus3/PapyConvertFile3.c:129:32: style: Variable 'bufferS' can be declared as pointer to const [constVariablePointer] Papyrus3/PapyConvertFile3.c:174:13: style: Variable 'theValP' can be declared as pointer to const [constVariablePointer] Papyrus3/PapyConvertFile3.c:244:20: style: Variable 'oriplane' can be declared as pointer to const [constVariablePointer] Papyrus3/PapyConvertFile3.c:325:18: style: Variable 'p16b' can be declared as pointer to const [constVariablePointer] Papyrus3/PapyConvertFile3.c:436:15: style: Variable 'val' can be declared as pointer to const [constVariablePointer] Papyrus3/PapyConvertFile3.c:698:28: style: Variable 'myStringPtr' can be declared as pointer to const [constVariablePointer] Papyrus3/PapyConvertFile3.c:814:15: style: Variable 'val' can be declared as pointer to const [constVariablePointer] Papyrus3/PapyConvertFile3.c:1024:50: style: Parameter 'outJpegBaseFilename' can be declared as pointer to const [constParameterPointer] Papyrus3/PapyConvertFile3.c:1025:24: style: Parameter 'inTabImage' can be declared as pointer to const [constParameterPointer] Papyrus3/PapyConvertFile3.c:1284:44: style: Variable 'Bplane' can be declared as pointer to const [constVariablePointer] Papyrus3/PapyConvertFile3.c:343:8: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] Papyrus3/PapyConvertFile3.c:96:9: style: Variable 'decal' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyConvertFile3.c:191:19: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyConvertFile3.c:194:21: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyConvertFile3.c:208:18: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyConvertFile3.c:709:15: style: Variable 'myStringPtr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyConvertFile3.c:723:10: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyConvertFile3.c:698:11: style: Unused variable: myString [unusedVariable] Papyrus3/PapyConvertFile3.c:947:7: style: Variable 'err' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyConvertFile3.c:966:20: style: Unused variable: dicomPath [unusedVariable] Papyrus3/PapyConvertFile3.c:1034:29: style: Variable 'pixMinCalib' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyConvertFile3.c:1034:46: style: Variable 'pixMaxCalib' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyConvertFile3.c:1239:16: style: Variable 'err' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyConvertFile3.c:1242:18: style: Variable 'err' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyConvertFile3.c:1288:22: style: Variable 'Bplane' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyConvertFile3.c:1465:15: style: Variable 'err' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyDataSetRead3.c:311:12: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyDataSetRead3.c:308:12: note: theErr is assigned Papyrus3/PapyDataSetRead3.c:311:12: note: theErr is overwritten Papyrus3/PapyDataSetRead3.c:314:17: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyDataSetRead3.c:311:12: note: theErr is assigned Papyrus3/PapyDataSetRead3.c:314:17: note: theErr is overwritten Papyrus3/PapyDataSetRead3.c:328:14: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyDataSetRead3.c:327:14: note: theErr is assigned Papyrus3/PapyDataSetRead3.c:328:14: note: theErr is overwritten Papyrus3/PapyDataSetRead3.c:336:12: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyDataSetRead3.c:333:12: note: theErr is assigned Papyrus3/PapyDataSetRead3.c:336:12: note: theErr is overwritten Papyrus3/PapyDataSetRead3.c:341:10: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyDataSetRead3.c:336:12: note: theErr is assigned Papyrus3/PapyDataSetRead3.c:341:10: note: theErr is overwritten Papyrus3/PapyDataSetRead3.c:797:16: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyDataSetRead3.c:796:16: note: theErr is assigned Papyrus3/PapyDataSetRead3.c:797:16: note: theErr is overwritten Papyrus3/PapyDataSetRead3.c:89:13: style: Variable 'theValP' can be declared as pointer to const [constVariablePointer] Papyrus3/PapyDataSetRead3.c:556:34: style: Variable 'theZouzouteP' can be declared as pointer to const [constVariablePointer] Papyrus3/PapyDataSetRead3.c:144:10: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyDataSetRead3.c:197:11: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyDataSetRead3.c:203:11: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyDataSetRead3.c:258:12: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyDataSetRead3.c:306:7: style: Variable 'i' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyDataSetRead3.c:328:14: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyDataSetRead3.c:582:23: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyDataSetRead3.c:621:23: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyDataSetRead3.c:658:19: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyDataSetRead3.c:797:16: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyDataSetWrite3.c:1806:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gArrRecord [valueFlowBailoutIncompleteVar] Papyrus3/PapyDataSetWrite3.c:497:18: style: Variable 'theObjectListP' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyDataSetWrite3.c:490:20: note: theObjectListP is assigned Papyrus3/PapyDataSetWrite3.c:497:18: note: theObjectListP is overwritten Papyrus3/PapyDataSetWrite3.c:2236:15: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyDataSetWrite3.c:2179:12: note: theErr is assigned Papyrus3/PapyDataSetWrite3.c:2236:15: note: theErr is overwritten Papyrus3/PapyDataSetWrite3.c:2306:15: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyDataSetWrite3.c:2302:12: note: theErr is assigned Papyrus3/PapyDataSetWrite3.c:2306:15: note: theErr is overwritten Papyrus3/PapyDataSetWrite3.c:102:10: style: Variable 'theItemP' can be declared as pointer to const [constVariablePointer] Papyrus3/PapyDataSetWrite3.c:307:13: style: Variable 'theValP' can be declared as pointer to const [constVariablePointer] Papyrus3/PapyDataSetWrite3.c:698:51: style: Parameter 'inDataSetP' can be declared as pointer to const [constParameterPointer] Papyrus3/PapyDataSetWrite3.c:840:10: style: Variable 'theItemP' can be declared as pointer to const [constVariablePointer] Papyrus3/PapyDataSetWrite3.c:874:10: style: Variable 'theItemP' can be declared as pointer to const [constVariablePointer] Papyrus3/PapyDataSetWrite3.c:1520:11: style: Variable 'theWrkModP' can be declared as pointer to const [constVariablePointer] Papyrus3/PapyDataSetWrite3.c:1743:13: style: Variable 'theWrkModP' can be declared as pointer to const [constVariablePointer] Papyrus3/PapyDataSetWrite3.c:317:11: error: Uninitialized variable: theDirType [legacyUninitvar] Papyrus3/PapyDataSetWrite3.c:169:12: style: Variable 'theItemP' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyDataSetWrite3.c:859:12: style: Variable 'theItemP' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyDataSetWrite3.c:892:12: style: Variable 'theItemP' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyDataSetWrite3.c:1571:24: style: Variable 'theWrkItemGP' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyDataSetWrite3.c:1703:20: style: Variable 'theWrkItemGP' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyDataSetWrite3.c:1797:24: style: Variable 'theWrkItemGP' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyDataSetWrite3.c:1936:20: style: Variable 'theWrkItemGP' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyEallocMac3.c:162:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ptr [valueFlowBailoutIncompleteVar] Papyrus3/PapyEallocMac3.c:138:13: style: Redundant assignment of 'inOldSize' to itself. [selfAssignment] Papyrus3/PapyEallocMac3.c:138:13: style: Variable 'inOldSize' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyEallocPC3.cpp:170:21: style: C-style pointer casting [cstyleCast] Papyrus3/PapyEallocPC3.cpp:201:18: style: C-style pointer casting [cstyleCast] Papyrus3/PapyEallocPC3.cpp:227:11: style: C-style pointer casting [cstyleCast] Papyrus3/PapyEallocPC3.cpp:229:19: style: C-style pointer casting [cstyleCast] Papyrus3/PapyError3.c:171:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Papyrus3/PapyError3.c:166:30: style: Parameter 'inFileP' can be declared as pointer to const [constParameterPointer] Papyrus3/PapyError3.c:187:18: style: Variable 'StrEmpty' can be declared as const array [constVariable] Papyrus3/PapyFileSystemMac3.c:90:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FSSpec [valueFlowBailoutIncompleteVar] Papyrus3/PapyFileSystemMac3.c:137:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FSSpec [valueFlowBailoutIncompleteVar] Papyrus3/PapyFileSystemMac3.c:241:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fsAtMark [valueFlowBailoutIncompleteVar] Papyrus3/PapyFileSystemMac3.c:269:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fsAtMark [valueFlowBailoutIncompleteVar] Papyrus3/PapyFileSystemMac3.c:293:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fsFromStart [valueFlowBailoutIncompleteVar] Papyrus3/PapyFileSystemMac3.c:84:8: style: Redundant assignment of 'inFp' to itself. [selfAssignment] Papyrus3/PapyFileSystemMac3.c:212:15: style: Redundant assignment of 'inFilenameP' to itself. [selfAssignment] Papyrus3/PapyFileSystemMac3.c:236:8: style: Redundant assignment of 'inNb' to itself. [selfAssignment] Papyrus3/PapyFileSystemMac3.c:264:8: style: Redundant assignment of 'inNb' to itself. [selfAssignment] Papyrus3/PapyFileSystemMac3.c:229:40: style: Parameter 'ioBytesToReadP' can be declared as pointer to const [constParameterPointer] Papyrus3/PapyFileSystemMac3.c:257:41: style: Parameter 'ioBytesToWriteP' can be declared as pointer to const [constParameterPointer] Papyrus3/PapyFileSystemMac3.c:335:37: style: Parameter 'inFormatP' can be declared as pointer to const [constParameterPointer] Papyrus3/PapyFileSystemMac3.c:84:8: style: Variable 'inFp' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFileSystemMac3.c:212:15: style: Variable 'inFilenameP' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFileSystemMac3.c:236:8: style: Variable 'inNb' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFileSystemMac3.c:264:8: style: Variable 'inNb' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFileSystemPC3.c:102:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _O_RDONLY [valueFlowBailoutIncompleteVar] Papyrus3/PapyFileSystemPC3.c:134:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _O_RDONLY [valueFlowBailoutIncompleteVar] Papyrus3/PapyFileSystemPC3.c:277:9: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyFileSystemPC3.c:275:9: note: err is assigned Papyrus3/PapyFileSystemPC3.c:277:9: note: err is overwritten Papyrus3/PapyFileSystemPC3.c:280:9: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyFileSystemPC3.c:277:9: note: err is assigned Papyrus3/PapyFileSystemPC3.c:280:9: note: err is overwritten Papyrus3/PapyFileSystemPC3.c:283:12: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyFileSystemPC3.c:280:9: note: err is assigned Papyrus3/PapyFileSystemPC3.c:283:12: note: err is overwritten Papyrus3/PapyFileSystemPC3.c:178:21: style: Parameter 'inFilenameP' can be declared as pointer to const [constParameterPointer] Papyrus3/PapyFileSystemPC3.c:178:40: style: Parameter 'inIdentifierP' can be declared as pointer to const [constParameterPointer] Papyrus3/PapyFileSystemPC3.c:193:40: style: Parameter 'ioBytesToReadP' can be declared as pointer to const [constParameterPointer] Papyrus3/PapyFileSystemPC3.c:218:41: style: Parameter 'ioBytesToWriteP' can be declared as pointer to const [constParameterPointer] Papyrus3/PapyFileSystemPC3.c:301:37: style: Parameter 'inFormatP' can be declared as pointer to const [constParameterPointer] Papyrus3/PapyFileSystemPC3.c:196:25: style: Variable 'bytesRead' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFileSystemPC3.c:283:12: style: Variable 'err' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFileSystemUnix3.c:243:9: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyFileSystemUnix3.c:240:9: note: err is assigned Papyrus3/PapyFileSystemUnix3.c:243:9: note: err is overwritten Papyrus3/PapyFileSystemUnix3.c:246:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyFileSystemUnix3.c:243:9: note: err is assigned Papyrus3/PapyFileSystemUnix3.c:246:7: note: err is overwritten Papyrus3/PapyFileSystemUnix3.c:98:21: style: Parameter 'inFilenameP' can be declared as pointer to const [constParameterPointer] Papyrus3/PapyFileSystemUnix3.c:127:19: style: Parameter 'inFilenameP' can be declared as pointer to const [constParameterPointer] Papyrus3/PapyFileSystemUnix3.c:177:21: style: Parameter 'inFilenameP' can be declared as pointer to const [constParameterPointer] Papyrus3/PapyFileSystemUnix3.c:177:40: style: Parameter 'inIdentifierP' can be declared as pointer to const [constParameterPointer] Papyrus3/PapyFileSystemUnix3.c:193:40: style: Parameter 'ioBytesToReadP' can be declared as pointer to const [constParameterPointer] Papyrus3/PapyFileSystemUnix3.c:212:41: style: Parameter 'ioBytesToWriteP' can be declared as pointer to const [constParameterPointer] Papyrus3/PapyFileSystemUnix3.c:212:80: style: Parameter 'outBufferP' can be declared as pointer to const [constParameterPointer] Papyrus3/PapyFileSystemUnix3.c:280:37: style: Parameter 'inFormatP' can be declared as pointer to const [constParameterPointer] Papyrus3/PapyFileSystemUnix3.c:100:15: style: Unused variable: err [unusedVariable] Papyrus3/PapyFileSystemUnix3.c:131:16: style: Unused variable: file [unusedVariable] Papyrus3/PapyFiles3.c:434:25: warning: Either the condition 'theFileNb<0' is redundant or the array 'gPapyFile[100]' is accessed at index -1, which is out of bounds. [negativeIndex] Papyrus3/PapyFiles3.c:226:27: note: Assuming that condition 'theFileNb<0' is not redundant Papyrus3/PapyFiles3.c:434:25: note: Negative array index Papyrus3/PapyFiles3.c:286:33: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyFiles3.c:279:28: note: theErr is assigned Papyrus3/PapyFiles3.c:286:33: note: theErr is overwritten Papyrus3/PapyFiles3.c:316:30: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyFiles3.c:313:30: note: theErr is assigned Papyrus3/PapyFiles3.c:316:30: note: theErr is overwritten Papyrus3/PapyFiles3.c:340:35: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyFiles3.c:337:30: note: theErr is assigned Papyrus3/PapyFiles3.c:340:35: note: theErr is overwritten Papyrus3/PapyFiles3.c:403:39: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyFiles3.c:392:34: note: theErr is assigned Papyrus3/PapyFiles3.c:403:39: note: theErr is overwritten Papyrus3/PapyFiles3.c:403:39: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyFiles3.c:396:36: note: theErr is assigned Papyrus3/PapyFiles3.c:403:39: note: theErr is overwritten Papyrus3/PapyFiles3.c:403:39: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyFiles3.c:398:36: note: theErr is assigned Papyrus3/PapyFiles3.c:403:39: note: theErr is overwritten Papyrus3/PapyFiles3.c:403:39: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyFiles3.c:400:36: note: theErr is assigned Papyrus3/PapyFiles3.c:403:39: note: theErr is overwritten Papyrus3/PapyFiles3.c:618:12: style: Variable 'theItemP' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyFiles3.c:601:12: note: theItemP is assigned Papyrus3/PapyFiles3.c:618:12: note: theItemP is overwritten Papyrus3/PapyFiles3.c:1027:14: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyFiles3.c:1022:14: note: theErr is assigned Papyrus3/PapyFiles3.c:1027:14: note: theErr is overwritten Papyrus3/PapyFiles3.c:1047:9: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyFiles3.c:1033:16: note: theErr is assigned Papyrus3/PapyFiles3.c:1047:9: note: theErr is overwritten Papyrus3/PapyFiles3.c:1049:18: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyFiles3.c:1047:9: note: theErr is assigned Papyrus3/PapyFiles3.c:1049:18: note: theErr is overwritten Papyrus3/PapyFiles3.c:1062:9: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyFiles3.c:1059:9: note: theErr is assigned Papyrus3/PapyFiles3.c:1062:9: note: theErr is overwritten Papyrus3/PapyFiles3.c:1070:14: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyFiles3.c:1062:9: note: theErr is assigned Papyrus3/PapyFiles3.c:1070:14: note: theErr is overwritten Papyrus3/PapyFiles3.c:1089:9: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyFiles3.c:1076:16: note: theErr is assigned Papyrus3/PapyFiles3.c:1089:9: note: theErr is overwritten Papyrus3/PapyFiles3.c:1091:18: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyFiles3.c:1089:9: note: theErr is assigned Papyrus3/PapyFiles3.c:1091:18: note: theErr is overwritten Papyrus3/PapyFiles3.c:1677:18: style: Variable 'theCharP' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyFiles3.c:1673:18: note: theCharP is assigned Papyrus3/PapyFiles3.c:1677:18: note: theCharP is overwritten Papyrus3/PapyFiles3.c:1804:21: style: Checking if unsigned expression 'theItemLength' is less than zero. [unsignedLessThanZero] Papyrus3/PapyFiles3.c:1182:24: style:inconclusive: Function 'WriteGroup3' argument 1 names different: declaration 'fp' definition 'inFp'. [funcArgNamesDifferent] Papyrus3/PapyPrivFunctionDef3.h:126:27: note: Function 'WriteGroup3' argument 1 names different: declaration 'fp' definition 'inFp'. Papyrus3/PapyFiles3.c:1182:24: note: Function 'WriteGroup3' argument 1 names different: declaration 'fp' definition 'inFp'. Papyrus3/PapyFiles3.c:482:14: style: Variable 'theItemP' can be declared as pointer to const [constVariablePointer] Papyrus3/PapyFiles3.c:1388:70: style: Parameter 'inOwnerStrP' can be declared as pointer to const [constParameterPointer] Papyrus3/PapyFiles3.c:176:19: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:188:19: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:197:21: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:256:27: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:264:29: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:286:33: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:292:35: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:316:30: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:344:30: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:419:36: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:571:14: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:582:14: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:618:12: style: Variable 'theItemP' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:704:12: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:713:12: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:965:12: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1051:11: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1091:18: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1093:11: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1108:18: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1110:11: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1141:19: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1143:16: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1157:19: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1159:16: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1193:12: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1223:15: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1225:12: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1265:15: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1267:12: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1287:16: style: Variable 'theTempL' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1291:16: style: Variable 'theTempL' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1300:12: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1334:10: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1412:14: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1481:18: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1530:9: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1625:17: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1627:14: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1678:21: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1680:11: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1832:19: style: Variable 'theGrNb' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1833:19: style: Variable 'theElemNb' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1834:19: style: Variable 'theElemLength' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1959:20: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1963:19: style: Variable 'theGrNb' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1964:19: style: Variable 'theElemNb' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:1965:19: style: Variable 'theElemLength' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:2087:15: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:2089:12: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:2111:17: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyFiles3.c:2113:14: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyInit3.c:4147:19: error: Array 'sLabel_NM_Image[20]' accessed at index 20, which is out of bounds. [arrayIndexOutOfBounds] Papyrus3/PapyInit3.c:4148:19: error: Array 'sLabel_NM_Image[20]' accessed at index 21, which is out of bounds. [arrayIndexOutOfBounds] Papyrus3/PapyInit3.c:292:3: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] Papyrus3/PapyInit3.c:2372:17: warning: Either the condition 'theTmpValP!=NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] Papyrus3/PapyInit3.c:2364:32: note: Assuming that condition 'theTmpValP!=NULL' is not redundant Papyrus3/PapyInit3.c:2372:17: note: Null pointer addition Papyrus3/PapyInit3.c:233:35: style: Parameter 'modality' can be declared as pointer to const [constParameterPointer] Papyrus3/PapyMemSystem.cpp:178:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] Papyrus3/PapyMemSystem.cpp:203:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] Papyrus3/PapyMemSystem.cpp:226:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] Papyrus3/PapyMemSystem.cpp:245:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _fmode [valueFlowBailoutIncompleteVar] Papyrus3/PapyMemSystem.cpp:64:2: performance: Variable 'theReadEvent' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] Papyrus3/PapyMemSystem.cpp:65:2: performance: Variable 'theReadMutex' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] Papyrus3/PapyMemSystem.cpp:66:2: performance: Variable 'theWriteMutex' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] Papyrus3/PapyMemSystem.cpp:67:2: performance: Variable 'theBooleanMutex' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] Papyrus3/PapyMemSystem.h:85:7: style:inconclusive: Technically the member function 'PapyMemSystem::IsMemoryAllocated' can be const. [functionConst] Papyrus3/PapyMemSystem.cpp:168:20: note: Technically the member function 'PapyMemSystem::IsMemoryAllocated' can be const. Papyrus3/PapyMemSystem.h:85:7: note: Technically the member function 'PapyMemSystem::IsMemoryAllocated' can be const. Papyrus3/PapyMemSystem.cpp:106:56: style: Condition '(theReadingThread=_beginthread(ReadMemory,0,this))==-1' is always false [knownConditionTrueFalse] Papyrus3/PapyMemSystem.cpp:244:34: style: C-style pointer casting [cstyleCast] Papyrus3/PapyMemSystem.cpp:254:17: style: C-style pointer casting [cstyleCast] Papyrus3/PapyMemSystem.cpp:277:10: style: C-style pointer casting [cstyleCast] Papyrus3/PapyMemSystem.cpp:282:3: style: C-style pointer casting [cstyleCast] Papyrus3/PapyMemSystem.cpp:287:10: style: C-style pointer casting [cstyleCast] Papyrus3/PapyMemSystem.cpp:292:10: style: C-style pointer casting [cstyleCast] Papyrus3/PapyMemSystem.cpp:297:10: style: C-style pointer casting [cstyleCast] Papyrus3/PapyMemSystem.cpp:302:10: style: C-style pointer casting [cstyleCast] Papyrus3/PapyMemSystem.cpp:309:17: style: C-style pointer casting [cstyleCast] Papyrus3/PapyMemSystem.cpp:196:6: style: The scope of the variable 'bytesAvailable' can be reduced. [variableScope] Papyrus3/PapyMemSystem.cpp:197:6: style: The scope of the variable 'toRead' can be reduced. [variableScope] Papyrus3/PapyMemSystem.cpp:76:31: style: Parameter 'aFilename' can be declared as pointer to const [constParameterPointer] Papyrus3/PapyMemSystem.cpp:196:20: style: Variable 'bytesAvailable' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyMemSystem.cpp:197:12: style: Variable 'toRead' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyMemorySystemMac3.c:100:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ioRefNum [valueFlowBailoutIncompleteVar] Papyrus3/PapyMemorySystemMac3.c:176:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ioActCount [valueFlowBailoutIncompleteVar] Papyrus3/PapyMemorySystemMac3.c:227:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FSSpec [valueFlowBailoutIncompleteVar] Papyrus3/PapyMemorySystemMac3.c:326:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] Papyrus3/PapyMemorySystemMac3.c:346:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noErr [valueFlowBailoutIncompleteVar] Papyrus3/PapyMemorySystemMac3.c:389:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noErr [valueFlowBailoutIncompleteVar] Papyrus3/PapyMemorySystemMac3.c:105:10: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyMemorySystemMac3.c:94:10: note: theErr is assigned Papyrus3/PapyMemorySystemMac3.c:105:10: note: theErr is overwritten Papyrus3/PapyMemorySystemMac3.c:254:10: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyMemorySystemMac3.c:241:14: note: theErr is assigned Papyrus3/PapyMemorySystemMac3.c:254:10: note: theErr is overwritten Papyrus3/PapyMemorySystemMac3.c:254:10: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyMemorySystemMac3.c:244:14: note: theErr is assigned Papyrus3/PapyMemorySystemMac3.c:254:10: note: theErr is overwritten Papyrus3/PapyMemorySystemMac3.c:254:10: style: Variable 'theErr' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/PapyMemorySystemMac3.c:248:14: note: theErr is assigned Papyrus3/PapyMemorySystemMac3.c:254:10: note: theErr is overwritten Papyrus3/PapyMemorySystemMac3.c:309:8: style: Redundant assignment of 'inNb' to itself. [selfAssignment] Papyrus3/PapyMemorySystemMac3.c:89:39: style:inconclusive: Function 'Papy3LoadFileMem' argument 1 names different: declaration 'vRefNum' definition 'inVRefNum'. [funcArgNamesDifferent] Papyrus3/PapyMemorySystemMac3.h:50:46: note: Function 'Papy3LoadFileMem' argument 1 names different: declaration 'vRefNum' definition 'inVRefNum'. Papyrus3/PapyMemorySystemMac3.c:89:39: note: Function 'Papy3LoadFileMem' argument 1 names different: declaration 'vRefNum' definition 'inVRefNum'. Papyrus3/PapyMemorySystemMac3.c:166:31: style:inconclusive: Function 'Papy3GetMemPtr' argument 1 names different: declaration 'vRefNum' definition 'inVRefNum'. [funcArgNamesDifferent] Papyrus3/PapyMemorySystemMac3.h:49:40: note: Function 'Papy3GetMemPtr' argument 1 names different: declaration 'vRefNum' definition 'inVRefNum'. Papyrus3/PapyMemorySystemMac3.c:166:31: note: Function 'Papy3GetMemPtr' argument 1 names different: declaration 'vRefNum' definition 'inVRefNum'. Papyrus3/PapyMemorySystemMac3.c:166:48: style:inconclusive: Function 'Papy3GetMemPtr' argument 2 names different: declaration 'pos' definition 'ioPosP'. [funcArgNamesDifferent] Papyrus3/PapyMemorySystemMac3.h:49:55: note: Function 'Papy3GetMemPtr' argument 2 names different: declaration 'pos' definition 'ioPosP'. Papyrus3/PapyMemorySystemMac3.c:166:48: note: Function 'Papy3GetMemPtr' argument 2 names different: declaration 'pos' definition 'ioPosP'. Papyrus3/PapyMemorySystemMac3.c:166:62: style:inconclusive: Function 'Papy3GetMemPtr' argument 3 names different: declaration 'size' definition 'ioSizeP'. [funcArgNamesDifferent] Papyrus3/PapyMemorySystemMac3.h:49:66: note: Function 'Papy3GetMemPtr' argument 3 names different: declaration 'size' definition 'ioSizeP'. Papyrus3/PapyMemorySystemMac3.c:166:62: note: Function 'Papy3GetMemPtr' argument 3 names different: declaration 'size' definition 'ioSizeP'. Papyrus3/PapyMemorySystemMac3.c:216:22: style: Parameter 'inFilenameP' can be declared as pointer to const [constParameterPointer] Papyrus3/PapyMemorySystemMac3.c:105:10: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyMemorySystemMac3.c:309:8: style: Variable 'inNb' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyMemorySystemMac3.c:357:21: style: Variable 'theMacPosMode' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyMemorySystemMac3.c:361:21: style: Variable 'theMacPosMode' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyMemorySystemMac3.c:365:21: style: Variable 'theMacPosMode' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyMemorySystemMac3.c:394:14: style: Variable 'theFilePtr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyRead3.c:275:1: error: There is an unknown macro here somewhere. Configuration is required. If METHODDEF is a macro then please configure it. [unknownMacro] Papyrus3/PapyUtils3.c:604:28: style: Variable 'i' is reassigned a value before the old one has been used. 'break;' missing? [redundantAssignInSwitch] Papyrus3/PapyUtils3.c:603:28: note: $symbol is assigned Papyrus3/PapyUtils3.c:604:28: note: $symbol is overwritten Papyrus3/PapyUtils3.c:609:32: style: Variable 'i' is reassigned a value before the old one has been used. 'break;' missing? [redundantAssignInSwitch] Papyrus3/PapyUtils3.c:608:32: note: $symbol is assigned Papyrus3/PapyUtils3.c:609:32: note: $symbol is overwritten Papyrus3/PapyUtils3.c:480:28: style:inconclusive: Function 'ExtractModality' argument 1 names different: declaration 'val' definition 'inValP'. [funcArgNamesDifferent] Papyrus3/PapyPubFunctionDef3.h:270:29: note: Function 'ExtractModality' argument 1 names different: declaration 'val' definition 'inValP'. Papyrus3/PapyUtils3.c:480:28: note: Function 'ExtractModality' argument 1 names different: declaration 'val' definition 'inValP'. Papyrus3/PapyUtils3.c:480:46: style:inconclusive: Function 'ExtractModality' argument 2 names different: declaration 'fileNb' definition 'inFileNb'. [funcArgNamesDifferent] Papyrus3/PapyPubFunctionDef3.h:270:44: note: Function 'ExtractModality' argument 2 names different: declaration 'fileNb' definition 'inFileNb'. Papyrus3/PapyUtils3.c:480:46: note: Function 'ExtractModality' argument 2 names different: declaration 'fileNb' definition 'inFileNb'. Papyrus3/PapyUtils3.c:120:19: style: Parameter 'inS' can be declared as pointer to const [constParameterPointer] Papyrus3/PapyUtils3.c:148:41: style: Parameter 'inUIDP' can be declared as pointer to const [constParameterPointer] Papyrus3/PapyUtils3.c:234:18: style: Variable 'theTmpP' can be declared as pointer to const [constVariablePointer] Papyrus3/PapyUtils3.c:434:32: style: Parameter 'inFilePathP' can be declared as pointer to const [constParameterPointer] Papyrus3/PapyUtils3.c:480:28: style: Parameter 'inValP' can be declared as pointer to const [constParameterPointer] Papyrus3/PapyUtils3.c:339:16: style: Variable 'theEnumPlace' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyWild3.c:117:12: style: Redundant assignment of 'inPart1P' to itself. [selfAssignment] Papyrus3/PapyWild3.c:118:12: style: Redundant assignment of 'inPart2P' to itself. [selfAssignment] Papyrus3/PapyWild3.c:117:12: style: Variable 'inPart1P' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyWild3.c:118:12: style: Variable 'inPart2P' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyWrite3.c:543:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable j_compress_ptr [valueFlowBailoutIncompleteVar] Papyrus3/PapyWrite3.c:170:20: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Papyrus3/PapyWrite3.c:416:8: style: Redundant assignment of 'inFp' to itself. [selfAssignment] Papyrus3/PapyWrite3.c:195:18: style: Parameter 'inCharP' can be declared as pointer to const [constParameterPointer] Papyrus3/PapyWrite3.c:439:69: style: Parameter 'outJpegFilename' can be declared as pointer to const [constParameterPointer] Papyrus3/PapyWrite3.c:1070:65: style: Parameter 'inValP' can be declared as pointer to const [constParameterPointer] Papyrus3/PapyWrite3.c:534:45: error: Uninitialized variable: theVRefNum [uninitvar] Papyrus3/PapyWrite3.c:1009:29: error: Uninitialized variable: theCompPixP [legacyUninitvar] Papyrus3/PapyWrite3.c:1839:10: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyWrite3.c:1876:15: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyWrite3.c:1919:19: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/PapyWrite3.c:1929:9: style: Variable 'theErr' is assigned a value that is never used. [unreadVariable] Papyrus3/TESTS/TestRead.c:59:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] Papyrus3/TESTS/TestRead.c:74:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] Papyrus3/TESTS/TestRead.c:117:12: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] Papyrus3/TESTS/TestRead.c:114:7: note: err is assigned Papyrus3/TESTS/TestRead.c:117:12: note: err is overwritten Papyrus3/TESTS/TestRead.c:63:17: style: Variable 'theImage' can be declared as pointer to const [constVariablePointer] Papyrus3/TESTS/TestRead.c:117:12: style: Variable 'err' is assigned a value that is never used. [unreadVariable] Papyrus3/TESTS/TestRead.c:120:14: style: Variable 'err' is assigned a value that is never used. [unreadVariable] Papyrus3/TESTS/TestRead.c:123:16: style: Variable 'theImage' is assigned a value that is never used. [unreadVariable] Papyrus3/TESTS/TestRead.c:126:11: style: Variable 'err' is assigned a value that is never used. [unreadVariable] Papyrus3/TESTS/TestWrite.c:58:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] Papyrus3/TESTS/TestWrite.c:91:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable papMediaStorageSOPInstanceUIDGr [valueFlowBailoutIncompleteVar] Papyrus3/TESTS/TestWrite.c:65:21: style: Unused variable: theVR [unusedVariable] diff: head Papyrus3/DicomDir/DicomDirDataSetWrite.c:114:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable papDirectoryRecordSequence [valueFlowBailoutIncompleteVar] head Papyrus3/DicomDir/DicomDirDataSetWrite.c:162:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Object [valueFlowBailoutIncompleteVar] head Papyrus3/DicomDir/DicomDirDataSetWrite.c:260:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable END_GROUP [valueFlowBailoutIncompleteVar] head Papyrus3/DicomDir/DicomDirFiles.c:225:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gArrMemFile [valueFlowBailoutIncompleteVar] head Papyrus3/DicomDir/DicomDirInit.c:123:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kMax_file_open [valueFlowBailoutIncompleteVar] head Papyrus3/DicomDir/DicomDirInit.c:228:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gArrRecord [valueFlowBailoutIncompleteVar] head Papyrus3/DicomDir/DicomDirInit.c:252:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable papNoError [valueFlowBailoutIncompleteVar] head Papyrus3/DicomDir/DicomDirInitRecords.c:1003:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] head Papyrus3/DicomDir/DicomDirInitRecords.c:1139:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] head Papyrus3/DicomDir/DicomDirInitRecords.c:1275:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] head Papyrus3/DicomDir/DicomDirInitRecords.c:1441:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] head Papyrus3/DicomDir/DicomDirInitRecords.c:1597:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] head Papyrus3/DicomDir/DicomDirInitRecords.c:1742:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] head Papyrus3/DicomDir/DicomDirInitRecords.c:1937:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] head Papyrus3/DicomDir/DicomDirInitRecords.c:2102:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] head Papyrus3/DicomDir/DicomDirInitRecords.c:223:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] head Papyrus3/DicomDir/DicomDirInitRecords.c:2247:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] head Papyrus3/DicomDir/DicomDirInitRecords.c:2393:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] head Papyrus3/DicomDir/DicomDirInitRecords.c:2528:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] head Papyrus3/DicomDir/DicomDirInitRecords.c:409:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] head Papyrus3/DicomDir/DicomDirInitRecords.c:575:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] head Papyrus3/DicomDir/DicomDirInitRecords.c:721:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] head Papyrus3/DicomDir/DicomDirInitRecords.c:867:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UL [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLless/READ.C:250:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLless/READ.C:305:10: style: Redundant assignment of 'code' to itself. [selfAssignment] 2.13.0 Papyrus3/JpegDir/JpgLless/READ.C:305:10: warning: Redundant assignment of 'code' to itself. [selfAssignment] head Papyrus3/JpegDir/JpgLless/READ.C:322:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLless/READ.C:384:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLless/READ.C:533:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLless/READ.C:592:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLless/READ.C:659:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLless/WRITE.C:311:33: style: Parameter 'cPtr' can be declared as pointer to const [constParameterPointer] head Papyrus3/JpegDir/JpgLless/decompoptimise.c:164:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inputBufferOffset [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:1192:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mcuTable [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:1253:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mcuTable [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:1349:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dcTblNo [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:1399:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ehufsi [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:1452:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable numSelValue [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:1590:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable numSelValue [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:1646:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HuffmanTable [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:396:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JPEG_BUF_SIZE [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:448:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ehufsi [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:557:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ehufsi [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLless/huffcoptimisebug.c:833:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLless/huffdoptimise.c:416:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLless/huffdoptimise.c:469:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLless/huffdoptimise.c:552:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mcuROW2 [valueFlowBailoutIncompleteVar] 2.13.0 Papyrus3/JpegDir/JpgLless/pnmtoljpoptimisebug.c:238:19: style: Condition 'JPEGSize==0' is always true [knownConditionTrueFalse] Papyrus3/JpegDir/JpgLless/pnmtoljpoptimisebug.c:178:16: note: Assignment 'JPEGSize=0', assigned value is 0 Papyrus3/JpegDir/JpgLless/pnmtoljpoptimisebug.c:238:19: note: Condition 'JPEGSize==0' is always true 2.13.0 Papyrus3/JpegDir/JpgLless/pnmtoljpoptimisebug.c:253:15: style: Condition 'optimize==1' is always false [knownConditionTrueFalse] Papyrus3/JpegDir/JpgLless/pnmtoljpoptimisebug.c:163:16: note: Assignment 'optimize=0', assigned value is 0 Papyrus3/JpegDir/JpgLless/pnmtoljpoptimisebug.c:253:15: note: Condition 'optimize==1' is always false head Papyrus3/JpegDir/JpgLossy/ANSI2KNR.C:550:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLossy/RDJPGCOM.C:157:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLossy/RDJPGCOM.C:180:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLossy/RDJPGCOM.C:204:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLossy/RDJPGCOM.C:231:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLossy/RDJPGCOM.C:303:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLossy/RDJPGCOM.C:330:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLossy/RDJPGCOM.C:396:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLossy/RDJPGCOM.C:467:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLossy/RDJPGCOM.C:91:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLossy/WRJPGCOM.C:110:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLossy/WRJPGCOM.C:146:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLossy/WRJPGCOM.C:206:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLossy/WRJPGCOM.C:229:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLossy/WRJPGCOM.C:254:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLossy/WRJPGCOM.C:273:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLossy/WRJPGCOM.C:295:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLossy/WRJPGCOM.C:354:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head Papyrus3/JpegDir/JpgLossy/WRJPGCOM.C:443:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head Papyrus3/PapyConvertFile3.c:325:18: style: Variable 'p16b' can be declared as pointer to const [constVariablePointer] head Papyrus3/PapyEallocMac3.c:138:13: style: Redundant assignment of 'inOldSize' to itself. [selfAssignment] 2.13.0 Papyrus3/PapyEallocMac3.c:138:13: warning: Redundant assignment of 'inOldSize' to itself. [selfAssignment] head Papyrus3/PapyFileSystemMac3.c:137:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FSSpec [valueFlowBailoutIncompleteVar] head Papyrus3/PapyFileSystemMac3.c:212:15: style: Redundant assignment of 'inFilenameP' to itself. [selfAssignment] 2.13.0 Papyrus3/PapyFileSystemMac3.c:212:15: warning: Redundant assignment of 'inFilenameP' to itself. [selfAssignment] head Papyrus3/PapyFileSystemMac3.c:229:40: style: Parameter 'ioBytesToReadP' can be declared as pointer to const [constParameterPointer] head Papyrus3/PapyFileSystemMac3.c:236:8: style: Redundant assignment of 'inNb' to itself. [selfAssignment] 2.13.0 Papyrus3/PapyFileSystemMac3.c:236:8: warning: Redundant assignment of 'inNb' to itself. [selfAssignment] head Papyrus3/PapyFileSystemMac3.c:241:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fsAtMark [valueFlowBailoutIncompleteVar] head Papyrus3/PapyFileSystemMac3.c:257:41: style: Parameter 'ioBytesToWriteP' can be declared as pointer to const [constParameterPointer] head Papyrus3/PapyFileSystemMac3.c:264:8: style: Redundant assignment of 'inNb' to itself. [selfAssignment] 2.13.0 Papyrus3/PapyFileSystemMac3.c:264:8: warning: Redundant assignment of 'inNb' to itself. [selfAssignment] head Papyrus3/PapyFileSystemMac3.c:269:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fsAtMark [valueFlowBailoutIncompleteVar] head Papyrus3/PapyFileSystemMac3.c:293:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fsFromStart [valueFlowBailoutIncompleteVar] head Papyrus3/PapyFileSystemMac3.c:84:8: style: Redundant assignment of 'inFp' to itself. [selfAssignment] 2.13.0 Papyrus3/PapyFileSystemMac3.c:84:8: warning: Redundant assignment of 'inFp' to itself. [selfAssignment] head Papyrus3/PapyFileSystemPC3.c:134:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _O_RDONLY [valueFlowBailoutIncompleteVar] head Papyrus3/PapyFileSystemPC3.c:178:40: style: Parameter 'inIdentifierP' can be declared as pointer to const [constParameterPointer] head Papyrus3/PapyFileSystemPC3.c:193:40: style: Parameter 'ioBytesToReadP' can be declared as pointer to const [constParameterPointer] head Papyrus3/PapyFileSystemPC3.c:218:41: style: Parameter 'ioBytesToWriteP' can be declared as pointer to const [constParameterPointer] 2.13.0 Papyrus3/PapyFileSystemUnix3.c:103:13: portability: Assigning a pointer to an integer is not portable. [AssignmentAddressToInteger] 2.13.0 Papyrus3/PapyFileSystemUnix3.c:109:13: portability: Assigning a pointer to an integer is not portable. [AssignmentAddressToInteger] 2.13.0 Papyrus3/PapyFileSystemUnix3.c:134:28: portability: Assigning a pointer to an integer is not portable. [AssignmentAddressToInteger] 2.13.0 Papyrus3/PapyFileSystemUnix3.c:137:28: portability: Assigning a pointer to an integer is not portable. [AssignmentAddressToInteger] 2.13.0 Papyrus3/PapyFileSystemUnix3.c:141:28: portability: Assigning a pointer to an integer is not portable. [AssignmentAddressToInteger] head Papyrus3/PapyFileSystemUnix3.c:177:40: style: Parameter 'inIdentifierP' can be declared as pointer to const [constParameterPointer] head Papyrus3/PapyMemSystem.cpp:203:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] head Papyrus3/PapyMemSystem.cpp:226:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] head Papyrus3/PapyMemSystem.cpp:245:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _fmode [valueFlowBailoutIncompleteVar] head Papyrus3/PapyMemorySystemMac3.c:176:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ioActCount [valueFlowBailoutIncompleteVar] head Papyrus3/PapyMemorySystemMac3.c:227:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FSSpec [valueFlowBailoutIncompleteVar] head Papyrus3/PapyMemorySystemMac3.c:309:8: style: Redundant assignment of 'inNb' to itself. [selfAssignment] 2.13.0 Papyrus3/PapyMemorySystemMac3.c:309:8: warning: Redundant assignment of 'inNb' to itself. [selfAssignment] head Papyrus3/PapyMemorySystemMac3.c:326:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head Papyrus3/PapyMemorySystemMac3.c:346:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noErr [valueFlowBailoutIncompleteVar] head Papyrus3/PapyMemorySystemMac3.c:389:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noErr [valueFlowBailoutIncompleteVar] head Papyrus3/PapyWild3.c:117:12: style: Redundant assignment of 'inPart1P' to itself. [selfAssignment] 2.13.0 Papyrus3/PapyWild3.c:117:12: warning: Redundant assignment of 'inPart1P' to itself. [selfAssignment] head Papyrus3/PapyWild3.c:118:12: style: Redundant assignment of 'inPart2P' to itself. [selfAssignment] 2.13.0 Papyrus3/PapyWild3.c:118:12: warning: Redundant assignment of 'inPart2P' to itself. [selfAssignment] head Papyrus3/PapyWrite3.c:416:8: style: Redundant assignment of 'inFp' to itself. [selfAssignment] 2.13.0 Papyrus3/PapyWrite3.c:416:8: warning: Redundant assignment of 'inFp' to itself. [selfAssignment] DONE