2025-06-29 23:21 ftp://ftp.de.debian.org/debian/pool/main/p/pnm2ppa/pnm2ppa_1.13.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-62-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: ca83f56 (2025-06-29 00:31:22 +0200) count: 123 123 elapsed-time: 13.4 13.4 head-timing-info: old-timing-info: head results: pnm2ppa-1.13/calibrate_ppa.c:102:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] pnm2ppa-1.13/calibrate_ppa.c:276:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pnm2ppa-1.13/calibrate_ppa.c:395:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pnm2ppa-1.13/calibrate_ppa.c:363:14: warning: If memory allocation fails, then there is a possible null pointer dereference: color_bitmap [nullPointerOutOfMemory] pnm2ppa-1.13/calibrate_ppa.c:359:36: note: Assuming allocation function fails pnm2ppa-1.13/calibrate_ppa.c:359:22: note: Assignment 'color_bitmap=(char*)malloc(BitMap_Width*BitMap_Height)', assigned value is 0 pnm2ppa-1.13/calibrate_ppa.c:363:14: note: Null pointer dereference pnm2ppa-1.13/calibrate_ppa.c:49:19: style: Parameter 'prog' can be declared as pointer to const [constParameterPointer] pnm2ppa-1.13/calibrate_ppa.c:83:9: style: Variable 'out_filepath' can be declared as pointer to const [constVariablePointer] pnm2ppa-1.13/calibrate_ppa.c:85:24: style: Variable 'long_opts' can be declared as const array [constVariable] pnm2ppa-1.13/calibrate_ppa.c:262:57: style: Parameter 'progname' can be declared as pointer to const [constParameterPointer] pnm2ppa-1.13/calibrate_ppa.c:327:60: style: Parameter 'progname' can be declared as pointer to const [constParameterPointer] pnm2ppa-1.13/cutswath.c:81:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unknown [valueFlowBailoutIncompleteVar] pnm2ppa-1.13/cutswath.c:645:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CRIT [valueFlowBailoutIncompleteVar] pnm2ppa-1.13/cutswath.c:805:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CRIT [valueFlowBailoutIncompleteVar] pnm2ppa-1.13/cutswath.c:1054:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable right_to_left [valueFlowBailoutIncompleteVar] pnm2ppa-1.13/cutswath.c:1384:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CRIT [valueFlowBailoutIncompleteVar] pnm2ppa-1.13/cutswath.c:1601:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CRIT [valueFlowBailoutIncompleteVar] pnm2ppa-1.13/cutswath.c:1765:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable right_to_left [valueFlowBailoutIncompleteVar] pnm2ppa-1.13/cutswath.c:1765:7: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] pnm2ppa-1.13/cutswath.c:1767:7: note: Found duplicate branches for 'if' and 'else'. pnm2ppa-1.13/cutswath.c:1765:7: note: Found duplicate branches for 'if' and 'else'. pnm2ppa-1.13/cutswath.c:1773:7: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] pnm2ppa-1.13/cutswath.c:1775:7: note: Found duplicate branches for 'if' and 'else'. pnm2ppa-1.13/cutswath.c:1773:7: note: Found duplicate branches for 'if' and 'else'. pnm2ppa-1.13/cutswath.c:1781:7: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] pnm2ppa-1.13/cutswath.c:1783:7: note: Found duplicate branches for 'if' and 'else'. pnm2ppa-1.13/cutswath.c:1781:7: note: Found duplicate branches for 'if' and 'else'. pnm2ppa-1.13/cutswath.c:1789:7: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] pnm2ppa-1.13/cutswath.c:1791:7: note: Found duplicate branches for 'if' and 'else'. pnm2ppa-1.13/cutswath.c:1789:7: note: Found duplicate branches for 'if' and 'else'. pnm2ppa-1.13/cutswath.c:1798:7: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] pnm2ppa-1.13/cutswath.c:1800:7: note: Found duplicate branches for 'if' and 'else'. pnm2ppa-1.13/cutswath.c:1798:7: note: Found duplicate branches for 'if' and 'else'. pnm2ppa-1.13/cutswath.c:1807:7: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] pnm2ppa-1.13/cutswath.c:1809:7: note: Found duplicate branches for 'if' and 'else'. pnm2ppa-1.13/cutswath.c:1807:7: note: Found duplicate branches for 'if' and 'else'. pnm2ppa-1.13/cutswath.c:292:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] pnm2ppa-1.13/cutswath.c:76:35: style: Variable 'waiting' can be declared as pointer to const [constVariablePointer] pnm2ppa-1.13/cutswath.c:615:32: style: Variable 'maxplace' can be declared as pointer to const [constVariablePointer] pnm2ppa-1.13/cutswath.c:775:19: style: Parameter 'printer' can be declared as pointer to const [constParameterPointer] pnm2ppa-1.13/cutswath.c:787:20: style: Variable 'page_limit' can be declared as pointer to const [constVariablePointer] pnm2ppa-1.13/cutswath.c:1077:54: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pnm2ppa-1.13/cutswath.c:1078:38: style: Parameter 'swath_limits' can be declared as pointer to const [constParameterPointer] pnm2ppa-1.13/cutswath.c:1090:21: style: Variable 'page_limit' can be declared as pointer to const [constVariablePointer] pnm2ppa-1.13/cutswath.c:1216:54: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pnm2ppa-1.13/cutswath.c:1217:38: style: Parameter 'swath_limits' can be declared as pointer to const [constParameterPointer] pnm2ppa-1.13/cutswath.c:1229:21: style: Variable 'page_limit' can be declared as pointer to const [constVariablePointer] pnm2ppa-1.13/cutswath.c:1358:42: style: Variable 'maxplace' can be declared as pointer to const [constVariablePointer] pnm2ppa-1.13/cutswath.c:1367:20: style: Variable 'page_limit' can be declared as pointer to const [constVariablePointer] pnm2ppa-1.13/cutswath.c:1561:19: style: Parameter 'printer' can be declared as pointer to const [constParameterPointer] pnm2ppa-1.13/cutswath.c:1571:20: style: Variable 'page_limit' can be declared as pointer to const [constVariablePointer] pnm2ppa-1.13/cutswath.c:1928:54: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pnm2ppa-1.13/cutswath.c:1929:38: style: Parameter 'swath_limits' can be declared as pointer to const [constParameterPointer] pnm2ppa-1.13/cutswath.c:1941:21: style: Variable 'page_limit' can be declared as pointer to const [constVariablePointer] pnm2ppa-1.13/cutswath.c:2151:54: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pnm2ppa-1.13/cutswath.c:2152:38: style: Parameter 'swath_limits' can be declared as pointer to const [constParameterPointer] pnm2ppa-1.13/cutswath.c:2164:21: style: Variable 'page_limit' can be declared as pointer to const [constVariablePointer] pnm2ppa-1.13/cutswath.c:544:14: style: Variable 'last_dir' is assigned a value that is never used. [unreadVariable] pnm2ppa-1.13/cutswath.c:780:46: style: Variable 'after_color' is assigned a value that is never used. [unreadVariable] pnm2ppa-1.13/cutswath.c:785:21: style: Variable 'blackline' is assigned a value that is never used. [unreadVariable] pnm2ppa-1.13/cutswath.c:888:18: style: Variable 'after_color' is assigned a value that is never used. [unreadVariable] pnm2ppa-1.13/cutswath.c:1572:21: style: Variable 'colorline' is assigned a value that is never used. [unreadVariable] pnm2ppa-1.13/dither.c:584:35: style: Condition 'image->bufferCurLine%2==0' is always true [knownConditionTrueFalse] pnm2ppa-1.13/dither.c:569:34: note: Assuming that condition 'image->bufferCurLine%2==0' is not redundant pnm2ppa-1.13/dither.c:584:35: note: Condition 'image->bufferCurLine%2==0' is always true pnm2ppa-1.13/dither.c:237:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] pnm2ppa-1.13/dither.c:241:5: note: Found duplicate branches for 'if' and 'else'. pnm2ppa-1.13/dither.c:237:5: note: Found duplicate branches for 'if' and 'else'. pnm2ppa-1.13/dither.c:100:27: style: Parameter 'image' can be declared as pointer to const [constParameterPointer] pnm2ppa-1.13/dither.c:461:27: style: Parameter 'image' can be declared as pointer to const [constParameterPointer] pnm2ppa-1.13/dither.c:465:18: style: Variable 'halftone_3' can be declared as const array [constVariable] pnm2ppa-1.13/dither.c:473:18: style: Variable 'halftone' can be declared as const array [constVariable] pnm2ppa-1.13/dither.c:536:27: style: Parameter 'image' can be declared as pointer to const [constParameterPointer] pnm2ppa-1.13/dither.c:540:19: style: Variable 'halftoner' can be declared as const array [constVariable] pnm2ppa-1.13/dither.c:547:19: style: Variable 'halftoneg' can be declared as const array [constVariable] pnm2ppa-1.13/dither.c:554:19: style: Variable 'halftoneb' can be declared as const array [constVariable] pnm2ppa-1.13/gamma.c:60:24: style: Parameter 'image' can be declared as pointer to const [constParameterPointer] pnm2ppa-1.13/image.c:50:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pnm2ppa-1.13/image.c:272:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bitmap [valueFlowBailoutIncompleteVar] pnm2ppa-1.13/image.c:789:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CRIT [valueFlowBailoutIncompleteVar] pnm2ppa-1.13/image.c:1423:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable empty [valueFlowBailoutIncompleteVar] pnm2ppa-1.13/image.c:1456:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable empty [valueFlowBailoutIncompleteVar] pnm2ppa-1.13/image.c:1484:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bitmap [valueFlowBailoutIncompleteVar] pnm2ppa-1.13/image.c:1518:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable color [valueFlowBailoutIncompleteVar] pnm2ppa-1.13/image.c:1323:15: warning: If memory allocation fails, then there is a possible null pointer dereference: oldline [nullPointerOutOfMemory] pnm2ppa-1.13/image.c:1322:25: note: Assuming allocation function fails pnm2ppa-1.13/image.c:1322:25: note: Assignment 'oldline=malloc(image->width*gByteCount)', assigned value is 0 pnm2ppa-1.13/image.c:1323:15: note: Null pointer dereference pnm2ppa-1.13/image.c:426:2: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] pnm2ppa-1.13/image.c:431:2: note: Found duplicate branches for 'if' and 'else'. pnm2ppa-1.13/image.c:426:2: note: Found duplicate branches for 'if' and 'else'. pnm2ppa-1.13/image.c:1177:7: style: Local variable 'j' shadows outer variable [shadowVariable] pnm2ppa-1.13/image.c:757:10: note: Shadowed declaration pnm2ppa-1.13/image.c:1177:7: note: Shadow variable pnm2ppa-1.13/image.c:1177:9: style: Local variable 'k' shadows outer variable [shadowVariable] pnm2ppa-1.13/image.c:757:13: note: Shadowed declaration pnm2ppa-1.13/image.c:1177:9: note: Shadow variable pnm2ppa-1.13/image.c:326:30: style: Parameter 'image' can be declared as pointer to const [constParameterPointer] pnm2ppa-1.13/image.c:696:30: style: Parameter 'image' can be declared as pointer to const [constParameterPointer] pnm2ppa-1.13/image.c:696:52: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] pnm2ppa-1.13/image.c:996:20: style: Variable 'mask' can be declared as const array [constVariable] pnm2ppa-1.13/image.c:1539:39: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pnm2ppa-1.13/image.c:399:29: style: Variable 'curr_stuff' is assigned a value that is never used. [unreadVariable] pnm2ppa-1.13/image.c:400:48: style: Variable 'have_color' is assigned a value that is never used. [unreadVariable] pnm2ppa-1.13/make_hash_ink.c:198:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pnm2ppa-1.13/make_hash_ink.c:112:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_el [nullPointerOutOfMemory] pnm2ppa-1.13/make_hash_ink.c:109:40: note: Assuming allocation function fails pnm2ppa-1.13/make_hash_ink.c:109:12: note: Assignment 'new_el=(struct entry_list*)malloc(sizeof(struct entry_list))', assigned value is 0 pnm2ppa-1.13/make_hash_ink.c:112:3: note: Null pointer dereference pnm2ppa-1.13/make_hash_ink.c:113:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_el [nullPointerOutOfMemory] pnm2ppa-1.13/make_hash_ink.c:109:40: note: Assuming allocation function fails pnm2ppa-1.13/make_hash_ink.c:109:12: note: Assignment 'new_el=(struct entry_list*)malloc(sizeof(struct entry_list))', assigned value is 0 pnm2ppa-1.13/make_hash_ink.c:113:3: note: Null pointer dereference pnm2ppa-1.13/make_hash_ink.c:115:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_el [nullPointerOutOfMemory] pnm2ppa-1.13/make_hash_ink.c:109:40: note: Assuming allocation function fails pnm2ppa-1.13/make_hash_ink.c:109:12: note: Assignment 'new_el=(struct entry_list*)malloc(sizeof(struct entry_list))', assigned value is 0 pnm2ppa-1.13/make_hash_ink.c:115:3: note: Null pointer dereference pnm2ppa-1.13/make_hash_ink.c:153:7: warning: If memory allocation fails, then there is a possible null pointer dereference: cur [nullPointerOutOfMemory] pnm2ppa-1.13/make_hash_ink.c:152:36: note: Assuming allocation function fails pnm2ppa-1.13/make_hash_ink.c:152:13: note: Assignment 'cur=(struct entry*)malloc(sizeof(struct entry))', assigned value is 0 pnm2ppa-1.13/make_hash_ink.c:153:7: note: Null pointer dereference pnm2ppa-1.13/make_hash_ink.c:154:7: warning: If memory allocation fails, then there is a possible null pointer dereference: cur [nullPointerOutOfMemory] pnm2ppa-1.13/make_hash_ink.c:152:36: note: Assuming allocation function fails pnm2ppa-1.13/make_hash_ink.c:152:13: note: Assignment 'cur=(struct entry*)malloc(sizeof(struct entry))', assigned value is 0 pnm2ppa-1.13/make_hash_ink.c:154:7: note: Null pointer dereference pnm2ppa-1.13/make_hash_ink.c:158:21: warning: If memory allocation fails, then there is a possible null pointer dereference: cur [nullPointerOutOfMemory] pnm2ppa-1.13/make_hash_ink.c:152:36: note: Assuming allocation function fails pnm2ppa-1.13/make_hash_ink.c:152:13: note: Assignment 'cur=(struct entry*)malloc(sizeof(struct entry))', assigned value is 0 pnm2ppa-1.13/make_hash_ink.c:158:21: note: Null pointer dereference pnm2ppa-1.13/make_hash_ink.c:208:5: warning: If memory allocation fails, then there is a possible null pointer dereference: entries_arr [nullPointerOutOfMemory] pnm2ppa-1.13/make_hash_ink.c:206:31: note: Assuming allocation function fails pnm2ppa-1.13/make_hash_ink.c:206:17: note: Assignment 'entries_arr=(int*)malloc(sizeof(int)*((1<<(8-shift))*(1<<(8-shift))*(1<<(8-shift))))', assigned value is 0 pnm2ppa-1.13/make_hash_ink.c:208:5: note: Null pointer dereference pnm2ppa-1.13/make_hash_ink.c:229:4: warning: If memory allocation fails, then there is a possible null pointer dereference: cur [nullPointerOutOfMemory] pnm2ppa-1.13/make_hash_ink.c:226:38: note: Assuming allocation function fails pnm2ppa-1.13/make_hash_ink.c:226:12: note: Assignment 'first=(struct hash_ink*)malloc(sizeof(struct hash_ink))', assigned value is 0 pnm2ppa-1.13/make_hash_ink.c:228:8: note: cur is assigned 'first' here. pnm2ppa-1.13/make_hash_ink.c:229:4: note: Null pointer dereference pnm2ppa-1.13/make_hash_ink.c:369:5: warning: If memory allocation fails, then there is a possible null pointer dereference: cur [nullPointerOutOfMemory] pnm2ppa-1.13/make_hash_ink.c:367:13: note: Assuming allocation function fails pnm2ppa-1.13/make_hash_ink.c:366:28: note: Assignment 'cur=(struct hash_ink*)malloc(sizeof(struct hash_ink))', assigned value is 0 pnm2ppa-1.13/make_hash_ink.c:369:5: note: Null pointer dereference pnm2ppa-1.13/make_hash_ink.c:374:5: warning: If memory allocation fails, then there is a possible null pointer dereference: cur [nullPointerOutOfMemory] pnm2ppa-1.13/make_hash_ink.c:367:13: note: Assuming allocation function fails pnm2ppa-1.13/make_hash_ink.c:366:28: note: Assignment 'cur=(struct hash_ink*)malloc(sizeof(struct hash_ink))', assigned value is 0 pnm2ppa-1.13/make_hash_ink.c:374:5: note: Null pointer dereference pnm2ppa-1.13/make_hash_ink.c:375:5: warning: If memory allocation fails, then there is a possible null pointer dereference: cur [nullPointerOutOfMemory] pnm2ppa-1.13/make_hash_ink.c:367:13: note: Assuming allocation function fails pnm2ppa-1.13/make_hash_ink.c:366:28: note: Assignment 'cur=(struct hash_ink*)malloc(sizeof(struct hash_ink))', assigned value is 0 pnm2ppa-1.13/make_hash_ink.c:375:5: note: Null pointer dereference pnm2ppa-1.13/make_hash_ink.c:376:5: warning: If memory allocation fails, then there is a possible null pointer dereference: cur [nullPointerOutOfMemory] pnm2ppa-1.13/make_hash_ink.c:367:13: note: Assuming allocation function fails pnm2ppa-1.13/make_hash_ink.c:366:28: note: Assignment 'cur=(struct hash_ink*)malloc(sizeof(struct hash_ink))', assigned value is 0 pnm2ppa-1.13/make_hash_ink.c:376:5: note: Null pointer dereference pnm2ppa-1.13/make_hash_ink.c:377:5: warning: If memory allocation fails, then there is a possible null pointer dereference: cur [nullPointerOutOfMemory] pnm2ppa-1.13/make_hash_ink.c:367:13: note: Assuming allocation function fails pnm2ppa-1.13/make_hash_ink.c:366:28: note: Assignment 'cur=(struct hash_ink*)malloc(sizeof(struct hash_ink))', assigned value is 0 pnm2ppa-1.13/make_hash_ink.c:377:5: note: Null pointer dereference pnm2ppa-1.13/make_hash_ink.c:378:5: warning: If memory allocation fails, then there is a possible null pointer dereference: cur [nullPointerOutOfMemory] pnm2ppa-1.13/make_hash_ink.c:367:13: note: Assuming allocation function fails pnm2ppa-1.13/make_hash_ink.c:366:28: note: Assignment 'cur=(struct hash_ink*)malloc(sizeof(struct hash_ink))', assigned value is 0 pnm2ppa-1.13/make_hash_ink.c:378:5: note: Null pointer dereference pnm2ppa-1.13/make_hash_ink.c:379:5: warning: If memory allocation fails, then there is a possible null pointer dereference: cur [nullPointerOutOfMemory] pnm2ppa-1.13/make_hash_ink.c:367:13: note: Assuming allocation function fails pnm2ppa-1.13/make_hash_ink.c:366:28: note: Assignment 'cur=(struct hash_ink*)malloc(sizeof(struct hash_ink))', assigned value is 0 pnm2ppa-1.13/make_hash_ink.c:379:5: note: Null pointer dereference pnm2ppa-1.13/make_hash_ink.c:366:22: style: Local variable 'cur' shadows outer variable [shadowVariable] pnm2ppa-1.13/make_hash_ink.c:192:48: note: Shadowed declaration pnm2ppa-1.13/make_hash_ink.c:366:22: note: Shadow variable pnm2ppa-1.13/make_hash_ink.c:55:28: style: Parameter 'hi' can be declared as pointer to const [constParameterPointer] pnm2ppa-1.13/make_hash_ink.c:186:22: style: Parameter 'argv' can be declared as const array [constParameter] pnm2ppa-1.13/make_hash_ink.c:191:14: style: Variable 'dmin' is assigned a value that is never used. [unreadVariable] pnm2ppa-1.13/make_hash_ink.c:191:25: style: Variable 'dmax' is assigned a value that is never used. [unreadVariable] pnm2ppa-1.13/make_hash_ink.c:241:18: style: Variable 'new_dmin' is assigned a value that is never used. [unreadVariable] pnm2ppa-1.13/make_hash_ink.c:276:19: style: Variable 'new_dmin' is assigned a value that is never used. [unreadVariable] pnm2ppa-1.13/pnm2ppa.c:365:32: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] pnm2ppa-1.13/pnmtools.c:91:15: style: Variable 'charmap' can be declared as const array [constVariable] pnm2ppa-1.13/ppa.c:249:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CRIT [valueFlowBailoutIncompleteVar] pnm2ppa-1.13/ppa.c:289:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CRIT [valueFlowBailoutIncompleteVar] pnm2ppa-1.13/ppa.c:315:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CRIT [valueFlowBailoutIncompleteVar] pnm2ppa-1.13/ppa.c:341:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CRIT [valueFlowBailoutIncompleteVar] pnm2ppa-1.13/ppa.c:533:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable left_to_right [valueFlowBailoutIncompleteVar] pnm2ppa-1.13/ppa.c:530:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pnm2ppa-1.13/ppa.c:544:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pnm2ppa-1.13/ppa.c:565:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pnm2ppa-1.13/ppa.c:613:3: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] pnm2ppa-1.13/ppa.c:617:3: note: Found duplicate branches for 'if' and 'else'. pnm2ppa-1.13/ppa.c:613:3: note: Found duplicate branches for 'if' and 'else'. pnm2ppa-1.13/ppa.c:50:56: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pnm2ppa-1.13/ppa.c:81:21: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pnm2ppa-1.13/ppa.c:128:29: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pnm2ppa-1.13/ppa.c:185:29: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pnm2ppa-1.13/ppa.c:524:19: style: Variable 'constants' can be declared as pointer to const [constVariablePointer] pnm2ppa-1.13/ppa_protocol/parse_vlink.c:65:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pnm2ppa-1.13/ppa_protocol/parse_vlink.c:116:12: warning: Either the condition '(f2=fopen("lastdata","wb"))==NULL' is redundant or there is possible null pointer dereference: f2. [nullPointerRedundantCheck] pnm2ppa-1.13/ppa_protocol/parse_vlink.c:107:40: note: Assuming that condition '(f2=fopen("lastdata","wb"))==NULL' is not redundant pnm2ppa-1.13/ppa_protocol/parse_vlink.c:116:12: note: Null pointer dereference pnm2ppa-1.13/ppa_protocol/parse_vlink.c:58:27: style: Parameter 'argv' can be declared as const array [constParameter] pnm2ppa-1.13/ppa_protocol/parse_vlink.c:11:9: style: Variable 'blank' is assigned a value that is never used. [unreadVariable] pnm2ppa-1.13/syslog.c:50:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] pnm2ppa-1.13/syslog.c:75:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_PERROR [valueFlowBailoutIncompleteVar] pnm2ppa-1.13/syslog.c:65:26: style: Parameter 'ident' can be declared as pointer to const [constParameterPointer] diff: DONE