2024-04-21 08:28 ftp://ftp.de.debian.org/debian/pool/main/p/pslib/pslib_0.4.7.orig.tar.gz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --inline-suppr --disable=missingInclude --suppress=unmatchedSuppression --template=daca2 --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.6.15-amd64-x86_64-with-glibc2.37 python: 3.11.8 client-version: 1.3.49 compiler: g++ (Debian 13.2.0-13) 13.2.0 cppcheck: head 2.14.0 head-info: ebf4cc2 (2024-04-21 09:34:26 +0200) count: 284 284 elapsed-time: 11.7 11.6 head-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 10.4836s (avg. 0.698907s - 15 result(s)) valueFlowCondition(SimpleConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 4.34395s (avg. 0.120665s - 36 result(s)) valueFlowAfterAssign(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 3.18896s (avg. 0.0885822s - 36 result(s)) valueFlowLifetime(tokenlist, errorLogger, settings): 0.931892s (avg. 0.0182724s - 51 result(s)) valueFlowUninit(tokenlist, errorLogger, settings): 0.90369s (avg. 0.0251025s - 36 result(s)) Overall time: 11.1023s old-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 10.2913s (avg. 0.686086s - 15 result(s)) valueFlowCondition(SimpleConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 4.25977s (avg. 0.118327s - 36 result(s)) valueFlowAfterAssign(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 3.13148s (avg. 0.0869854s - 36 result(s)) valueFlowLifetime(tokenlist, errorLogger, settings): 0.911819s (avg. 0.0178788s - 51 result(s)) valueFlowUninit(tokenlist, errorLogger, settings): 0.890327s (avg. 0.0247313s - 36 result(s)) Overall time: 10.8965s head results: pslib-0.4.7/src/bmp.c:308:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/bmp.c:141:11: style: struct member 'BMPCIEXYZ::iCIEX' is never used. [unusedStructMember] pslib-0.4.7/src/bmp.c:142:11: style: struct member 'BMPCIEXYZ::iCIEY' is never used. [unusedStructMember] pslib-0.4.7/src/bmp.c:143:11: style: struct member 'BMPCIEXYZ::iCIEZ' is never used. [unusedStructMember] pslib-0.4.7/src/bmp.c:149:15: style: struct member 'BMPCIEXYZTriple::iCIERed' is never used. [unusedStructMember] pslib-0.4.7/src/bmp.c:150:15: style: struct member 'BMPCIEXYZTriple::iCIEGreen' is never used. [unusedStructMember] pslib-0.4.7/src/bmp.c:151:13: style: struct member 'BMPCIEXYZTriple::iCIEBlue' is never used. [unusedStructMember] pslib-0.4.7/src/bmp.c:161:10: style: struct member 'BMPFileHeader::iReserved1' is never used. [unusedStructMember] pslib-0.4.7/src/bmp.c:162:10: style: struct member 'BMPFileHeader::iReserved2' is never used. [unusedStructMember] pslib-0.4.7/src/bmp.c:208:10: style: struct member 'BMPInfoHeader::iCSType' is never used. [unusedStructMember] pslib-0.4.7/src/bmp.c:209:19: style: struct member 'BMPInfoHeader::sEndpoints' is never used. [unusedStructMember] pslib-0.4.7/src/bmp.c:211:9: style: struct member 'BMPInfoHeader::iGammaRed' is never used. [unusedStructMember] pslib-0.4.7/src/bmp.c:216:9: style: struct member 'BMPInfoHeader::iGammaGreen' is never used. [unusedStructMember] pslib-0.4.7/src/bmp.c:217:9: style: struct member 'BMPInfoHeader::iGammaBlue' is never used. [unusedStructMember] pslib-0.4.7/src/bmp.c:234:14: style: struct member 'BMPColorEntry::bBlue' is never used. [unusedStructMember] pslib-0.4.7/src/bmp.c:235:14: style: struct member 'BMPColorEntry::bGreen' is never used. [unusedStructMember] pslib-0.4.7/src/bmp.c:236:14: style: struct member 'BMPColorEntry::bRed' is never used. [unusedStructMember] pslib-0.4.7/src/bmp.c:237:14: style: struct member 'BMPColorEntry::bReserved' is never used. [unusedStructMember] pslib-0.4.7/src/hash_functions.c:98:22: style: Variable 'p_end' can be declared as pointer to const [constVariablePointer] pslib-0.4.7/src/hash_table.c:204:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/hash_table.c:633:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/hash_table.c:72:31: style: Condition 'p_x' is always true [knownConditionTrueFalse] pslib-0.4.7/src/hash_table.c:88:11: style: Condition 'p_x' is always true [knownConditionTrueFalse] pslib-0.4.7/src/hash_table.c:130:24: style: Parameter 'p_key' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/hash_table.c:184:39: style: Parameter 'p_key_data' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/hash_table.c:235:44: style: Parameter 'data' can be declared as pointer to const. However it seems that 'ght_malloc' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pslib-0.4.7/src/hash_table.c:272:20: note: You might need to cast the function pointer here pslib-0.4.7/src/hash_table.c:235:44: note: Parameter 'data' can be declared as pointer to const pslib-0.4.7/src/hash_table.c:329:41: style: Parameter 'p_ht' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/hash_table.c:335:47: style: Parameter 'p_ht' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/hnjalloc.c:49:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/hnjalloc.c:61:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/hyphen.c:147:27: style: Parameter 'hashtab' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/ps_afm.c:120:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/ps_afm.c:151:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/ps_afm.c:312:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ps_false [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/ps_afm.c:327:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/ps_afm.c:395:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/ps_afm.c:543:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/ps_afm.c:648:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/ps_afm.c:923:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/ps_afm.c:1044:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/ps_afm.c:1111:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/ps_afm.c:1090:3: warning:inconclusive: The buffer 'buffer' may not be null-terminated after the call to strncpy(). [terminateStrncpy] pslib-0.4.7/src/ps_afm.c:1091:3: warning:inconclusive: The buffer 'obuffer' may not be null-terminated after the call to strncpy(). [terminateStrncpy] pslib-0.4.7/src/ps_afm.c:1047:24: style: Condition 'ignoreligkern==0' is always true [knownConditionTrueFalse] pslib-0.4.7/src/ps_afm.c:1167:24: style: Condition 'ignoreligkern==0' is always true [knownConditionTrueFalse] pslib-0.4.7/src/ps_afm.c:1175:21: style: Condition 'ignoreligkern==0' is always true [knownConditionTrueFalse] pslib-0.4.7/src/ps_afm.c:1053:11: warning: Either the condition 'param==NULL' is redundant or there is possible null pointer dereference: param. [nullPointerRedundantCheck] pslib-0.4.7/src/ps_afm.c:1042:16: note: Assuming that condition 'param==NULL' is not redundant pslib-0.4.7/src/ps_afm.c:1053:11: note: Null pointer dereference pslib-0.4.7/src/ps_afm.c:485:41: style:inconclusive: Function 'gfindadobe' argument 1 names different: declaration 'adobechars' definition 'gadobechars'. [funcArgNamesDifferent] pslib-0.4.7/src/ps_intern.h:486:41: note: Function 'gfindadobe' argument 1 names different: declaration 'adobechars' definition 'gadobechars'. pslib-0.4.7/src/ps_afm.c:485:41: note: Function 'gfindadobe' argument 1 names different: declaration 'adobechars' definition 'gadobechars'. pslib-0.4.7/src/ps_afm.c:119:25: style: Parameter 's' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/ps_afm.c:174:27: style: Parameter 's' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/ps_afm.c:237:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pslib-0.4.7/src/ps_afm.c:247:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pslib-0.4.7/src/ps_afm.c:310:25: style: Parameter 's' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/ps_afm.c:319:62: style: Parameter 'metric' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/ps_afm.c:389:8: style: Variable 'adobename' can be declared as pointer to const [constVariablePointer] pslib-0.4.7/src/ps_afm.c:417:45: style: Parameter 'succ' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/ps_afm.c:509:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pslib-0.4.7/src/ps_afm.c:532:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pslib-0.4.7/src/ps_afm.c:636:13: style: Variable 'ai' can be declared as pointer to const [constVariablePointer] pslib-0.4.7/src/ps_afm.c:812:55: style: Parameter 's' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/ps_afm.c:877:73: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/ps_afm.c:877:83: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/ps_error.c:10:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/ps_error.c:21:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ps_false [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/ps_list.c:49:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/ps_list.c:95:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/ps_memory.c:41:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_Warning [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/ps_memory.c:67:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] pslib-0.4.7/src/ps_memory.c:57:26: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/ps_memprof.c:61:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/ps_memprof.c:84:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/ps_memprof.c:101:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/ps_memprof.c:128:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/ps_memprof.c:64:9: warning: Either the condition 'i<15000' is redundant or the array 'memlist[15000]' is accessed at index 15000, which is out of bounds. [arrayIndexOutOfBoundsCond] pslib-0.4.7/src/ps_memprof.c:57:11: note: Assuming that condition 'i<15000' is not redundant pslib-0.4.7/src/ps_memprof.c:64:9: note: Array index out of bounds pslib-0.4.7/src/ps_memprof.c:65:9: warning: Either the condition 'i<15000' is redundant or the array 'memlist[15000]' is accessed at index 15000, which is out of bounds. [arrayIndexOutOfBoundsCond] pslib-0.4.7/src/ps_memprof.c:57:11: note: Assuming that condition 'i<15000' is not redundant pslib-0.4.7/src/ps_memprof.c:65:9: note: Array index out of bounds pslib-0.4.7/src/ps_memprof.c:87:9: warning: Either the condition 'i<15000' is redundant or the array 'memlist[15000]' is accessed at index 15000, which is out of bounds. [arrayIndexOutOfBoundsCond] pslib-0.4.7/src/ps_memprof.c:80:11: note: Assuming that condition 'i<15000' is not redundant pslib-0.4.7/src/ps_memprof.c:87:9: note: Array index out of bounds pslib-0.4.7/src/ps_memprof.c:88:19: warning: Either the condition 'i<15000' is redundant or the array 'memlist[15000]' is accessed at index 15000, which is out of bounds. [arrayIndexOutOfBoundsCond] pslib-0.4.7/src/ps_memprof.c:80:11: note: Assuming that condition 'i<15000' is not redundant pslib-0.4.7/src/ps_memprof.c:88:19: note: Array index out of bounds pslib-0.4.7/src/ps_memprof.c:90:9: warning: Either the condition 'i<15000' is redundant or the array 'memlist[15000]' is accessed at index 15000, which is out of bounds. [arrayIndexOutOfBoundsCond] pslib-0.4.7/src/ps_memprof.c:80:11: note: Assuming that condition 'i<15000' is not redundant pslib-0.4.7/src/ps_memprof.c:90:9: note: Array index out of bounds pslib-0.4.7/src/ps_memprof.c:91:14: warning: Either the condition 'i<15000' is redundant or the array 'memlist[15000]' is accessed at index 15000, which is out of bounds. [arrayIndexOutOfBoundsCond] pslib-0.4.7/src/ps_memprof.c:80:11: note: Assuming that condition 'i<15000' is not redundant pslib-0.4.7/src/ps_memprof.c:91:14: note: Array index out of bounds pslib-0.4.7/src/ps_memprof.c:84:3: warning: %X in format string (no. 1) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] pslib-0.4.7/src/ps_memprof.c:110:3: warning: %X in format string (no. 1) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] pslib-0.4.7/src/ps_memprof.c:128:4: warning: %X in format string (no. 2) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] pslib-0.4.7/src/ps_strbuf.c:72:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_IOError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/ps_strbuf.c:115:35: style: Parameter 'psdoc' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/ps_strbuf.c:115:53: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/ps_strbuf.c:123:30: style: Parameter 'psdoc' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/ps_strbuf.c:123:48: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/ps_strbuf.c:73:12: error: va_list 'ap' was opened but not closed by va_end(). [va_end_missing] pslib-0.4.7/src/ps_util.c:77:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_NUMERIC [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/ps_util.c:110:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/ps_util.c:122:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/ps_util.c:483:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_Warning [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/ps_util.c:503:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_MemoryError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/ps_util.c:529:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/ps_util.c:566:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_Warning [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/ps_util.c:583:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ps_true [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/ps_util.c:887:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ps_false [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/ps_util.c:797:29: style: Redundant condition: The condition '*optstrptr != '\0'' is redundant since '*optstrptr == ' '' is sufficient. [redundantCondition] pslib-0.4.7/src/ps_util.c:382:5: style: Condition 'ligs' is always true [knownConditionTrueFalse] pslib-0.4.7/src/ps_util.c:530:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pslib-0.4.7/src/ps_util.c:336:13: style: Variable 'ai' can be declared as pointer to const [constVariablePointer] pslib-0.4.7/src/ps_util.c:352:34: style: Parameter 'psdoc' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/ps_util.c:352:49: style: Parameter 'psfont' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/ps_util.c:669:44: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/ps_util.c:828:8: style: Variable 'strval' can be declared as pointer to const [constVariablePointer] pslib-0.4.7/src/ps_util.c:854:8: style: Variable 'strval' can be declared as pointer to const [constVariablePointer] pslib-0.4.7/src/ps_util.c:878:8: style: Variable 'strval' can be declared as pointer to const [constVariablePointer] pslib-0.4.7/src/pslib.c:97:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:191:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:215:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:233:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:251:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:269:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:368:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_Warning [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:370:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:371:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_Warning [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:373:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_Warning [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:375:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:376:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_Warning [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:378:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_Warning [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:380:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:381:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_Warning [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:383:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_Warning [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:385:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:386:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_Warning [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:388:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_Warning [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:390:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:391:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_Warning [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:393:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_Warning [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:395:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:396:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_Warning [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:446:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:488:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBPS_MAJOR_VERSION [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:497:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBPS_MINOR_VERSION [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:506:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBPS_MICRO_VERSION [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:546:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:605:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PSDoc [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:728:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:749:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_MemoryError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:1059:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBPS_DOTTED_VERSION [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:1082:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ps_true [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:1093:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ps_true [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:1101:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ps_true [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:1128:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_Warning [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:1254:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_Warning [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:1281:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_IOError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:1309:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ps_true [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:1352:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ps_true [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:1393:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:1523:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:1653:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:1732:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:1782:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:1934:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:1954:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:1975:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:1996:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:2061:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:2186:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:2393:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:2447:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:2911:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:2946:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:2967:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:2986:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3006:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3023:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3044:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3064:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3084:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3105:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3130:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3157:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3173:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3194:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3216:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3243:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3272:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3301:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3330:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3349:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3366:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3384:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3401:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3421:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3443:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3462:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3482:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3506:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3533:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3559:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3599:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3658:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3676:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3694:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3711:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3728:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3747:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3917:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:3971:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:4205:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:4234:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:4369:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:4406:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:4424:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:4581:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:5256:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:5507:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:5532:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:5588:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:5614:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:5678:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:5704:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:5749:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ps_false [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:5871:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:5961:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:5988:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:6032:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:6055:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:6096:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:6137:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:6157:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:6182:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:6202:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:6238:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:6258:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:6289:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:6325:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:6348:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:6404:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:6444:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_Warning [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:6487:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:6520:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:6547:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:6596:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:6639:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:6661:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:6709:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:6756:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_RuntimeError [valueFlowBailoutIncompleteVar] pslib-0.4.7/src/pslib.c:745:18: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] pslib-0.4.7/src/pslib.c:4136:24: style: Condition 'bb[posi]==(unsigned char)'\r'' is always true [knownConditionTrueFalse] pslib-0.4.7/src/pslib.c:4134:19: note: Assuming that condition 'bb[posi]!=(unsigned char)'\r'' is not redundant pslib-0.4.7/src/pslib.c:4136:24: note: Condition 'bb[posi]==(unsigned char)'\r'' is always true pslib-0.4.7/src/pslib.c:4622:3: error: Resource leak: fp [resourceLeak] pslib-0.4.7/src/pslib.c:4471:16: style: Local variable 'width' shadows outer argument [shadowArgument] pslib-0.4.7/src/pslib.c:4418:102: note: Shadowed declaration pslib-0.4.7/src/pslib.c:4471:16: note: Shadow variable pslib-0.4.7/src/pslib.c:4471:23: style: Local variable 'height' shadows outer argument [shadowArgument] pslib-0.4.7/src/pslib.c:4418:113: note: Shadowed declaration pslib-0.4.7/src/pslib.c:4471:23: note: Shadow variable pslib-0.4.7/src/pslib.c:4541:9: style: Local variable 'j' shadows outer variable [shadowVariable] pslib-0.4.7/src/pslib.c:4531:20: note: Shadowed declaration pslib-0.4.7/src/pslib.c:4541:9: note: Shadow variable pslib-0.4.7/src/pslib.c:5219:9: style: Local variable 'j' shadows outer variable [shadowVariable] pslib-0.4.7/src/pslib.c:5209:20: note: Shadowed declaration pslib-0.4.7/src/pslib.c:5219:9: note: Shadow variable pslib-0.4.7/src/pslib.c:5361:10: style: Local variable 'i' shadows outer variable [shadowVariable] pslib-0.4.7/src/pslib.c:5311:7: note: Shadowed declaration pslib-0.4.7/src/pslib.c:5361:10: note: Shadow variable pslib-0.4.7/src/pslib.c:77:35: style: Parameter 'data' can be declared as pointer to const. However it seems that 'ps_writeproc_file' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pslib-0.4.7/src/pslib.c:1259:21: note: You might need to cast the function pointer here pslib-0.4.7/src/pslib.c:77:35: note: Parameter 'data' can be declared as pointer to const pslib-0.4.7/src/pslib.c:87:37: style: Parameter 'data' can be declared as pointer to const. However it seems that 'ps_writeproc_buffer' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pslib-0.4.7/src/pslib.c:1303:18: note: You might need to cast the function pointer here pslib-0.4.7/src/pslib.c:87:37: note: Parameter 'data' can be declared as pointer to const pslib-0.4.7/src/pslib.c:369:1: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/pslib.c:370:1: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/pslib.c:374:1: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/pslib.c:375:1: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/pslib.c:379:1: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/pslib.c:380:1: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/pslib.c:384:1: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/pslib.c:385:1: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/pslib.c:389:1: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/pslib.c:390:1: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/pslib.c:394:1: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/pslib.c:395:1: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] pslib-0.4.7/src/pslib.c:739:13: style: Variable 'ps_local_tm' can be declared as pointer to const [constVariablePointer] pslib-0.4.7/src/pslib.c:1737:14: style: Variable 'ai' can be declared as pointer to const [constVariablePointer] pslib-0.4.7/src/pslib.c:1806:12: style: Variable 'psimage' can be declared as pointer to const [constVariablePointer] pslib-0.4.7/src/pslib.c:1811:12: style: Variable 'psimage' can be declared as pointer to const [constVariablePointer] pslib-0.4.7/src/pslib.c:1900:14: style: Variable 'ai' can be declared as pointer to const [constVariablePointer] pslib-0.4.7/src/pslib.c:2430:56: style: Variable 'linecounter' can be declared as pointer to const [constVariablePointer] pslib-0.4.7/src/pslib.c:2805:19: style: Variable 'ai' can be declared as pointer to const [constVariablePointer] pslib-0.4.7/src/pslib.c:3596:8: style: Variable 'optvalue' can be declared as pointer to const [constVariablePointer] pslib-0.4.7/src/pslib.c:3814:14: style: Variable 'pspattern' can be declared as pointer to const [constVariablePointer] pslib-0.4.7/src/pslib.c:3823:16: style: Variable 'spotcolor' can be declared as pointer to const [constVariablePointer] pslib-0.4.7/src/pslib.c:6484:13: style: Variable 'ai' can be declared as pointer to const [constVariablePointer] pslib-0.4.7/src/pslib.c:6517:13: style: Variable 'ai' can be declared as pointer to const [constVariablePointer] pslib-0.4.7/src/pslib.c:6543:13: style: Variable 'ai' can be declared as pointer to const [constVariablePointer] pslib-0.4.7/src/pslib.c:6657:13: style: Variable 'ai' can be declared as pointer to const [constVariablePointer] pslib-0.4.7/src/pslib.c:5107:20: 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] pslib-0.4.7/src/pslib.c:5130:20: 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] pslib-0.4.7/src/pslib.c:2321:6: style: Variable 'k' is assigned a value that is never used. [unreadVariable] pslib-0.4.7/src/pslib.c:2525:12: style: Variable 'firstword' is assigned a value that is never used. [unreadVariable] pslib-0.4.7/src/pslib.c:4116:12: style: Variable 'ts' is assigned a value that is never used. [unreadVariable] pslib-0.4.7/src/pslib.c:4175:11: style: Variable 'cxxc' is assigned a value that is never used. [unreadVariable] pslib-0.4.7/src/pslib.c:4531:20: style: Unused variable: j [unusedVariable] pslib-0.4.7/src/pslib.c:5209:20: style: Unused variable: j [unusedVariable] pslib-0.4.7/src/pslib.c:5869:12: style: Variable 'buffer[0]' is assigned a value that is never used. [unreadVariable] diff: DONE