2024-04-16 13:38 ftp://ftp.de.debian.org/debian/pool/main/f/fondu/fondu_0.0.20060102.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-102-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.55 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.13.0 head-info: 8cd680b (2024-04-15 22:43:04 +0200) count: 217 161 elapsed-time: 44.3 59.8 head-timing-info: old-timing-info: head results: fondu-060102/dfont2res.c:35:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/dfont2res.c:195:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/dfont2res.c:63:8: style: Local variable 'pt' shadows outer variable [shadowVariable] fondu-060102/dfont2res.c:57:49: note: Shadowed declaration fondu-060102/dfont2res.c:63:8: note: Shadow variable fondu-060102/dfont2res.c:34:25: style: Parameter 'prog' can be declared as pointer to const [constParameterPointer] fondu-060102/dfont2res.c:57:49: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] fondu-060102/dfont2res.c:138:49: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] fondu-060102/fondu.c:44:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] fondu-060102/fondu.c:54:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] fondu-060102/fondu.c:75:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/fondu.c:107:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/fondu.c:180:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/fondu.c:218:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/fondu.c:440:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable assoc [valueFlowBailoutIncompleteVar] fondu-060102/fondu.c:568:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/fondu.c:759:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/fondu.c:798:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/fondu.c:836:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/fondu.c:1056:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/fondu.c:1222:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/fondu.c:502:27: style: Condition 'format!=-1' is always true [knownConditionTrueFalse] fondu-060102/fondu.c:502:14: note: Assuming that condition 'format!=0' is not redundant fondu-060102/fondu.c:502:27: note: Condition 'format!=-1' is always true fondu-060102/fondu.c:508:27: style: Condition 'format!=-1' is always true [knownConditionTrueFalse] fondu-060102/fondu.c:508:14: note: Assuming that condition 'format!=0' is not redundant fondu-060102/fondu.c:508:27: note: Condition 'format!=-1' is always true fondu-060102/fondu.c:843:6: style: Variable 'len' is reassigned a value before the old one has been used. [redundantAssignment] fondu-060102/fondu.c:842:6: note: len is assigned fondu-060102/fondu.c:843:6: note: len is overwritten fondu-060102/fondu.c:932:7: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] fondu-060102/fondu.c:934:2: note: Found duplicate branches for 'if' and 'else'. fondu-060102/fondu.c:932:7: note: Found duplicate branches for 'if' and 'else'. fondu-060102/fondu.c:1001:69: style: Checking if unsigned expression 'header[1]' is less than zero. [unsignedLessThanZero] fondu-060102/fondu.c:133:22: style: Variable 'lcpt' can be declared as pointer to const [constVariablePointer] fondu-060102/fondu.c:148:52: style: Parameter 'origfilename' can be declared as pointer to const [constParameterPointer] fondu-060102/fondu.c:152:8: style: Variable 'dirend' can be declared as pointer to const [constVariablePointer] fondu-060102/fondu.c:178:8: style: Variable 'ept' can be declared as pointer to const [constVariablePointer] fondu-060102/fondu.c:222:46: style: Parameter 'bb' can be declared as pointer to const [constParameterPointer] fondu-060102/fondu.c:355:17: style: Variable 'kp' can be declared as pointer to const [constVariablePointer] fondu-060102/fondu.c:751:40: style: Parameter 'curname' can be declared as pointer to const [constParameterPointer] fondu-060102/fondu.c:751:54: style: Parameter 'patheticattempt' can be declared as pointer to const [constParameterPointer] fondu-060102/fondu.c:830:64: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] fondu-060102/fondu.c:1133:11: style: Variable 'spt' can be declared as pointer to const [constVariablePointer] fondu-060102/fondu.c:1133:17: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] fondu-060102/fondu.c:392:15: style: Variable 'rname' is assigned a value that is never used. [unreadVariable] fondu-060102/fondu.c:585:21: style: Variable 'ch2' is assigned a value that is never used. [unreadVariable] fondu-060102/fondu.c:713:14: style: Variable 'fulllen' is assigned a value that is never used. [unreadVariable] fondu-060102/fondu.c:726:10: style: Variable 'fulllen' is assigned a value that is never used. [unreadVariable] fondu-060102/fondu.c:768:15: style: Variable 'rname' is assigned a value that is never used. [unreadVariable] fondu-060102/fondu.c:873:13: style: Variable 'map_len' is assigned a value that is never used. [unreadVariable] fondu-060102/fondups.c:1371:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/fondups.c:1783:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/fondups.c:1868:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] fondu-060102/fondups.c:2026:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] fondu-060102/fondups.c:2225:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] fondu-060102/fondups.c:2354:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/fondups.c:2516:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/fondups.c:3010:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bbglyph [valueFlowBailoutIncompleteVar] fondu-060102/fondups.c:1388:24: style: Redundant condition: The condition '*line == '\0'' is redundant since '*line != '\n'' is sufficient. [redundantCondition] fondu-060102/fondups.c:2979:15: style: Condition '--sp<0' is always false [knownConditionTrueFalse] fondu-060102/fondups.c:2960:13: note: Assuming that condition 'sp<1' is not redundant fondu-060102/fondups.c:2979:15: note: Condition '--sp<0' is always false fondu-060102/fondups.c:1674:3: error: Return value of allocation function 'gettoken' is not stored. [leakReturnValNotUsed] fondu-060102/fondups.c:982:3: error: Common realloc mistake: 'ret' nulled but not freed upon failure [memleakOnRealloc] fondu-060102/fondups.c:916:1: error: Memory leak: ret.fontinfo [memleak] fondu-060102/fondups.c:916:1: error: Memory leak: ret.chars [memleak] fondu-060102/fondups.c:916:1: error: Memory leak: ret.private [memleak] fondu-060102/fondups.c:931:1: error: Memory leak: ret.fontinfo [memleak] fondu-060102/fondups.c:931:1: error: Memory leak: ret.chars [memleak] fondu-060102/fondups.c:931:1: error: Memory leak: ret.private [memleak] fondu-060102/fondups.c:931:1: error: Memory leak: ret.charprocs [memleak] fondu-060102/fondups.c:2035:6: style: Variable 'ch1' is reassigned a value before the old one has been used. [redundantAssignment] fondu-060102/fondups.c:2029:6: note: ch1 is assigned fondu-060102/fondups.c:2035:6: note: ch1 is overwritten fondu-060102/fondups.c:1239:20: style: Local variable 'r' shadows outer variable [shadowVariable] fondu-060102/fondups.c:1219:16: note: Shadowed declaration fondu-060102/fondups.c:1239:20: note: Shadow variable fondu-060102/fondups.c:1561:12: style: Local variable 'pt' shadows outer variable [shadowVariable] fondu-060102/fondups.c:1307:24: note: Shadowed declaration fondu-060102/fondups.c:1561:12: note: Shadow variable fondu-060102/fondups.c:2116:20: style: Local variable 'r' shadows outer variable [shadowVariable] fondu-060102/fondups.c:1219:16: note: Shadowed declaration fondu-060102/fondups.c:2116:20: note: Shadow variable fondu-060102/fondups.c:80:56: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] fondu-060102/fondups.c:93:57: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] fondu-060102/fondups.c:116:47: style: Parameter 'std' can be declared as const array [constParameter] fondu-060102/fondups.c:935:16: style: Variable 'end' can be declared as pointer to const [constVariablePointer] fondu-060102/fondups.c:1094:48: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] fondu-060102/fondups.c:1103:76: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] fondu-060102/fondups.c:1233:49: style: Parameter 'zeros' can be declared as pointer to const [constParameterPointer] fondu-060102/fondups.c:1250:83: style: Parameter 'nametok' can be declared as pointer to const [constParameterPointer] fondu-060102/fondups.c:1251:31: style: Variable 'bs' can be declared as pointer to const [constVariablePointer] fondu-060102/fondups.c:1251:36: style: Variable 'end' can be declared as pointer to const [constVariablePointer] fondu-060102/fondups.c:1766:59: style: Parameter 'tok' can be declared as pointer to const [constParameterPointer] fondu-060102/fondups.c:1854:32: style: Variable 'end' can be declared as pointer to const [constVariablePointer] fondu-060102/fondups.c:2018:73: style: Parameter 'extra' can be declared as pointer to const [constParameterPointer] fondu-060102/fondups.c:2109:42: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] fondu-060102/fondups.c:2109:51: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] fondu-060102/fondups.c:2184:8: style: Variable 'ssubroff' can be declared as pointer to const [constVariablePointer] fondu-060102/fondups.c:2185:8: style: Variable 'ssdbytes' can be declared as pointer to const [constVariablePointer] fondu-060102/fondups.c:2186:8: style: Variable 'ssubrcnt' can be declared as pointer to const [constVariablePointer] fondu-060102/fondups.c:2350:11: style: Variable 'oldloc' can be declared as pointer to const [constVariablePointer] fondu-060102/fondups.c:2471:11: style: Variable 'search_name' can be declared as pointer to const [constVariablePointer] fondu-060102/fondups.c:2472:21: style: Variable 'chars' can be declared as pointer to const [constVariablePointer] fondu-060102/fondups.c:2496:31: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] fondu-060102/fondups.c:2510:27: style: Variable 'bb2' can be declared as pointer to const [constVariablePointer] fondu-060102/fondups.c:2126:9: warning: Uninitialized variable: i [uninitvar] fondu-060102/fondups.c:952:9: warning: Uninitialized variable: str [uninitvar] fondu-060102/fondups.c:2288:21: note: Calling function 'myfgets', 1st argument 'buffer' value is fondu-060102/fondups.c:949:12: note: Assuming condition is false fondu-060102/fondups.c:952:9: note: Uninitialized variable: str fondu-060102/fondups.c:2127:7: error: Memory is allocated but not initialized: pt [uninitdata] fondu-060102/fondups.c:2139:7: error: Memory is allocated but not initialized: pt [uninitdata] fondu-060102/fondups.c:1878:68: style: Variable 'first' is assigned a value that is never used. [unreadVariable] fondu-060102/fondups.c:2002:8: style: Variable 'first' is assigned a value that is never used. [unreadVariable] fondu-060102/fondups.c:2131:12: style: Variable 'plain' is assigned a value that is never used. [unreadVariable] fondu-060102/fondups.c:2782:11: style: Variable 'base' is assigned a value that is never used. [unreadVariable] fondu-060102/frommacbinary.c:58:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/frommacbinary.c:80:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/frommacbinary.c:246:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/frommacbinary.c:58:5: error: fprintf format string requires 1 parameter but only 0 are given. [wrongPrintfScanfArgNum] fondu-060102/frommacbinary.c:84:69: style: Checking if unsigned expression 'header[1]' is less than zero. [unsignedLessThanZero] fondu-060102/frommacbinary.c:71:31: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] fondu-060102/lumper.c:119:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] fondu-060102/lumper.c:129:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] fondu-060102/lumper.c:251:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] fondu-060102/lumper.c:344:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/lumper.c:487:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] fondu-060102/lumper.c:561:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/lumper.c:694:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] fondu-060102/lumper.c:723:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/lumper.c:735:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/lumper.c:372:7: style: Condition 'only_fonts' is always true [knownConditionTrueFalse] fondu-060102/lumper.c:252:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'uint32 {aka unsigned int}'. [invalidPrintfArgType_sint] fondu-060102/lumper.c:523:69: style: Checking if unsigned expression 'header[1]' is less than zero. [unsignedLessThanZero] fondu-060102/lumper.c:263:39: style: Parameter 'origf' can be declared as pointer to const [constParameterPointer] fondu-060102/lumper.c:500:34: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] fondu-060102/lumper.c:622:11: style: Variable 'spt' can be declared as pointer to const [constVariablePointer] fondu-060102/lumper.c:622:17: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] fondu-060102/lumper.c:701:16: style: Variable 'dot' can be declared as pointer to const [constVariablePointer] fondu-060102/lumper.c:289:8: style: Variable 'style' is assigned a value that is never used. [unreadVariable] fondu-060102/readnfnt.c:471:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/readnfnt.c:439:10: style: Local variable 'i' shadows outer variable [shadowVariable] fondu-060102/readnfnt.c:413:9: note: Shadowed declaration fondu-060102/readnfnt.c:439:10: note: Shadow variable fondu-060102/readnfnt.c:217:39: style: Parameter 'pt' can be declared as pointer to const [constParameterPointer] fondu-060102/readnfnt.c:228:21: style: Variable 'widths' can be declared as pointer to const [constVariablePointer] fondu-060102/readnfnt.c:229:21: style: Variable 'locs' can be declared as pointer to const [constVariablePointer] fondu-060102/readnfnt.c:250:48: style: Parameter 'test' can be declared as pointer to const [constParameterPointer] fondu-060102/readnfnt.c:280:75: style: Parameter 'rct' can be declared as pointer to const [constParameterPointer] fondu-060102/readnfnt.c:281:21: style: Variable 'locs' can be declared as pointer to const [constVariablePointer] fondu-060102/readnfnt.c:296:38: style: Parameter 'ass' can be declared as pointer to const [constParameterPointer] fondu-060102/readnfnt.c:299:12: style: Variable 'widths' can be declared as pointer to const [constVariablePointer] fondu-060102/readnfnt.c:329:67: style: Parameter 'resname' can be declared as pointer to const [constParameterPointer] fondu-060102/readnfnt.c:409:15: style: Variable 'rname' is assigned a value that is never used. [unreadVariable] fondu-060102/setfondname.c:41:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] fondu-060102/setfondname.c:51:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] fondu-060102/setfondname.c:62:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/setfondname.c:95:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/setfondname.c:229:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/setfondname.c:372:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/setfondname.c:191:69: style: Checking if unsigned expression 'header[1]' is less than zero. [unsignedLessThanZero] fondu-060102/setfondname.c:166:34: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] fondu-060102/setfondname.c:291:11: style: Variable 'spt' can be declared as pointer to const [constVariablePointer] fondu-060102/setfondname.c:291:17: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] fondu-060102/showfond.c:41:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] fondu-060102/showfond.c:51:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] fondu-060102/showfond.c:79:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/showfond.c:360:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/showfond.c:418:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/showfond.c:534:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/showfond.c:681:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/showfond.c:817:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/showfond.c:122:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] fondu-060102/showfond.c:123:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] fondu-060102/showfond.c:124:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] fondu-060102/showfond.c:223:6: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] fondu-060102/showfond.c:310:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] fondu-060102/showfond.c:601:2: warning: %c in format string (no. 1) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] fondu-060102/showfond.c:601:2: warning: %c in format string (no. 2) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] fondu-060102/showfond.c:601:2: warning: %c in format string (no. 3) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] fondu-060102/showfond.c:601:2: warning: %c in format string (no. 4) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] fondu-060102/showfond.c:277:1: error: Memory leak: cur.stylewidths [memleak] fondu-060102/showfond.c:277:1: error: Memory leak: cur.stylekerns [memleak] fondu-060102/showfond.c:643:69: style: Checking if unsigned expression 'header[1]' is less than zero. [unsignedLessThanZero] fondu-060102/showfond.c:353:19: style: Variable 'ass' can be declared as pointer to const [constVariablePointer] fondu-060102/showfond.c:618:34: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] fondu-060102/showfond.c:743:11: style: Variable 'spt' can be declared as pointer to const [constVariablePointer] fondu-060102/showfond.c:743:17: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] fondu-060102/showfond.c:68:15: style: Variable 'rname' is assigned a value that is never used. [unreadVariable] fondu-060102/showfond.c:147:6: style: Variable 'end' is assigned a value that is never used. [unreadVariable] fondu-060102/showfond.c:347:15: style: Variable 'rname' is assigned a value that is never used. [unreadVariable] fondu-060102/showfond.c:424:6: style: Variable 'ch1' is assigned a value that is never used. [unreadVariable] fondu-060102/showfond.c:424:21: style: Variable 'ch2' is assigned a value that is never used. [unreadVariable] fondu-060102/showfond.c:432:23: style: Variable 'isotf' is assigned a value that is never used. [unreadVariable] fondu-060102/showfond.c:441:8: style: Variable 'isotf' is assigned a value that is never used. [unreadVariable] fondu-060102/showfond.c:482:14: style: Variable 'fulllen' is assigned a value that is never used. [unreadVariable] fondu-060102/showfond.c:495:10: style: Variable 'fulllen' is assigned a value that is never used. [unreadVariable] fondu-060102/showfond.c:525:15: style: Variable 'rname' is assigned a value that is never used. [unreadVariable] fondu-060102/showfond.c:537:8: style: Variable 'rname' is assigned a value that is never used. [unreadVariable] fondu-060102/tomacbinary.c:61:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/tomacbinary.c:214:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/tomacbinary.c:349:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/tomacbinary.c:61:5: error: fprintf format string requires 1 parameter but only 0 are given. [wrongPrintfScanfArgNum] fondu-060102/tomacbinary.c:81:38: style: Parameter 'dataname' can be declared as pointer to const [constParameterPointer] fondu-060102/ufond.c:55:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] fondu-060102/ufond.c:65:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] fondu-060102/ufond.c:104:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/ufond.c:162:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/ufond.c:230:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ft_ps [valueFlowBailoutIncompleteVar] fondu-060102/ufond.c:766:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/ufond.c:278:39: style: Condition 'cur->faces[one]!=NULL' is always false [knownConditionTrueFalse] fondu-060102/ufond.c:277:43: note: Assignment 'cur->faces[one]=cur->ttffaces[one]=cur->psfaces[one]=NULL', assigned value is 0 fondu-060102/ufond.c:278:39: note: Condition 'cur->faces[one]!=NULL' is always false fondu-060102/ufond.c:463:20: style: Condition 'kernloc!=0' is always false [knownConditionTrueFalse] fondu-060102/ufond.c:406:15: note: Assignment 'kernloc=0', assigned value is 0 fondu-060102/ufond.c:463:20: note: Condition 'kernloc!=0' is always false fondu-060102/ufond.c:369:15: style: Same expression on both sides of '-'. [duplicateExpression] fondu-060102/ufond.c:122:12: style: Local variable 'pt' shadows outer variable [shadowVariable] fondu-060102/ufond.c:118:11: note: Shadowed declaration fondu-060102/ufond.c:122:12: note: Shadow variable fondu-060102/ufond.c:131:7: style: Local variable 'bad' shadows outer variable [shadowVariable] fondu-060102/ufond.c:117:12: note: Shadowed declaration fondu-060102/ufond.c:131:7: note: Shadow variable fondu-060102/ufond.c:610:8: style: Local variable 'pt' shadows outer variable [shadowVariable] fondu-060102/ufond.c:604:49: note: Shadowed declaration fondu-060102/ufond.c:610:8: note: Shadow variable fondu-060102/ufond.c:103:25: style: Parameter 'prog' can be declared as pointer to const [constParameterPointer] fondu-060102/ufond.c:118:11: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] fondu-060102/ufond.c:604:49: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] fondu-060102/ufond.c:702:34: style: Variable 'lcpt' can be declared as pointer to const [constVariablePointer] fondu-060102/ufond.c:766:73: error: Uninitialized variable: face [uninitvar] fondu-060102/ufond.c:766:73: error: Uninitialized struct member: face.fontname [uninitStructMember] fondu-060102/ufond.c:792:10: style: Variable 'npos' is assigned a value that is never used. [unreadVariable] fondu-060102/ufondbdf.c:53:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/ufondbdf.c:185:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/ufondbdf.c:370:27: error: Array 'macfont->face->metrics[256]' accessed at index 256, which is out of bounds. [arrayIndexOutOfBounds] fondu-060102/ufondbdf.c:359:17: note: Assuming that condition 'i<256' is not redundant fondu-060102/ufondbdf.c:370:27: note: Array index out of bounds fondu-060102/ufondbdf.c:446:2: portability: %d in format string (no. 2) requires 'int' but the argument type is 'long int {aka signed long}'. [invalidPrintfArgType_sint] fondu-060102/ufondbdf.c:152:11: error: Common realloc mistake: 'list' nulled but not freed upon failure [memleakOnRealloc] fondu-060102/ufondbdf.c:151:46: style: Argument '(tot=60)*sizeof(char*)' to function malloc is always 480. It does not matter what value 'tot' has. [knownArgument] fondu-060102/ufondbdf.c:143:69: style: Parameter 'terminator' can be declared as pointer to const [constParameterPointer] fondu-060102/ufondbdf.c:216:69: style: Parameter 'bdf' can be declared as pointer to const [constParameterPointer] fondu-060102/ufondbdf.c:42:9: style: struct member 'bdffont::size' is never used. [unusedStructMember] fondu-060102/ufondbdf.c:182:25: style: Variable 'last_enc' is assigned a value that is never used. [unreadVariable] fondu-060102/ufondbdf.c:208:15: style: Variable 'last_enc' is assigned a value that is never used. [unreadVariable] fondu-060102/ufondpfb.c:42:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] fondu-060102/ufondpfb.c:55:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/ufondpfb.c:146:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/ufondttf.c:101:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fondu-060102/ufondttf.c:273:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] fondu-060102/ufondttf.c:202:9: style: Variable 'len' is assigned a value that is never used. [unreadVariable] diff: head fondu-060102/dfont2res.c:195:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/fondu.c:1056:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/fondu.c:107:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/fondu.c:1222:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/fondu.c:180:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/fondu.c:218:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/fondu.c:440:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable assoc [valueFlowBailoutIncompleteVar] head fondu-060102/fondu.c:54:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head fondu-060102/fondu.c:568:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/fondu.c:759:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/fondu.c:75:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/fondu.c:798:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/fondu.c:836:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.13.0 fondu-060102/fondups.c:1278:30: warning: Possible null pointer dereference: nametok [nullPointer] fondu-060102/fondups.c:1369:25: note: Calling function 'findstring', 4th argument 'NULL' value is 0 fondu-060102/fondups.c:1278:30: note: Null pointer dereference head fondu-060102/fondups.c:1783:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/fondups.c:1854:32: style: Variable 'end' can be declared as pointer to const [constVariablePointer] head fondu-060102/fondups.c:1868:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head fondu-060102/fondups.c:2018:73: style: Parameter 'extra' can be declared as pointer to const [constParameterPointer] head fondu-060102/fondups.c:2026:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head fondu-060102/fondups.c:2109:42: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] head fondu-060102/fondups.c:2109:51: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] head fondu-060102/fondups.c:2225:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head fondu-060102/fondups.c:2354:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/fondups.c:2516:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/fondups.c:3010:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bbglyph [valueFlowBailoutIncompleteVar] head fondu-060102/fondups.c:952:9: warning: Uninitialized variable: str [uninitvar] fondu-060102/fondups.c:2288:21: note: Calling function 'myfgets', 1st argument 'buffer' value is fondu-060102/fondups.c:949:12: note: Assuming condition is false fondu-060102/fondups.c:952:9: note: Uninitialized variable: str head fondu-060102/frommacbinary.c:246:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/frommacbinary.c:80:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/lumper.c:129:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head fondu-060102/lumper.c:251:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head fondu-060102/lumper.c:252:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'uint32 {aka unsigned int}'. [invalidPrintfArgType_sint] 2.13.0 fondu-060102/lumper.c:252:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head fondu-060102/lumper.c:344:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/lumper.c:487:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head fondu-060102/lumper.c:561:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/lumper.c:694:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head fondu-060102/lumper.c:723:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/lumper.c:735:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.13.0 fondu-060102/readnfnt.c:277:11: warning: Uninitialized variable: buffer [uninitvar] fondu-060102/readnfnt.c:273:21: note: Assuming condition is false fondu-060102/readnfnt.c:277:11: note: Uninitialized variable: buffer head fondu-060102/setfondname.c:229:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/setfondname.c:372:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/setfondname.c:51:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head fondu-060102/setfondname.c:62:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/setfondname.c:95:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/showfond.c:360:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/showfond.c:418:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/showfond.c:51:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head fondu-060102/showfond.c:534:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/showfond.c:681:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/showfond.c:79:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/showfond.c:817:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/tomacbinary.c:214:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/tomacbinary.c:349:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/ufond.c:104:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/ufond.c:162:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/ufond.c:230:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ft_ps [valueFlowBailoutIncompleteVar] head fondu-060102/ufond.c:65:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head fondu-060102/ufond.c:766:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/ufondbdf.c:185:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/ufondpfb.c:146:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/ufondpfb.c:55:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head fondu-060102/ufondttf.c:273:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] DONE