2025-11-22 14:20 ftp://ftp.de.debian.org/debian/pool/main/libx/libxmltok/libxmltok_1.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.12.57+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: cb76e52 (2025-11-22 14:47:37 +0100) count: 129 128 elapsed-time: 1.7 1.9 head-timing-info: old-timing-info: head results: expat-1.2/xmltok/dllmain.c:13:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] expat-1.2/sample/elements.c:27:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] expat-1.2/gennmtab/gennmtab.c:371:22: style: Parameter 'tab' can be declared as pointer to const [constParameterPointer] expat-1.2/xmltok/xmlrole.c:1227:25: style: Parameter 'state' can be declared as pointer to const. However it seems that 'error' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] expat-1.2/xmltok/xmlrole.c:1243:20: note: You might need to cast the function pointer here expat-1.2/xmltok/xmlrole.c:1227:25: note: Parameter 'state' can be declared as pointer to const expat-1.2/xmltok/xmltok_ns.c:1:17: error: There is an unknown macro here somewhere. Configuration is required. If NS is a macro then please configure it. [unknownMacro] expat-1.2/xmlwf/codepage.c:55:30: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] expat-1.2/xmltok/xmltok_impl.c:95:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASCII_MINUS [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:133:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_PARTIAL [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:179:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_PI [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:226:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_PARTIAL [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:290:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_PARTIAL [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:306:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_NONE [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:384:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_PARTIAL [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:438:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_INVALID [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:464:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASCII_x [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:496:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_PARTIAL [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:530:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_INVALID [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:689:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_PARTIAL [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:785:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_NONE [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:884:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_PARTIAL [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:913:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_PARTIAL [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:943:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_PARTIAL_CHAR [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:973:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_NONE [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:1201:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_NONE [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:1259:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_NONE [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:1391:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASCII_TAB [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:1440:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:1518:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASCII_x [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:1557:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASCII_t [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:1747:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BT_LF [valueFlowBailoutIncompleteVar] expat-1.2/xmlwf/readfilemap.c:40:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] expat-1.2/xmlwf/readfilemap.c:47:5: error: Resource leak: fd [resourceLeak] expat-1.2/xmlwf/readfilemap.c:51:5: error: Resource leak: fd [resourceLeak] expat-1.2/xmlwf/readfilemap.c:57:5: error: Resource leak: fd [resourceLeak] expat-1.2/xmlwf/readfilemap.c:63:5: error: Memory leak: p [memleak] expat-1.2/xmlwf/readfilemap.c:68:5: error: Memory leak: p [memleak] expat-1.2/xmlwf/unixfilemap.c:29:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] expat-1.2/xmlwf/win32filemap.c:38:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] expat-1.2/xmlwf/win32filemap.c:82:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FORMAT_MESSAGE_ALLOCATE_BUFFER [valueFlowBailoutIncompleteVar] expat-1.2/xmlwf/win32filemap.c:86:17: error: Uninitialized variable: buf [uninitvar] expat-1.2/xmlwf/xmlfile.c:51:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] expat-1.2/xmlwf/xmlfile.c:99:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_Char [valueFlowBailoutIncompleteVar] expat-1.2/xmlwf/xmlfile.c:140:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] expat-1.2/xmlwf/xmlfile.c:198:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] expat-1.2/xmlwf/xmlwf.c:571:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] expat-1.2/xmlwf/xmlwf.c:585:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_PARAM_ENTITY_PARSING_NEVER [valueFlowBailoutIncompleteVar] expat-1.2/xmlwf/xmlwf.c:704:14: warning: If memory allocation fails, then there is a possible null pointer dereference: outName [nullPointerOutOfMemory] expat-1.2/xmlwf/xmlwf.c:703:23: note: Assuming allocation function fails expat-1.2/xmlwf/xmlwf.c:703:23: note: Assignment 'outName=malloc((strlen(outputDir)+strlen(file)+2)*sizeof(XML_Char))', assigned value is 0 expat-1.2/xmlwf/xmlwf.c:704:14: note: Null pointer dereference expat-1.2/xmlwf/xmlwf.c:705:14: warning: If memory allocation fails, then there is a possible null pointer dereference: outName [nullPointerOutOfMemory] expat-1.2/xmlwf/xmlwf.c:703:23: note: Assuming allocation function fails expat-1.2/xmlwf/xmlwf.c:703:23: note: Assignment 'outName=malloc((strlen(outputDir)+strlen(file)+2)*sizeof(XML_Char))', assigned value is 0 expat-1.2/xmlwf/xmlwf.c:705:14: note: Null pointer dereference expat-1.2/xmlwf/xmlwf.c:706:14: warning: If memory allocation fails, then there is a possible null pointer dereference: outName [nullPointerOutOfMemory] expat-1.2/xmlwf/xmlwf.c:703:23: note: Assuming allocation function fails expat-1.2/xmlwf/xmlwf.c:703:23: note: Assignment 'outName=malloc((strlen(outputDir)+strlen(file)+2)*sizeof(XML_Char))', assigned value is 0 expat-1.2/xmlwf/xmlwf.c:706:14: note: Null pointer dereference expat-1.2/xmlwf/xmlwf.c:707:19: warning: If memory allocation fails, then there is a possible null pointer dereference: outName [nullPointerOutOfMemory] expat-1.2/xmlwf/xmlwf.c:703:23: note: Assuming allocation function fails expat-1.2/xmlwf/xmlwf.c:703:23: note: Assignment 'outName=malloc((strlen(outputDir)+strlen(file)+2)*sizeof(XML_Char))', assigned value is 0 expat-1.2/xmlwf/xmlwf.c:707:19: note: Null pointer dereference expat-1.2/xmlwf/xmlwf.c:152:12: style: The comparison 'sep1 != sep2' is always false because 'sep1' and 'sep2' represent the same value. [knownConditionTrueFalse] expat-1.2/xmlwf/xmlwf.c:150:36: note: 'sep1' is assigned value 'strrchr(att1,'\001')!=0' here. expat-1.2/xmlwf/xmlwf.c:151:36: note: 'sep2' is assigned value 'strrchr(att1,'\001')!=0' here. expat-1.2/xmlwf/xmlwf.c:152:12: note: The comparison 'sep1 != sep2' is always false because 'sep1' and 'sep2' represent the same value. expat-1.2/xmlwf/xmlwf.c:153:17: style: Same expression on both sides of '-' because 'sep1' and 'sep2' represent the same value. [duplicateExpression] expat-1.2/xmlwf/xmlwf.c:150:36: note: 'sep1' is assigned value 'strrchr(att1,'\001')!=0' here. expat-1.2/xmlwf/xmlwf.c:151:36: note: 'sep2' is assigned value 'strrchr(att1,'\001')!=0' here. expat-1.2/xmlwf/xmlwf.c:153:17: note: Same expression on both sides of '-' because 'sep1' and 'sep2' represent the same value. expat-1.2/xmlwf/xmlwf.c:563:25: style: Parameter 'userData' can be declared as pointer to const. However it seems that 'notStandalone' is a callback function, if 'userData' is declared with const you might also need to cast function pointer(s). [constParameterCallback] expat-1.2/xmlwf/xmlwf.c:685:43: note: You might need to cast the function pointer here expat-1.2/xmlwf/xmlwf.c:563:25: note: Parameter 'userData' can be declared as pointer to const expat-1.2/xmlparse/xmlparse.c:489:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POSITION [valueFlowBailoutIncompleteVar] expat-1.2/xmlparse/xmlparse.c:1307:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] expat-1.2/xmlparse/xmlparse.c:1639:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATTRIBUTE [valueFlowBailoutIncompleteVar] expat-1.2/xmlparse/xmlparse.c:2089:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmlInitEncoding [valueFlowBailoutIncompleteVar] expat-1.2/xmlparse/xmlparse.c:2104:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmlParseXmlDecl [valueFlowBailoutIncompleteVar] expat-1.2/xmlparse/xmlparse.c:2171:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmlInitUnknownEncoding [valueFlowBailoutIncompleteVar] expat-1.2/xmlparse/xmlparse.c:2240:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_INVALID [valueFlowBailoutIncompleteVar] expat-1.2/xmlparse/xmlparse.c:2857:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_UTF8_ENCODE_MAX [valueFlowBailoutIncompleteVar] expat-1.2/xmlparse/xmlparse.c:3025:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_UTF8_ENCODE_MAX [valueFlowBailoutIncompleteVar] expat-1.2/xmlparse/xmlparse.c:3101:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start [valueFlowBailoutIncompleteVar] expat-1.2/xmlparse/xmlparse.c:3292:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] expat-1.2/xmlparse/xmlparse.c:3359:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] expat-1.2/xmlparse/xmlparse.c:3514:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:101:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:134:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:227:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:316:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:385:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:432:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:466:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:497:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:529:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:690:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:795:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:885:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:914:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:941:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:983:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:1204:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:1262:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:1367:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:1429:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:1609:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:1687:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:1713:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok_impl.c:1732:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] expat-1.2/xmltok/xmltok.c:1118:23: style:inconclusive: Function 'XmlUtf8Encode' argument 1 names different: declaration 'charNumber' definition 'c'. [funcArgNamesDifferent] expat-1.2/xmltok/xmltok.h:270:33: note: Function 'XmlUtf8Encode' argument 1 names different: declaration 'charNumber' definition 'c'. expat-1.2/xmltok/xmltok.c:1118:23: note: Function 'XmlUtf8Encode' argument 1 names different: declaration 'charNumber' definition 'c'. expat-1.2/xmltok/xmltok.c:1154:24: style:inconclusive: Function 'XmlUtf16Encode' argument 1 names different: declaration 'charNumber' definition 'charNum'. [funcArgNamesDifferent] expat-1.2/xmltok/xmltok.h:271:34: note: Function 'XmlUtf16Encode' argument 1 names different: declaration 'charNumber' definition 'charNum'. expat-1.2/xmltok/xmltok.c:1154:24: note: Function 'XmlUtf16Encode' argument 1 names different: declaration 'charNumber' definition 'charNum'. expat-1.2/xmltok/xmltok_ns.c:82:17: style:inconclusive: Function 'XmlParseXmlDecl' argument 7 names different: declaration 'encodingNamePtr' definition 'encodingName'. [funcArgNamesDifferent] expat-1.2/xmltok/xmltok.h:263:23: note: Function 'XmlParseXmlDecl' argument 7 names different: declaration 'encodingNamePtr' definition 'encodingName'. expat-1.2/xmltok/xmltok_ns.c:82:17: note: Function 'XmlParseXmlDecl' argument 7 names different: declaration 'encodingNamePtr' definition 'encodingName'. expat-1.2/xmltok/xmltok_ns.c:83:21: style:inconclusive: Function 'XmlParseXmlDecl' argument 8 names different: declaration 'namedEncodingPtr' definition 'encoding'. [funcArgNamesDifferent] expat-1.2/xmltok/xmltok.h:264:27: note: Function 'XmlParseXmlDecl' argument 8 names different: declaration 'namedEncodingPtr' definition 'encoding'. expat-1.2/xmltok/xmltok_ns.c:83:21: note: Function 'XmlParseXmlDecl' argument 8 names different: declaration 'namedEncodingPtr' definition 'encoding'. expat-1.2/xmltok/xmltok_ns.c:84:9: style:inconclusive: Function 'XmlParseXmlDecl' argument 9 names different: declaration 'standalonePtr' definition 'standalone'. [funcArgNamesDifferent] expat-1.2/xmltok/xmltok.h:265:15: note: Function 'XmlParseXmlDecl' argument 9 names different: declaration 'standalonePtr' definition 'standalone'. expat-1.2/xmltok/xmltok_ns.c:84:9: note: Function 'XmlParseXmlDecl' argument 9 names different: declaration 'standalonePtr' definition 'standalone'. expat-1.2/xmltok/xmltok.c:1268:15: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] expat-1.2/xmltok/xmltok.c:1317:11: warning: Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 1315. [shiftTooManyBitsSigned] expat-1.2/xmltok/xmltok.c:1315:13: note: Assuming that condition 'c>0xFFFF' is not redundant expat-1.2/xmltok/xmltok.c:1317:11: note: Shift expat-1.2/xmlparse/xmlparse.c:1916:12: style: Variable '*eventPP' is reassigned a value before the old one has been used. [redundantAssignment] expat-1.2/xmlparse/xmlparse.c:1909:14: note: *eventPP is assigned expat-1.2/xmlparse/xmlparse.c:1916:12: note: *eventPP is overwritten expat-1.2/xmlparse/xmlparse.c:2885:7: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] expat-1.2/xmlparse/xmlparse.c:449:45: style:inconclusive: Function 'XML_ParserCreate' argument 1 names different: declaration 'encoding' definition 'encodingName'. [funcArgNamesDifferent] expat-1.2/xmlparse/xmlparse.h:56:34: note: Function 'XML_ParserCreate' argument 1 names different: declaration 'encoding' definition 'encodingName'. expat-1.2/xmlparse/xmlparse.c:449:45: note: Function 'XML_ParserCreate' argument 1 names different: declaration 'encoding' definition 'encodingName'. expat-1.2/xmlparse/xmlparse.c:532:47: style:inconclusive: Function 'XML_ParserCreateNS' argument 1 names different: declaration 'encoding' definition 'encodingName'. [funcArgNamesDifferent] expat-1.2/xmlparse/xmlparse.h:69:36: note: Function 'XML_ParserCreateNS' argument 1 names different: declaration 'encoding' definition 'encodingName'. expat-1.2/xmlparse/xmlparse.c:532:47: note: Function 'XML_ParserCreateNS' argument 1 names different: declaration 'encoding' definition 'encodingName'. expat-1.2/xmlparse/xmlparse.c:532:70: style:inconclusive: Function 'XML_ParserCreateNS' argument 2 names different: declaration 'namespaceSeparator' definition 'nsSep'. [funcArgNamesDifferent] expat-1.2/xmlparse/xmlparse.h:69:55: note: Function 'XML_ParserCreateNS' argument 2 names different: declaration 'namespaceSeparator' definition 'nsSep'. expat-1.2/xmlparse/xmlparse.c:532:70: note: Function 'XML_ParserCreateNS' argument 2 names different: declaration 'namespaceSeparator' definition 'nsSep'. expat-1.2/xmlparse/xmlparse.c:562:56: style:inconclusive: Function 'XML_SetEncoding' argument 2 names different: declaration 'encoding' definition 'encodingName'. [funcArgNamesDifferent] expat-1.2/xmlparse/xmlparse.h:368:52: note: Function 'XML_SetEncoding' argument 2 names different: declaration 'encoding' definition 'encodingName'. expat-1.2/xmlparse/xmlparse.c:562:56: note: Function 'XML_SetEncoding' argument 2 names different: declaration 'encoding' definition 'encodingName'. expat-1.2/xmlparse/xmlparse.c:574:54: style:inconclusive: Function 'XML_ExternalEntityParserCreate' argument 1 names different: declaration 'parser' definition 'oldParser'. [funcArgNamesDifferent] expat-1.2/xmlparse/xmlparse.h:430:43: note: Function 'XML_ExternalEntityParserCreate' argument 1 names different: declaration 'parser' definition 'oldParser'. expat-1.2/xmlparse/xmlparse.c:574:54: note: Function 'XML_ExternalEntityParserCreate' argument 1 names different: declaration 'parser' definition 'oldParser'. expat-1.2/xmlparse/xmlparse.c:576:24: style:inconclusive: Function 'XML_ExternalEntityParserCreate' argument 3 names different: declaration 'encoding' definition 'encodingName'. [funcArgNamesDifferent] expat-1.2/xmlparse/xmlparse.h:432:27: note: Function 'XML_ExternalEntityParserCreate' argument 3 names different: declaration 'encoding' definition 'encodingName'. expat-1.2/xmlparse/xmlparse.c:576:24: note: Function 'XML_ExternalEntityParserCreate' argument 3 names different: declaration 'encoding' definition 'encodingName'. expat-1.2/xmlparse/xmlparse.c:712:47: style:inconclusive: Function 'XML_SetUserData' argument 2 names different: declaration 'userData' definition 'p'. [funcArgNamesDifferent] expat-1.2/xmlparse/xmlparse.h:358:42: note: Function 'XML_SetUserData' argument 2 names different: declaration 'userData' definition 'p'. expat-1.2/xmlparse/xmlparse.c:712:47: note: Function 'XML_SetUserData' argument 2 names different: declaration 'userData' definition 'p'. expat-1.2/xmlparse/xmlparse.c:720:52: style:inconclusive: Function 'XML_SetBase' argument 2 names different: declaration 'base' definition 'p'. [funcArgNamesDifferent] expat-1.2/xmlparse/xmlparse.h:385:48: note: Function 'XML_SetBase' argument 2 names different: declaration 'base' definition 'p'. expat-1.2/xmlparse/xmlparse.c:720:52: note: Function 'XML_SetBase' argument 2 names different: declaration 'base' definition 'p'. expat-1.2/xmlparse/xmlparse.c:858:14: style:inconclusive: Function 'XML_SetUnknownEncodingHandler' argument 3 names different: declaration 'encodingHandlerData' definition 'data'. [funcArgNamesDifferent] expat-1.2/xmlparse/xmlparse.h:349:16: note: Function 'XML_SetUnknownEncodingHandler' argument 3 names different: declaration 'encodingHandlerData' definition 'data'. expat-1.2/xmlparse/xmlparse.c:858:14: note: Function 'XML_SetUnknownEncodingHandler' argument 3 names different: declaration 'encodingHandlerData' definition 'data'. expat-1.2/xmlparse/xmlparse.c:1174:16: style:inconclusive: Function 'doContent' argument 4 names different: declaration 'start' definition 's'. [funcArgNamesDifferent] expat-1.2/xmlparse/xmlparse.c:210:16: note: Function 'doContent' argument 4 names different: declaration 'start' definition 's'. expat-1.2/xmlparse/xmlparse.c:1174:16: note: Function 'doContent' argument 4 names different: declaration 'start' definition 's'. expat-1.2/xmlparse/xmlparse.c:1176:17: style:inconclusive: Function 'doContent' argument 6 names different: declaration 'endPtr' definition 'nextPtr'. [funcArgNamesDifferent] expat-1.2/xmlparse/xmlparse.c:210:53: note: Function 'doContent' argument 6 names different: declaration 'endPtr' definition 'nextPtr'. expat-1.2/xmlparse/xmlparse.c:1176:17: note: Function 'doContent' argument 6 names different: declaration 'endPtr' definition 'nextPtr'. expat-1.2/xmlparse/xmlparse.c:1606:17: style:inconclusive: Function 'storeAtts' argument 3 names different: declaration 's' definition 'attStr'. [funcArgNamesDifferent] expat-1.2/xmlparse/xmlparse.c:217:82: note: Function 'storeAtts' argument 3 names different: declaration 's' definition 'attStr'. expat-1.2/xmlparse/xmlparse.c:1606:17: note: Function 'storeAtts' argument 3 names different: declaration 's' definition 'attStr'. expat-1.2/xmlparse/xmlparse.c:2190:19: style:inconclusive: Function 'prologInitProcessor' argument 2 names different: declaration 'start' definition 's'. [funcArgNamesDifferent] expat-1.2/xmlparse/xmlparse.c:184:18: note: Function 'prologInitProcessor' argument 2 names different: declaration 'start' definition 's'. expat-1.2/xmlparse/xmlparse.c:2190:19: note: Function 'prologInitProcessor' argument 2 names different: declaration 'start' definition 's'. expat-1.2/xmlparse/xmlparse.c:2192:20: style:inconclusive: Function 'prologInitProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. [funcArgNamesDifferent] expat-1.2/xmlparse/xmlparse.c:184:18: note: Function 'prologInitProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. expat-1.2/xmlparse/xmlparse.c:2192:20: note: Function 'prologInitProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. expat-1.2/xmlparse/xmlparse.c:2203:15: style:inconclusive: Function 'prologProcessor' argument 2 names different: declaration 'start' definition 's'. [funcArgNamesDifferent] expat-1.2/xmlparse/xmlparse.c:183:18: note: Function 'prologProcessor' argument 2 names different: declaration 'start' definition 's'. expat-1.2/xmlparse/xmlparse.c:2203:15: note: Function 'prologProcessor' argument 2 names different: declaration 'start' definition 's'. expat-1.2/xmlparse/xmlparse.c:2205:16: style:inconclusive: Function 'prologProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. [funcArgNamesDifferent] expat-1.2/xmlparse/xmlparse.c:183:18: note: Function 'prologProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. expat-1.2/xmlparse/xmlparse.c:2205:16: note: Function 'prologProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. expat-1.2/xmlparse/xmlparse.c:2731:23: style:inconclusive: Function 'epilogProcessor' argument 2 names different: declaration 'start' definition 's'. [funcArgNamesDifferent] expat-1.2/xmlparse/xmlparse.c:190:18: note: Function 'epilogProcessor' argument 2 names different: declaration 'start' definition 's'. expat-1.2/xmlparse/xmlparse.c:2731:23: note: Function 'epilogProcessor' argument 2 names different: declaration 'start' definition 's'. expat-1.2/xmlparse/xmlparse.c:2733:24: style:inconclusive: Function 'epilogProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. [funcArgNamesDifferent] expat-1.2/xmlparse/xmlparse.c:190:18: note: Function 'epilogProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. expat-1.2/xmlparse/xmlparse.c:2733:24: note: Function 'epilogProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. expat-1.2/xmlparse/xmlparse.c:2814:22: style:inconclusive: Function 'errorProcessor' argument 2 names different: declaration 'start' definition 's'. [funcArgNamesDifferent] expat-1.2/xmlparse/xmlparse.c:191:18: note: Function 'errorProcessor' argument 2 names different: declaration 'start' definition 's'. expat-1.2/xmlparse/xmlparse.c:2814:22: note: Function 'errorProcessor' argument 2 names different: declaration 'start' definition 's'. expat-1.2/xmlparse/xmlparse.c:2816:23: style:inconclusive: Function 'errorProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. [funcArgNamesDifferent] expat-1.2/xmlparse/xmlparse.c:191:18: note: Function 'errorProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. expat-1.2/xmlparse/xmlparse.c:2816:23: note: Function 'errorProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. expat-1.2/xmlparse/xmlparse.c:2959:17: style:inconclusive: Function 'storeEntityValue' argument 3 names different: declaration 'start' definition 'entityTextPtr'. [funcArgNamesDifferent] expat-1.2/xmlparse/xmlparse.c:233:70: note: Function 'storeEntityValue' argument 3 names different: declaration 'start' definition 'entityTextPtr'. expat-1.2/xmlparse/xmlparse.c:2959:17: note: Function 'storeEntityValue' argument 3 names different: declaration 'start' definition 'entityTextPtr'. expat-1.2/xmlparse/xmlparse.c:2960:17: style:inconclusive: Function 'storeEntityValue' argument 4 names different: declaration 'end' definition 'entityTextEnd'. [funcArgNamesDifferent] expat-1.2/xmlparse/xmlparse.c:233:89: note: Function 'storeEntityValue' argument 4 names different: declaration 'end' definition 'entityTextEnd'. expat-1.2/xmlparse/xmlparse.c:2960:17: note: Function 'storeEntityValue' argument 4 names different: declaration 'end' definition 'entityTextEnd'. expat-1.2/xmlparse/xmlparse.c:3135:67: style:inconclusive: Function 'reportDefault' argument 3 names different: declaration 'start' definition 's'. [funcArgNamesDifferent] expat-1.2/xmlparse/xmlparse.c:239:67: note: Function 'reportDefault' argument 3 names different: declaration 'start' definition 's'. expat-1.2/xmlparse/xmlparse.c:3135:67: note: Function 'reportDefault' argument 3 names different: declaration 'start' definition 's'. expat-1.2/xmlparse/xmlparse.c:3162:97: style:inconclusive: Function 'defineAttribute' argument 5 names different: declaration 'dfltValue' definition 'value'. [funcArgNamesDifferent] expat-1.2/xmlparse/xmlparse.c:222:92: note: Function 'defineAttribute' argument 5 names different: declaration 'dfltValue' definition 'value'. expat-1.2/xmlparse/xmlparse.c:3162:97: note: Function 'defineAttribute' argument 5 names different: declaration 'dfltValue' definition 'value'. expat-1.2/xmlparse/xmlparse.c:3409:34: style:inconclusive: Function 'normalizePublicId' argument 1 names different: declaration 's' definition 'publicId'. [funcArgNamesDifferent] expat-1.2/xmlparse/xmlparse.c:243:41: note: Function 'normalizePublicId' argument 1 names different: declaration 's' definition 'publicId'. expat-1.2/xmlparse/xmlparse.c:3409:34: note: Function 'normalizePublicId' argument 1 names different: declaration 's' definition 'publicId'. expat-1.2/xmlparse/xmlparse.c:2133:23: style: Local variable 's' shadows outer argument [shadowArgument] expat-1.2/xmlparse/xmlparse.c:2096:21: note: Shadowed declaration expat-1.2/xmlparse/xmlparse.c:2133:23: note: Shadow variable expat-1.2/xmlparse/xmlparse.c:579:8: style: Variable 'oldDtd' can be declared as pointer to const [constVariablePointer] expat-1.2/xmlparse/xmlparse.c:598:9: style: Variable 'oldHandlerArg' can be declared as pointer to const [constVariablePointer] expat-1.2/xmlparse/xmlparse.c:2162:17: style: Variable 'enc' can be declared as pointer to const [constVariablePointer] expat-1.2/xmlparse/xmlparse.c:3333:13: style: Variable 'e' can be declared as pointer to const [constVariablePointer] expat-1.2/xmlparse/xmlparse.c:2109:14: error: Uninitialized variable: &version [uninitvar] diff: head expat-1.2/xmlparse/xmlparse.c:2162:17: style: Variable 'enc' can be declared as pointer to const [constVariablePointer] DONE