2025-06-27 00:02 ftp://ftp.de.debian.org/debian/pool/main/e/epstool/epstool_3.09.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --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: 4780cd2 (2025-06-26 14:24:42 +0200) count: 340 339 elapsed-time: 48.9 48.8 head-timing-info: old-timing-info: head results: epstool-3.09/src/capp.c:215:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCHAR [valueFlowBailoutIncompleteVar] epstool-3.09/src/capp.c:315:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCHAR [valueFlowBailoutIncompleteVar] epstool-3.09/src/capp.c:451:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZLIBNAME [valueFlowBailoutIncompleteVar] epstool-3.09/src/capp.c:539:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BZIP2NAME [valueFlowBailoutIncompleteVar] epstool-3.09/src/capp.c:624:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCHAR [valueFlowBailoutIncompleteVar] epstool-3.09/src/capp.c:669:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCHAR [valueFlowBailoutIncompleteVar] epstool-3.09/src/capp.c:721:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCHAR [valueFlowBailoutIncompleteVar] epstool-3.09/src/capp.c:262:5: warning:inconclusive: The buffer 'buf' may not be null-terminated after the call to strncpy(). [terminateStrncpy] epstool-3.09/src/capp.c:655:5: warning: Return value of function mktemp() is not used. [ignoredReturnValue] epstool-3.09/src/capp.c:700:5: warning: Return value of function mktemp() is not used. [ignoredReturnValue] epstool-3.09/src/capp.c:655:5: warning: Obsolete function 'mktemp' called. It is recommended to use 'mkstemp' or 'mkdtemp' instead. [prohibitedmktempCalled] epstool-3.09/src/capp.c:700:5: warning: Obsolete function 'mktemp' called. It is recommended to use 'mkstemp' or 'mkdtemp' instead. [prohibitedmktempCalled] epstool-3.09/src/capp.c:457:11: style: Expression is always true because 'else if' condition is opposite to previous condition at line 453. [multiCondition] epstool-3.09/src/capp.c:453:14: note: first condition epstool-3.09/src/capp.c:457:11: note: else if condition is opposite to first condition epstool-3.09/src/capp.c:545:11: style: Expression is always true because 'else if' condition is opposite to previous condition at line 541. [multiCondition] epstool-3.09/src/capp.c:541:14: note: first condition epstool-3.09/src/capp.c:545:11: note: else if condition is opposite to first condition epstool-3.09/src/capp.c:72:25: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/capp.c:351:40: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/capp.c:620:12: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/capp.c:665:12: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/capp.c:721:5: warning: Division by result of sizeof(). strncpy() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] epstool-3.09/src/cbmp.c:269:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BI_BITFIELDS [valueFlowBailoutIncompleteVar] epstool-3.09/src/cbmp.c:826:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BI_BITFIELDS [valueFlowBailoutIncompleteVar] epstool-3.09/src/cbmp.c:973:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BI_BITFIELDS [valueFlowBailoutIncompleteVar] epstool-3.09/src/cbmp.c:1127:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WORD [valueFlowBailoutIncompleteVar] epstool-3.09/src/cbmp.c:642:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] epstool-3.09/src/cbmp.c:645:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] epstool-3.09/src/cbmp.c:1419:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] epstool-3.09/src/cbmp.c:632:10: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] epstool-3.09/src/cbmp.c:631:20: note: outer condition: !code epstool-3.09/src/cbmp.c:632:10: note: identical inner condition: !code epstool-3.09/src/cbmp.c:1391:24: style: The if condition is the same as the previous if condition [duplicateCondition] epstool-3.09/src/cbmp.c:1379:24: note: First condition epstool-3.09/src/cbmp.c:1391:24: note: Second condition epstool-3.09/src/cbmp.c:425:13: style: Condition 'x&0' is always false [knownConditionTrueFalse] epstool-3.09/src/cbmp.c:652:14: warning: %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] epstool-3.09/src/cbmp.c:656:14: warning: %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] epstool-3.09/src/cbmp.c:660:14: warning: %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] epstool-3.09/src/cbmp.c:664:14: warning: %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] epstool-3.09/src/cbmp.c:695:13: warning: %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] epstool-3.09/src/cbmp.c:695:13: warning: %u in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] epstool-3.09/src/cbmp.c:704:10: warning: %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] epstool-3.09/src/cbmp.c:1591:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] epstool-3.09/src/cbmp.c:1591:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] epstool-3.09/src/cbmp.c:350:71: style: Same expression 'DISPLAY_ALPHA_NONE' found multiple times in chain of '|' operators because 'DISPLAY_ALPHA_NONE' and 'DISPLAY_NATIVE_555' represent the same value. [duplicateExpression] epstool-3.09/src/cbmp.c:357:71: style: Same expression 'DISPLAY_ALPHA_NONE' found multiple times in chain of '|' operators because 'DISPLAY_ALPHA_NONE' and 'DISPLAY_NATIVE_555' represent the same value. [duplicateExpression] epstool-3.09/src/cbmp.c:714:21: style: Same expression 'DISPLAY_ALPHA_NONE' found multiple times in chain of '|' operators because 'DISPLAY_ALPHA_NONE' and 'DISPLAY_BIGENDIAN' represent the same value. [duplicateExpression] epstool-3.09/src/cbmp.c:714:41: style: Same expression on both sides of '|' because 'DISPLAY_TOPFIRST' and 'DISPLAY_BIGENDIAN' represent the same value. [duplicateExpression] epstool-3.09/src/cbmp.c:719:21: style: Same expression 'DISPLAY_ALPHA_NONE' found multiple times in chain of '|' operators because 'DISPLAY_ALPHA_NONE' and 'DISPLAY_BIGENDIAN' represent the same value. [duplicateExpression] epstool-3.09/src/cbmp.c:719:41: style: Same expression on both sides of '|' because 'DISPLAY_TOPFIRST' and 'DISPLAY_BIGENDIAN' represent the same value. [duplicateExpression] epstool-3.09/src/cbmp.c:724:21: style: Same expression 'DISPLAY_ALPHA_NONE' found multiple times in chain of '|' operators because 'DISPLAY_ALPHA_NONE' and 'DISPLAY_BIGENDIAN' represent the same value. [duplicateExpression] epstool-3.09/src/cbmp.c:724:41: style: Same expression on both sides of '|' because 'DISPLAY_TOPFIRST' and 'DISPLAY_BIGENDIAN' represent the same value. [duplicateExpression] epstool-3.09/src/cbmp.c:729:21: style: Same expression 'DISPLAY_ALPHA_NONE' found multiple times in chain of '|' operators because 'DISPLAY_ALPHA_NONE' and 'DISPLAY_BIGENDIAN' represent the same value. [duplicateExpression] epstool-3.09/src/cbmp.c:729:41: style: Same expression on both sides of '|' because 'DISPLAY_TOPFIRST' and 'DISPLAY_BIGENDIAN' represent the same value. [duplicateExpression] epstool-3.09/src/cbmp.c:184:21: style: Variable 'bmf.bfReserved1' is reassigned a value before the old one has been used. [redundantAssignment] epstool-3.09/src/cbmp.c:183:21: note: bmf.bfReserved1 is assigned epstool-3.09/src/cbmp.c:184:21: note: bmf.bfReserved1 is overwritten epstool-3.09/src/cbmp.c:925:16: style: Variable 'pallength' is reassigned a value before the old one has been used. [redundantAssignment] epstool-3.09/src/cbmp.c:922:16: note: pallength is assigned epstool-3.09/src/cbmp.c:925:16: note: pallength is overwritten epstool-3.09/src/cbmp.c:582:11: style: Variable 't2' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/cbmp.c:783:23: style: Parameter 'img' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/cbmp.c:1414:13: style: Variable 'dt' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/cbmp.c:1638:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/cbmp.c:2144:25: style: Parameter 'img' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/cbmp.c:181:16: style: Variable 'bmf.bfType' is assigned a value that is never used. [unreadVariable] epstool-3.09/src/cbmp.c:184:21: style: Variable 'bmf.bfReserved1' is assigned a value that is never used. [unreadVariable] epstool-3.09/src/cbmp.c:185:19: style: Variable 'bmf.bfOffBits' is assigned a value that is never used. [unreadVariable] epstool-3.09/src/cbmp.c:194:11: style: Variable 'count' is assigned a value that is never used. [unreadVariable] epstool-3.09/src/cbmp.c:248:22: style: Variable 'bmp2.biSizeImage' is assigned a value that is never used. [unreadVariable] epstool-3.09/src/cbmp.c:250:26: style: Variable 'bmp2.biXPelsPerMeter' is assigned a value that is never used. [unreadVariable] epstool-3.09/src/cbmp.c:252:26: style: Variable 'bmp2.biYPelsPerMeter' is assigned a value that is never used. [unreadVariable] epstool-3.09/src/cbmp.c:256:25: style: Variable 'bmp2.biClrImportant' is assigned a value that is never used. [unreadVariable] epstool-3.09/src/cbmp.c:481:14: style: Variable 'mask' is assigned a value that is never used. [unreadVariable] epstool-3.09/src/cbmp.c:918:16: style: Variable 'pallength' is assigned a value that is never used. [unreadVariable] epstool-3.09/src/cbmp.c:925:16: style: Variable 'pallength' is assigned a value that is never used. [unreadVariable] epstool-3.09/src/cbmp.c:1508:10: style: Variable 'code' is assigned a value that is never used. [unreadVariable] epstool-3.09/src/cdoc.c:239:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCHAR [valueFlowBailoutIncompleteVar] epstool-3.09/src/cdoc.c:359:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCHAR [valueFlowBailoutIncompleteVar] epstool-3.09/src/cdoc.c:434:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCHAR [valueFlowBailoutIncompleteVar] epstool-3.09/src/cdoc.c:469:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCHAR [valueFlowBailoutIncompleteVar] epstool-3.09/src/cdoc.c:801:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCHAR [valueFlowBailoutIncompleteVar] epstool-3.09/src/cdoc.c:867:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCHAR [valueFlowBailoutIncompleteVar] epstool-3.09/src/cdoc.c:879:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCHAR [valueFlowBailoutIncompleteVar] epstool-3.09/src/cdoc.c:593:16: style: Condition 'count-i>=10' is always false [knownConditionTrueFalse] epstool-3.09/src/cdoc.c:590:12: note: Assuming that condition 'i=10' is always false epstool-3.09/src/cdoc.c:596:21: style: Condition 'count-i>=5' is always false [knownConditionTrueFalse] epstool-3.09/src/cdoc.c:590:12: note: Assuming that condition 'i=5' is always false epstool-3.09/src/cdoc.c:599:21: style: Condition 'count-i>=3' is always false [knownConditionTrueFalse] epstool-3.09/src/cdoc.c:590:12: note: Assuming that condition 'i=3' is always false epstool-3.09/src/cdoc.c:329:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] epstool-3.09/src/cdoc.c:980:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] epstool-3.09/src/cdoc.c:366:12: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] epstool-3.09/src/cdoc.c:365:24: note: Assuming allocation function fails epstool-3.09/src/cdoc.c:365:9: note: Assignment 'p=(TCHAR*)malloc(4096*sizeof(TCHAR))', assigned value is 0 epstool-3.09/src/cdoc.c:366:12: note: Null pointer dereference epstool-3.09/src/cdoc.c:165:14: style:inconclusive: Function 'doc_app' argument 1 names different: declaration 'd' definition 'doc'. [funcArgNamesDifferent] epstool-3.09/src/cdoc.h:48:23: note: Function 'doc_app' argument 1 names different: declaration 'd' definition 'doc'. epstool-3.09/src/cdoc.c:165:14: note: Function 'doc_app' argument 1 names different: declaration 'd' definition 'doc'. epstool-3.09/src/cdoc.c:371:6: style: Local variable 'len' shadows outer variable [shadowVariable] epstool-3.09/src/cdoc.c:300:9: note: Shadowed declaration epstool-3.09/src/cdoc.c:371:6: note: Shadow variable epstool-3.09/src/cdoc.c:93:7: style: Variable 'str' can be declared as const array [constVariable] epstool-3.09/src/cdoc.c:110:11: style: Variable 'str' can be declared as const array [constVariable] epstool-3.09/src/cdoc.c:165:14: style: Parameter 'doc' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/cdoc.c:247:15: style: Parameter 'doc' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/cdoc.c:620:7: style: Variable 'dsc' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/cdoc.c:875:11: style: Variable 'dsc' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/cdoc.c:239:5: warning: Division by result of sizeof(). strncpy() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] epstool-3.09/src/cdoc.c:867:12: warning: Division by result of sizeof(). strncat() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] epstool-3.09/src/cdoc.c:879:2: warning: Division by result of sizeof(). strncpy() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] epstool-3.09/src/cdoc.c:935:6: warning: Division by result of sizeof(). strncpy() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] epstool-3.09/src/cdoc.c:942:6: warning: Division by result of sizeof(). strncpy() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] epstool-3.09/src/cdoc.c:979:2: warning: Division by result of sizeof(). strncpy() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] epstool-3.09/src/cdoc.c:982:2: warning: Division by result of sizeof(). strncpy() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] epstool-3.09/src/cdoc.c:990:2: warning: Division by result of sizeof(). strncpy() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] epstool-3.09/src/ceps.c:461:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCHAR [valueFlowBailoutIncompleteVar] epstool-3.09/src/ceps.c:615:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOLSTR [valueFlowBailoutIncompleteVar] epstool-3.09/src/ceps.c:791:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCHAR [valueFlowBailoutIncompleteVar] epstool-3.09/src/ceps.c:2094:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCHAR [valueFlowBailoutIncompleteVar] epstool-3.09/src/ceps.c:2222:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCHAR [valueFlowBailoutIncompleteVar] epstool-3.09/src/ceps.c:1983:11: style: The if condition is the same as the previous if condition [duplicateCondition] epstool-3.09/src/ceps.c:1974:11: note: First condition epstool-3.09/src/ceps.c:1983:11: note: Second condition epstool-3.09/src/ceps.c:654:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] epstool-3.09/src/ceps.c:654:5: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] epstool-3.09/src/ceps.c:654:5: warning: %u in format string (no. 4) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] epstool-3.09/src/ceps.c:666:9: warning: If memory allocation fails, then there is a possible null pointer dereference: preview [nullPointerOutOfMemory] epstool-3.09/src/ceps.c:650:39: note: Assuming allocation function fails epstool-3.09/src/ceps.c:650:15: note: Assignment 'preview=(unsigned char*)malloc(preview_width)', assigned value is 0 epstool-3.09/src/ceps.c:666:9: note: Null pointer dereference epstool-3.09/src/ceps.c:293:19: style: Variable 'mfh.bbox.bottom' is reassigned a value before the old one has been used. [redundantAssignment] epstool-3.09/src/ceps.c:291:19: note: mfh.bbox.bottom is assigned epstool-3.09/src/ceps.c:293:19: note: mfh.bbox.bottom is overwritten epstool-3.09/src/ceps.c:1916:17: style: Variable 'file_offset' is reassigned a value before the old one has been used. [redundantAssignment] epstool-3.09/src/ceps.c:1885:14: note: file_offset is assigned epstool-3.09/src/ceps.c:1916:17: note: file_offset is overwritten epstool-3.09/src/ceps.c:2102:10: style: Variable 'code' is reassigned a value before the old one has been used. [redundantAssignment] epstool-3.09/src/ceps.c:2088:10: note: code is assigned epstool-3.09/src/ceps.c:2102:10: note: code is overwritten epstool-3.09/src/ceps.c:2200:7: style: Redundant initialization for 'type'. The initialized value is overwritten before it is read. [redundantInitialization] epstool-3.09/src/ceps.c:2195:20: note: type is initialized epstool-3.09/src/ceps.c:2200:7: note: type is overwritten epstool-3.09/src/ceps.c:2200:2: style: Variable 'type' is assigned an expression that holds the same value. [redundantAssignment] epstool-3.09/src/ceps.c:2195:20: note: type is assigned 'mac_type' here. epstool-3.09/src/ceps.c:2200:2: note: Variable 'type' is assigned an expression that holds the same value. epstool-3.09/src/ceps.c:2184:62: style:inconclusive: Function 'make_eps_pict' argument 7 names different: declaration 'type' definition 'mac_type'. [funcArgNamesDifferent] epstool-3.09/src/ceps.h:31:39: note: Function 'make_eps_pict' argument 7 names different: declaration 'type' definition 'mac_type'. epstool-3.09/src/ceps.c:2184:62: note: Function 'make_eps_pict' argument 7 names different: declaration 'type' definition 'mac_type'. epstool-3.09/src/ceps.c:615:17: style: Local variable 'eol_str' shadows outer variable [shadowVariable] epstool-3.09/src/ceps.c:1243:19: note: Shadowed declaration epstool-3.09/src/ceps.c:615:17: note: Shadow variable epstool-3.09/src/ceps.c:1549:19: style: Local variable 'fname' shadows outer variable [shadowVariable] epstool-3.09/src/ceps.c:1508:14: note: Shadowed declaration epstool-3.09/src/ceps.c:1549:19: note: Shadow variable epstool-3.09/src/ceps.c:78:19: style: Variable 'doseps_id' can be declared as const array [constVariable] epstool-3.09/src/ceps.c:124:25: style: Parameter 'img' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/ceps.c:147:26: style: Parameter 'img' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/ceps.c:281:22: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/ceps.c:452:7: style: Variable 'dsc' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/ceps.c:1186:15: style: Parameter 'bbox' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/ceps.c:1186:32: style: Parameter 'hiresbbox' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/ceps.c:1642:11: style: Variable 'dsc1' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/ceps.c:1643:11: style: Variable 'dsc2' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/ceps.c:1945:11: style: Variable 'dsc' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/ceps.c:2023:11: style: Variable 'dsc' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/ceps.c:1601:10: style: Variable 'len' is assigned a value that is never used. [unreadVariable] epstool-3.09/src/ceps.c:2161:10: style: Variable 'code' is assigned a value that is never used. [unreadVariable] epstool-3.09/src/cfile.c:110:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] epstool-3.09/src/cfile.c:83:32: style: Parameter 'hFile' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/cimg.c:1696:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BYTE [valueFlowBailoutIncompleteVar] epstool-3.09/src/cimg.c:1953:6: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] epstool-3.09/src/cimg.c:1959:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] epstool-3.09/src/cimg.c:1961:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] epstool-3.09/src/cimg.c:1973:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] epstool-3.09/src/cimg.c:1973:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] epstool-3.09/src/cimg.c:2107:23: warning: Either the condition 'img==NULL' is redundant or there is possible null pointer dereference: img. [nullPointerRedundantCheck] epstool-3.09/src/cimg.c:2111:14: note: Assuming that condition 'img==NULL' is not redundant epstool-3.09/src/cimg.c:2107:23: note: Null pointer dereference epstool-3.09/src/cimg.c:2108:24: warning: Either the condition 'img==NULL' is redundant or there is possible null pointer dereference: img. [nullPointerRedundantCheck] epstool-3.09/src/cimg.c:2111:14: note: Assuming that condition 'img==NULL' is not redundant epstool-3.09/src/cimg.c:2108:24: note: Null pointer dereference epstool-3.09/src/cimg.c:85:71: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/cimg.c:215:23: style: Parameter 'img' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/cimg.c:430:69: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/cimg.c:446:69: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/cimg.c:465:69: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/cimg.c:476:71: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/cimg.c:492:71: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/cimg.c:510:23: style: Parameter 'img' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/cimg.c:613:69: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/cimg.c:627:69: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/cimg.c:643:71: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/cimg.c:657:71: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/cimg.c:676:71: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/cimg.c:795:22: style: Parameter 'img' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/cimg.c:998:20: style: Parameter 'img' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/cimg.c:1140:25: style: Parameter 'img' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/cimg.c:1140:37: style: Parameter 'layer' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/cimg.c:1146:20: style: Variable 'layer_row' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/cimg.c:1213:44: style: Parameter 'oldimg' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/cimg.c:1225:20: style: Variable 'row_in' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/clfile.c:131:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] epstool-3.09/src/clfile.c:62:20: style: Parameter 'gf' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/clfile.c:69:34: style: Parameter 'gf' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/clfile.c:94:31: style: Parameter 'gf' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/clfile.c:229:36: style: Parameter 'gf' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/clfile.c:235:10: style: Variable 'code' is assigned a value that is never used. [unreadVariable] epstool-3.09/src/clzw.c:94:28: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/clzw.c:132:18: style: Variable 'bytes_in' is assigned a value that is never used. [unreadVariable] epstool-3.09/src/clzw.c:133:19: style: Variable 'bytes_out' is assigned a value that is never used. [unreadVariable] epstool-3.09/src/cmac.c:272:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] epstool-3.09/src/cmac.c:793:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] epstool-3.09/src/cmac.c:445:38: style: Parameter 'mac' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/cmac.c:457:38: style: Parameter 'mac' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/cmac.c:244:26: style: Variable 'preview_length' is assigned a value that is never used. [unreadVariable] epstool-3.09/src/cmbcs.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] epstool-3.09/src/cmbcs.c:64:15: style: Redundant condition: The condition 't[i]' is redundant since 't[i] >= 0x80' is sufficient. [redundantCondition] epstool-3.09/src/cmbcs.c:58:21: style: Condition 't[0]>0' is always true [knownConditionTrueFalse] epstool-3.09/src/cmbcs.c:56:15: note: Assuming that condition 't[0]==0' is not redundant epstool-3.09/src/cmbcs.c:58:21: note: Condition 't[0]>0' is always true epstool-3.09/src/cmbcs.c:91:21: style: Condition 't[0]>0' is always true [knownConditionTrueFalse] epstool-3.09/src/cmbcs.c:88:15: note: Assuming that condition 't[0]==0' is not redundant epstool-3.09/src/cmbcs.c:91:21: note: Condition 't[0]>0' is always true epstool-3.09/src/cmbcs.c:89:5: style: Variable 'i' is reassigned a value before the old one has been used. 'break;' missing? [redundantAssignInSwitch] epstool-3.09/src/cmbcs.c:72:9: note: $symbol is assigned epstool-3.09/src/cmbcs.c:89:5: note: $symbol is overwritten epstool-3.09/src/cmbcs.c:89:5: style: Variable 'i' is reassigned a value before the old one has been used. 'break;' missing? [redundantAssignInSwitch] epstool-3.09/src/cmbcs.c:74:9: note: $symbol is assigned epstool-3.09/src/cmbcs.c:89:5: note: $symbol is overwritten epstool-3.09/src/cmbcs.c:89:5: style: Variable 'i' is reassigned a value before the old one has been used. 'break;' missing? [redundantAssignInSwitch] epstool-3.09/src/cmbcs.c:76:9: note: $symbol is assigned epstool-3.09/src/cmbcs.c:89:5: note: $symbol is overwritten epstool-3.09/src/cmbcs.c:89:5: style: Variable 'i' is reassigned a value before the old one has been used. 'break;' missing? [redundantAssignInSwitch] epstool-3.09/src/cmbcs.c:81:9: note: $symbol is assigned epstool-3.09/src/cmbcs.c:89:5: note: $symbol is overwritten epstool-3.09/src/cmbcs.c:89:5: style: Variable 'i' is reassigned a value before the old one has been used. 'break;' missing? [redundantAssignInSwitch] epstool-3.09/src/cmbcs.c:83:9: note: $symbol is assigned epstool-3.09/src/cmbcs.c:89:5: note: $symbol is overwritten epstool-3.09/src/cmbcs.c:89:5: style: Variable 'i' is reassigned a value before the old one has been used. 'break;' missing? [redundantAssignInSwitch] epstool-3.09/src/cmbcs.c:86:5: note: $symbol is assigned epstool-3.09/src/cmbcs.c:89:5: note: $symbol is overwritten epstool-3.09/src/cmbcs.c:166:2: style: Variable 'p' is assigned an expression that holds the same value. [redundantAssignment] epstool-3.09/src/cmbcs.c:160:19: note: p is assigned 'str' here. epstool-3.09/src/cmbcs.c:166:2: note: Variable 'p' is assigned an expression that holds the same value. epstool-3.09/src/cpdfscan.c:191:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] epstool-3.09/src/cpdfscan.c:1064:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCHAR [valueFlowBailoutIncompleteVar] epstool-3.09/src/cpdfscan.c:1315:11: style: The if condition is the same as the previous if condition [duplicateCondition] epstool-3.09/src/cpdfscan.c:1312:11: note: First condition epstool-3.09/src/cpdfscan.c:1315:11: note: Second condition epstool-3.09/src/cpdfscan.c:980:27: style: Condition 'type==optype' is always true [knownConditionTrueFalse] epstool-3.09/src/cpdfscan.c:967:9: note: Assignment 'type=optype', assigned value is 10 epstool-3.09/src/cpdfscan.c:969:27: note: Assuming condition is false epstool-3.09/src/cpdfscan.c:980:27: note: Condition 'type==optype' is always true epstool-3.09/src/cpdfscan.c:193:4: warning: Either the condition 'ps!=NULL' is redundant or there is possible null pointer dereference: ps. [nullPointerRedundantCheck] epstool-3.09/src/cpdfscan.c:190:12: note: Assuming that condition 'ps!=NULL' is not redundant epstool-3.09/src/cpdfscan.c:193:4: note: Null pointer dereference epstool-3.09/src/cpdfscan.c:193:18: warning: Either the condition 'ps!=NULL' is redundant or there is possible null pointer dereference: ps. [nullPointerRedundantCheck] epstool-3.09/src/cpdfscan.c:190:12: note: Assuming that condition 'ps!=NULL' is not redundant epstool-3.09/src/cpdfscan.c:193:18: note: Null pointer dereference epstool-3.09/src/cpdfscan.c:269:33: style: Parameter 'ps' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/cpdfscan.c:415:33: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/cpdfscan.c:431:10: style: Variable 'r' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/cpdfscan.c:1738:30: style: Parameter 'ps' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/cpdfscan.c:104:8: style: union member 'value_u::opval' is never used. [unusedStructMember] epstool-3.09/src/cprofile.c:100:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCHAR [valueFlowBailoutIncompleteVar] epstool-3.09/src/cprofile.c:153:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] epstool-3.09/src/cprofile.c:291:9: style: Variable 'ps' is assigned a value that is never used. [unreadVariable] epstool-3.09/src/cps.c:318:14: style: Variable 'position' is reassigned a value before the old one has been used. [redundantAssignment] epstool-3.09/src/cps.c:296:15: note: position is assigned epstool-3.09/src/cps.c:318:14: note: position is overwritten epstool-3.09/src/cps.c:178:15: style: Parameter 'pagelist' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/cps.c:191:11: style: Variable 'dsc' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/cps.c:350:11: style: Variable 'dsc' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/dscparse.c:1131:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] epstool-3.09/src/dscparse.c:1132:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] epstool-3.09/src/dscparse.c:1133:21: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] epstool-3.09/src/dscparse.c:1111:33: style: Condition 'dsc->line_length' is always true [knownConditionTrueFalse] epstool-3.09/src/dscparse.c:1106:26: note: Assuming that condition 'dsc->line_length==0' is not redundant epstool-3.09/src/dscparse.c:1111:33: note: Condition 'dsc->line_length' is always true epstool-3.09/src/dscparse.c:1153:11: style: Condition 'bytesorlines' is always true [knownConditionTrueFalse] epstool-3.09/src/dscparse.c:2757:9: style: Condition '!rc' is always true [knownConditionTrueFalse] epstool-3.09/src/dscparse.c:2751:14: note: Assignment 'rc=0', assigned value is 0 epstool-3.09/src/dscparse.c:2757:9: note: Condition '!rc' is always true epstool-3.09/src/dscparse.c:612:6: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] epstool-3.09/src/dscparse.c:1214:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] epstool-3.09/src/dscparse.c:1962:14: style: Variable 'lmedia.name' is reassigned a value before the old one has been used. [redundantAssignment] epstool-3.09/src/dscparse.c:1959:14: note: lmedia.name is assigned epstool-3.09/src/dscparse.c:1962:14: note: lmedia.name is overwritten epstool-3.09/src/dscparse.c:4501:11: style: Variable 'cyan' is reassigned a value before the old one has been used. [redundantAssignment] epstool-3.09/src/dscparse.c:4500:11: note: cyan is assigned epstool-3.09/src/dscparse.c:4501:11: note: cyan is overwritten epstool-3.09/src/dscparse.c:4577:10: style: Variable 'red' is reassigned a value before the old one has been used. [redundantAssignment] epstool-3.09/src/dscparse.c:4576:10: note: red is assigned epstool-3.09/src/dscparse.c:4577:10: note: red is overwritten epstool-3.09/src/dscparse.c:318:48: style:inconclusive: Function 'dsc_scan_data' argument 3 names different: declaration 'len' definition 'length'. [funcArgNamesDifferent] epstool-3.09/src/dscparse.h:542:52: note: Function 'dsc_scan_data' argument 3 names different: declaration 'len' definition 'length'. epstool-3.09/src/dscparse.c:318:48: note: Function 'dsc_scan_data' argument 3 names different: declaration 'len' definition 'length'. epstool-3.09/src/dscparse.c:1665:53: style:inconclusive: Function 'dsc_parse_float_bounding_box' argument 2 names different: declaration 'pfbbox' definition 'pbbox'. [funcArgNamesDifferent] epstool-3.09/src/dscparse.c:107:69: note: Function 'dsc_parse_float_bounding_box' argument 2 names different: declaration 'pfbbox' definition 'pbbox'. epstool-3.09/src/dscparse.c:1665:53: note: Function 'dsc_parse_float_bounding_box' argument 2 names different: declaration 'pfbbox' definition 'pbbox'. epstool-3.09/src/dscparse.c:646:44: style: Parameter 'label' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/dscparse.c:1012:15: style: Variable 'last' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/dscparse.c:1226:22: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/dscparse.c:1292:20: style: Variable 'line' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/dscparse.c:1336:20: style: Variable 'line' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/dscparse.c:1533:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/dscparse.c:1669:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/dscparse.c:1771:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/dscparse.c:1839:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/dscparse.c:2041:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/dscparse.c:2513:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/dscparse.c:3369:11: style: Variable 'line' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/dscparse.c:3603:53: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/dscparse.c:3766:11: style: Variable 'pl' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/dscparse.c:3830:11: style: Variable 'fn' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/dscparse.c:3831:11: style: Variable 'fv' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/dscparse.c:4184:11: style: Variable 'line' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/dscparse.c:4181:25: style: Variable 'filename_length' is assigned a value that is never used. [unreadVariable] epstool-3.09/src/dscutil.c:201:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] epstool-3.09/src/dscutil.c:290:2: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'GSDWORD {aka unsigned long}'. [invalidPrintfArgType_sint] epstool-3.09/src/dscutil.c:290:2: portability: %ld in format string (no. 2) requires 'long' but the argument type is 'GSDWORD {aka unsigned long}'. [invalidPrintfArgType_sint] epstool-3.09/src/dscutil.c:290:2: portability: %ld in format string (no. 3) requires 'long' but the argument type is 'GSDWORD {aka unsigned long}'. [invalidPrintfArgType_sint] epstool-3.09/src/dscutil.c:290:2: portability: %ld in format string (no. 4) requires 'long' but the argument type is 'GSDWORD {aka unsigned long}'. [invalidPrintfArgType_sint] epstool-3.09/src/dscutil.c:290:2: portability: %ld in format string (no. 5) requires 'long' but the argument type is 'GSDWORD {aka unsigned long}'. [invalidPrintfArgType_sint] epstool-3.09/src/dscutil.c:290:2: portability: %ld in format string (no. 6) requires 'long' but the argument type is 'GSDWORD {aka unsigned long}'. [invalidPrintfArgType_sint] epstool-3.09/src/dscutil.c:297:2: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'GSDWORD {aka unsigned long}'. [invalidPrintfArgType_sint] epstool-3.09/src/dscutil.c:297:2: portability: %ld in format string (no. 2) requires 'long' but the argument type is 'GSDWORD {aka unsigned long}'. [invalidPrintfArgType_sint] epstool-3.09/src/dscutil.c:297:2: portability: %ld in format string (no. 3) requires 'long' but the argument type is 'GSDWORD {aka unsigned long}'. [invalidPrintfArgType_sint] epstool-3.09/src/dscutil.c:297:2: portability: %ld in format string (no. 4) requires 'long' but the argument type is 'GSDWORD {aka unsigned long}'. [invalidPrintfArgType_sint] epstool-3.09/src/dscutil.c:320:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] epstool-3.09/src/dscutil.c:407:6: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] epstool-3.09/src/dscutil.c:453:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] epstool-3.09/src/dscutil.c:549:6: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] epstool-3.09/src/dscutil.c:171:20: style: Parameter 'caller_data' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/epstool.c:233:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] epstool-3.09/src/epstool.c:240:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] epstool-3.09/src/epstool.c:262:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCHAR [valueFlowBailoutIncompleteVar] epstool-3.09/src/epstool.c:701:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] epstool-3.09/src/epstool.c:897:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOUR_DEVICE [valueFlowBailoutIncompleteVar] epstool-3.09/src/epstool.c:1039:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOUR_DEVICE [valueFlowBailoutIncompleteVar] epstool-3.09/src/epstool.c:1103:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCHAR [valueFlowBailoutIncompleteVar] epstool-3.09/src/epstool.c:1202:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCHAR [valueFlowBailoutIncompleteVar] epstool-3.09/src/epstool.c:1333:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] epstool-3.09/src/epstool.c:1411:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCHAR [valueFlowBailoutIncompleteVar] epstool-3.09/src/epstool.c:1549:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] epstool-3.09/src/epstool.c:1632:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCHAR [valueFlowBailoutIncompleteVar] epstool-3.09/src/epstool.c:1760:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCHAR [valueFlowBailoutIncompleteVar] epstool-3.09/src/epstool.c:1823:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCHAR [valueFlowBailoutIncompleteVar] epstool-3.09/src/epstool.c:1990:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GREY_DEVICE [valueFlowBailoutIncompleteVar] epstool-3.09/src/epstool.c:2264:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCHAR [valueFlowBailoutIncompleteVar] epstool-3.09/src/epstool.c:2425:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] epstool-3.09/src/epstool.c:2464:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] epstool-3.09/src/epstool.c:1481:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] epstool-3.09/src/epstool.c:1484:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] epstool-3.09/src/epstool.c:1488:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] epstool-3.09/src/epstool.c:1492:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] epstool-3.09/src/epstool.c:1496:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] epstool-3.09/src/epstool.c:1505:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] epstool-3.09/src/epstool.c:1508:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] epstool-3.09/src/epstool.c:1512:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] epstool-3.09/src/epstool.c:1516:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] epstool-3.09/src/epstool.c:1478:13: style: Redundant condition: The condition '*s' is redundant since '*s == ' '' is sufficient. [redundantCondition] epstool-3.09/src/epstool.c:1502:13: style: Redundant condition: The condition '*s' is redundant since '*s == ' '' is sufficient. [redundantCondition] epstool-3.09/src/epstool.c:1525:13: style: Redundant condition: The condition '*s' is redundant since '*s == ' '' is sufficient. [redundantCondition] epstool-3.09/src/epstool.c:1775:15: style: Condition 'code==0' is always true [knownConditionTrueFalse] epstool-3.09/src/epstool.c:1768:14: note: Assuming that condition 'code!=0' is not redundant epstool-3.09/src/epstool.c:1775:15: note: Condition 'code==0' is always true epstool-3.09/src/epstool.c:1925:9: style: Condition 'code' is always false [knownConditionTrueFalse] epstool-3.09/src/epstool.c:1923:28: note: Calling function 'calc_device_size' returns 0 epstool-3.09/src/epstool.c:1923:28: note: Assignment 'code=calc_device_size(opt->dpi,&bbox,&hires_bbox,&width,&height,&xoffset,&yoffset)', assigned value is 0 epstool-3.09/src/epstool.c:1925:9: note: Condition 'code' is always false epstool-3.09/src/epstool.c:370:3: warning: Either the condition 'rs' is redundant or there is possible null pointer dereference: rs. [nullPointerRedundantCheck] epstool-3.09/src/epstool.c:368:10: note: Assuming that condition 'rs' is not redundant epstool-3.09/src/epstool.c:370:3: note: Null pointer dereference epstool-3.09/src/epstool.c:372:8: warning: Either the condition 'rs' is redundant or there is possible null pointer dereference: rs. [nullPointerRedundantCheck] epstool-3.09/src/epstool.c:368:10: note: Assuming that condition 'rs' is not redundant epstool-3.09/src/epstool.c:372:8: note: Null pointer dereference epstool-3.09/src/epstool.c:1149:18: warning: Either the condition 'img==NULL' is redundant or there is possible null pointer dereference: img. [nullPointerRedundantCheck] epstool-3.09/src/epstool.c:1152:11: note: Assuming that condition 'img==NULL' is not redundant epstool-3.09/src/epstool.c:1149:18: note: Null pointer dereference epstool-3.09/src/epstool.c:1150:19: warning: Either the condition 'img==NULL' is redundant or there is possible null pointer dereference: img. [nullPointerRedundantCheck] epstool-3.09/src/epstool.c:1152:11: note: Assuming that condition 'img==NULL' is not redundant epstool-3.09/src/epstool.c:1150:19: note: Null pointer dereference epstool-3.09/src/epstool.c:1934:24: style: Same expression 'DISPLAY_ALPHA_NONE' found multiple times in chain of '|' operators because 'DISPLAY_ALPHA_NONE' and 'DISPLAY_BIGENDIAN' represent the same value. [duplicateExpression] epstool-3.09/src/epstool.c:1934:44: style: Same expression on both sides of '|' because 'DISPLAY_TOPFIRST' and 'DISPLAY_BIGENDIAN' represent the same value. [duplicateExpression] epstool-3.09/src/epstool.c:2494:21: style:inconclusive: Function 'load_string' argument 1 names different: declaration 'app' definition 'a'. [funcArgNamesDifferent] epstool-3.09/src/capp.h:79:25: note: Function 'load_string' argument 1 names different: declaration 'app' definition 'a'. epstool-3.09/src/epstool.c:2494:21: note: Function 'load_string' argument 1 names different: declaration 'app' definition 'a'. epstool-3.09/src/epstool.c:2494:28: style:inconclusive: Function 'load_string' argument 2 names different: declaration 'i' definition 'id'. [funcArgNamesDifferent] epstool-3.09/src/capp.h:79:34: note: Function 'load_string' argument 2 names different: declaration 'i' definition 'id'. epstool-3.09/src/epstool.c:2494:28: note: Function 'load_string' argument 2 names different: declaration 'i' definition 'id'. epstool-3.09/src/epstool.c:2550:29: style:inconclusive: Function 'pagecache_unref_all' argument 1 names different: declaration 'app' definition 'a'. [funcArgNamesDifferent] epstool-3.09/src/cpagec.h:21:33: note: Function 'pagecache_unref_all' argument 1 names different: declaration 'app' definition 'a'. epstool-3.09/src/epstool.c:2550:29: note: Function 'pagecache_unref_all' argument 1 names different: declaration 'app' definition 'a'. epstool-3.09/src/epstool.c:381:9: style: Local variable 'p' shadows outer variable [shadowVariable] epstool-3.09/src/epstool.c:253:18: note: Shadowed declaration epstool-3.09/src/epstool.c:381:9: note: Shadow variable epstool-3.09/src/epstool.c:1708:39: style: Parameter 'bbox' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/epstool.c:1708:56: style: Parameter 'hires_bbox' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/epstool.c:1946:17: style: Variable 'ccolour' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/epstool.c:2438:27: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/epstool.c:2444:29: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/epstool.c:2450:18: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/epstool.c:2456:20: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/epstool.c:2494:21: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/epstool.c:2544:22: style: Parameter 's' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/epstool.c:2544:32: style: Parameter 'reqnew' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/epstool.c:2550:29: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/epstool.c:2557:19: style: Parameter 'doc' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/epstool.c:2562:28: style: Parameter 'img' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/epstool.c:262:5: warning: Division by result of sizeof(). strncpy() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] epstool-3.09/src/epstool.c:314:6: warning: Division by result of sizeof(). strncpy() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] epstool-3.09/src/epstool.c:352:6: warning: Division by result of sizeof(). strncpy() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] epstool-3.09/src/epstool.c:419:6: warning: Division by result of sizeof(). strncpy() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] epstool-3.09/src/epstool.c:448:6: warning: Division by result of sizeof(). strncpy() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] epstool-3.09/src/epstool.c:478:6: warning: Division by result of sizeof(). strncpy() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] epstool-3.09/src/epstool.c:484:6: warning: Division by result of sizeof(). strncpy() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] epstool-3.09/src/epstool.c:502:6: warning: Division by result of sizeof(). strncpy() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] epstool-3.09/src/epstool.c:573:3: warning: Division by result of sizeof(). strncpy() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] epstool-3.09/src/epstool.c:576:3: warning: Division by result of sizeof(). strncpy() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] epstool-3.09/src/epstool.c:1850:13: warning: Size of pointer 'newimg' used instead of size of its data. [pointerSize] epstool-3.09/src/epstool.c:1711:14: style: Variable 'code' is assigned a value that is never used. [unreadVariable] epstool-3.09/src/epstool.c:1715:7: style: Variable 'code' is assigned a value that is never used. [unreadVariable] epstool-3.09/src/epstool.c:1721:7: style: Variable 'code' is assigned a value that is never used. [unreadVariable] epstool-3.09/src/xdll.c:74:6: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] epstool-3.09/src/xdll.c:40:7: style: Variable 'shortname' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/xdll.c:74:13: style: Variable 'msglen' is assigned a value that is never used. [unreadVariable] epstool-3.09/src/xnodll.c:43:5: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] epstool-3.09/src/xnodll.c:50:21: style: Parameter 'hmodule' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/xnodll.c:56:19: style: Parameter 'hmodule' can be declared as pointer to const [constParameterPointer] epstool-3.09/src/xnodll.c:43:12: style: Variable 'msglen' is assigned a value that is never used. [unreadVariable] epstool-3.09/srcwin/wdll.c:41:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] epstool-3.09/srcwin/wdll.c:94:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] epstool-3.09/srcwin/wdll.c:136:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] epstool-3.09/srcwin/wdll.c:80:12: error: Uninitialized variable: lpMessageBuffer [uninitvar] epstool-3.09/srcwin/wdll.c:136:10: style: Variable 'msglen' is assigned a value that is never used. [unreadVariable] epstool-3.09/srcwin/wfile.c:102:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFile [valueFlowBailoutIncompleteVar] epstool-3.09/srcwin/wfile.c:117:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_READ [valueFlowBailoutIncompleteVar] epstool-3.09/srcwin/wfile.c:197:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_BEGIN [valueFlowBailoutIncompleteVar] epstool-3.09/srcwin/wfile.c:217:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_CURRENT [valueFlowBailoutIncompleteVar] epstool-3.09/srcwin/wfile.c:57:20: style: Parameter 'gf' can be declared as pointer to const [constParameterPointer] epstool-3.09/srcwin/wfile.c:37:8: style: struct member 'GFile_s::m_file' is never used. [unusedStructMember] epstool-3.09/srcwin/wgsver.c:66:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HKEY_LOCAL_MACHINE [valueFlowBailoutIncompleteVar] epstool-3.09/srcwin/wgsver.c:150:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_READ [valueFlowBailoutIncompleteVar] epstool-3.09/srcwin/wgsver.c:202:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HKEY_CURRENT_USER [valueFlowBailoutIncompleteVar] epstool-3.09/srcwin/wgsver.c:62:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] epstool-3.09/src/cfile.c:109:9: warning: Null pointer dereference: lpszFileName [ctunullpointer] epstool-3.09/src/cmac.c:618:17: note: Assuming that condition 'epsname==NULL' is not redundant epstool-3.09/src/cmac.c:617:25: note: Calling function gfile_open, 1st argument is null epstool-3.09/src/cfile.c:109:9: note: Dereferencing argument lpszFileName that is null epstool-3.09/src/clfile.c:137:9: warning: Null pointer dereference: lpszFileName [ctunullpointer] epstool-3.09/src/cmac.c:618:17: note: Assuming that condition 'epsname==NULL' is not redundant epstool-3.09/src/cmac.c:617:25: note: Calling function gfile_open, 1st argument is null epstool-3.09/src/clfile.c:137:9: note: Dereferencing argument lpszFileName that is null diff: head epstool-3.09/src/cpdfscan.c:193:18: warning: Either the condition 'ps!=NULL' is redundant or there is possible null pointer dereference: ps. [nullPointerRedundantCheck] epstool-3.09/src/cpdfscan.c:190:12: note: Assuming that condition 'ps!=NULL' is not redundant epstool-3.09/src/cpdfscan.c:193:18: note: Null pointer dereference DONE