2025-11-22 14:21 ftp://ftp.de.debian.org/debian/pool/main/libx/libxmu/libxmu_1.1.3.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --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: 168 167 elapsed-time: 0.9 1.0 head-timing-info: old-timing-info: head results: libXmu-1.1.3/src/AllCmap.c:104:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VisualScreenMask [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/ClientWin.c:46:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/ClientWin.c:74:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/Atoms.c:138:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/CmapAlloc.c:216:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DirectColor [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/CloseHook.c:263:14: style: Variable 'de->calling' is reassigned a value before the old one has been used. [redundantAssignment] libXmu-1.1.3/src/CloseHook.c:261:14: note: de->calling is assigned libXmu-1.1.3/src/CloseHook.c:263:14: note: de->calling is overwritten libXmu-1.1.3/src/CloseHook.c:200:27: style: Variable 'h' can be declared as pointer to const [constVariablePointer] libXmu-1.1.3/src/CloseHook.c:228:37: style: Parameter 'dpy' can be declared as pointer to const [constParameterPointer] libXmu-1.1.3/src/CrPixFBit.c:62:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/CrCmap.c:113:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VisualIDMask [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/CrCmap.c:185:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DirectColor [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/CrCmap.c:486:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DoRed [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/CrCmap.c:519:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StaticColor [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/CmapAlloc.c:138:33: style: Parameter 'vinfo' can be declared as pointer to const [constParameterPointer] libXmu-1.1.3/src/CmapAlloc.c:212:30: style: Parameter 'vinfo' can be declared as pointer to const [constParameterPointer] libXmu-1.1.3/src/CursorName.c:41:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _Xconst [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/CmapAlloc.c:256:11: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] libXmu-1.1.3/src/CmapAlloc.c:257:13: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] libXmu-1.1.3/src/CmapAlloc.c:258:12: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] libXmu-1.1.3/src/CvtCache.c:109:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmuCvtCache [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/CvtStdSel.c:208:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_INTEGER [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/CvtStdSel.c:303:13: style: Condition '*value==NULL' is always true [knownConditionTrueFalse] libXmu-1.1.3/src/CvtStdSel.c:302:22: note: Calling function 'get_os_name' returns 0 libXmu-1.1.3/src/CvtStdSel.c:302:22: note: Assignment '*value=get_os_name()', assigned value is 0 libXmu-1.1.3/src/CvtStdSel.c:303:13: note: Condition '*value==NULL' is always true libXmu-1.1.3/src/DefErrMsg.c:43:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/DefErrMsg.c:161:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BadWindow [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/CvtStdSel.c:195:73: style: Parameter 'target' can be declared as pointer to const [constParameterPointer] libXmu-1.1.3/src/CvtStdSel.c:256:8: style: Variable 'class' can be declared as pointer to const [constVariablePointer] libXmu-1.1.3/src/DelCmap.c:58:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReleaseByFreeingColormap [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/DisplayQue.c:55:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmuDisplayQueue [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/DisplayQue.c:112:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmuDisplayQueueEntry [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/DisplayQue.c:92:37: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] libXmu-1.1.3/src/DisplayQue.c:92:49: style: Parameter 'dpy' can be declared as pointer to const [constParameterPointer] libXmu-1.1.3/src/Clip.c:57:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmuArea [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/Clip.c:621:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmuSegment [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/Clip.c:1509:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmuScanline [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/Distinct.c:56:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/Distinct.c:80:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XColor [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/Distinct.c:70:20: style: Parameter 'pixels' can be declared as pointer to const [constParameterPointer] libXmu-1.1.3/src/DrRndRect.c:53:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/DrRndRect.c:121:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCArcMode [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/DrawLogo.c:78:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/ExtAgent.c:36:13: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] libXmu-1.1.3/src/ExtAgent.c:36:29: style: Parameter 'cont' can be declared as pointer to const [constParameterPointer] libXmu-1.1.3/src/FToCback.c:41:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable callback [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/CrCmap.c:154:9: warning: Possible null pointer dereference: vinfo [nullPointer] libXmu-1.1.3/src/CrCmap.c:143:24: note: Assignment 'v=NULL', assigned value is 0 libXmu-1.1.3/src/CrCmap.c:146:20: note: Assuming condition is false libXmu-1.1.3/src/CrCmap.c:150:14: note: Assignment 'vinfo=v', assigned value is 0 libXmu-1.1.3/src/CrCmap.c:154:9: note: Null pointer dereference libXmu-1.1.3/src/CrCmap.c:170:42: style: Parameter 'vinfo' can be declared as pointer to const [constParameterPointer] libXmu-1.1.3/src/CrCmap.c:376:26: style: Parameter 'pixels' can be declared as const array [constParameter] libXmu-1.1.3/src/CrCmap.c:471:60: style: Parameter 'request' can be declared as pointer to const [constParameterPointer] libXmu-1.1.3/src/CrCmap.c:505:41: style: Parameter 'vinfo' can be declared as pointer to const [constParameterPointer] libXmu-1.1.3/src/LocBitmap.c:127:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NULLQUARK [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/Lookup.c:136:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoSymbol [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/EditresCom.c:210:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/EditresCom.c:287:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HEADER_SIZE [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/EditresCom.c:428:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SetValues [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/EditresCom.c:456:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EDITRES_FORMAT [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/EditresCom.c:482:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _Xconst [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/EditresCom.c:573:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HEADER_SIZE [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/EditresCom.c:616:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Failure [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/EditresCom.c:653:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HEADER_SIZE [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/EditresCom.c:757:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable resource_name [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/EditresCom.c:944:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _Xconst [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/EditresCom.c:993:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/EditresCom.c:1053:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtVaTypedArg [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/EditresCom.c:1105:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XER_NBBY [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/EditresCom.c:1170:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EDITRES_IS_UNREALIZED [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/EditresCom.c:1208:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _Xconst [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/EditresCom.c:1265:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/EditresCom.c:1338:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNmappedWhenManaged [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/EditresCom.c:1420:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _Xconst [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/EditresCom.c:1463:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _Xconst [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/EditresCom.c:1523:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NormalResource [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/EditresCom.c:1564:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _Xconst [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/EditresCom.c:1677:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HEADER_SIZE [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/EditresCom.c:1701:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XER_NBBY [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/EditresCom.c:1722:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BYTE_MASK [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/EditresCom.c:1767:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HEADER_SIZE [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/EditresCom.c:1827:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XER_NBBY [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/EditresCom.c:1853:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XER_NBBY [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/EditresCom.c:1887:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XER_NBBY [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/EditresCom.c:2017:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/EditresCom.c:2053:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtRImmediate [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/EditresCom.c:2095:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable resource_name [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/LookupCmap.c:100:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VisualIDMask [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/LookupCmap.c:224:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_RGB_DEFAULT_MAP [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/LookupCmap.c:293:25: style: Variable 'map' can be declared as pointer to const [constVariablePointer] libXmu-1.1.3/src/Lower.c:64:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _Xconst [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/Lower.c:77:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _Xconst [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/Lower.c:89:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _Xconst [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/Lower.c:103:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _Xconst [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/Lower.c:119:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _Xconst [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/RdBitF.c:126:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/RdBitF.c:178:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BitmapFileInvalid [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/RdBitF.c:388:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BitmapOpenFailed [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/ShapeWidg.c:61:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmuShapeEllipse [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/ShapeWidg.c:88:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShapeBounding [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/ShapeWidg.c:127:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CapRound [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/ShapeWidg.c:209:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/StdCmap.c:89:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VisualIDMask [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/StdCmap.c:173:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DirectColor [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/StdCmap.c:161:25: style: Parameter 'vinfo' can be declared as pointer to const [constParameterPointer] libXmu-1.1.3/src/StrToBS.c:84:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NotUseful [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/StrToBS.c:112:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtEnotUseful [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/RdBitF.c:180:6: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] libXmu-1.1.3/src/RdBitF.c:201:6: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] libXmu-1.1.3/src/RdBitF.c:203:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] libXmu-1.1.3/src/RdBitF.c:205:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] libXmu-1.1.3/src/RdBitF.c:380:41: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] libXmu-1.1.3/src/StrToBS.c:69:54: style: Parameter 'num_args' can be declared as pointer to const [constParameterPointer] libXmu-1.1.3/src/EditresCom.c:450:61: style: Parameter 'type' can be declared as pointer to const. However it seems that 'GetCommand' is a callback function, if 'type' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libXmu-1.1.3/src/EditresCom.c:250:8: note: You might need to cast the function pointer here libXmu-1.1.3/src/EditresCom.c:450:61: note: Parameter 'type' can be declared as pointer to const libXmu-1.1.3/src/EditresCom.c:451:37: style: Parameter 'length' can be declared as pointer to const. However it seems that 'GetCommand' is a callback function, if 'length' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libXmu-1.1.3/src/EditresCom.c:250:8: note: You might need to cast the function pointer here libXmu-1.1.3/src/EditresCom.c:451:37: note: Parameter 'length' can be declared as pointer to const libXmu-1.1.3/src/EditresCom.c:451:50: style: Parameter 'format' can be declared as pointer to const. However it seems that 'GetCommand' is a callback function, if 'format' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libXmu-1.1.3/src/EditresCom.c:250:8: note: You might need to cast the function pointer here libXmu-1.1.3/src/EditresCom.c:451:50: note: Parameter 'format' can be declared as pointer to const libXmu-1.1.3/src/EditresCom.c:561:55: style: Parameter 'target' can be declared as pointer to const. However it seems that 'ConvertReturnCommand' is a callback function, if 'target' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libXmu-1.1.3/src/EditresCom.c:691:41: note: You might need to cast the function pointer here libXmu-1.1.3/src/EditresCom.c:561:55: note: Parameter 'target' can be declared as pointer to const libXmu-1.1.3/src/EditresCom.c:593:34: style: Parameter 'selection' can be declared as pointer to const. However it seems that 'CommandDone' is a callback function, if 'selection' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libXmu-1.1.3/src/EditresCom.c:691:69: note: You might need to cast the function pointer here libXmu-1.1.3/src/EditresCom.c:593:34: note: Parameter 'selection' can be declared as pointer to const libXmu-1.1.3/src/EditresCom.c:593:51: style: Parameter 'target' can be declared as pointer to const. However it seems that 'CommandDone' is a callback function, if 'target' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libXmu-1.1.3/src/EditresCom.c:691:69: note: You might need to cast the function pointer here libXmu-1.1.3/src/EditresCom.c:593:51: note: Parameter 'target' can be declared as pointer to const libXmu-1.1.3/src/EditresCom.c:898:29: style: Variable 'child' can be declared as pointer to const [constVariablePointer] libXmu-1.1.3/src/EditresCom.c:1737:60: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] libXmu-1.1.3/src/StrToBmap.c:107:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/StrToBmap.c:88:50: style: Parameter 'num_args' can be declared as pointer to const [constParameterPointer] libXmu-1.1.3/src/StrToCurs.c:149:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/StrToCurs.c:328:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable addr [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/StrToGrav.c:96:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGravity [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/StrToJust.c:54:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtEleft [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/StrToJust.c:79:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtJustify [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/StrToJust.c:106:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtEleft [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/StrToGrav.c:69:51: style: Parameter 'num_args' can be declared as pointer to const [constParameterPointer] libXmu-1.1.3/src/StrToJust.c:98:19: style: Parameter 'fromVal' can be declared as pointer to const [constParameterPointer] libXmu-1.1.3/src/StrToLong.c:46:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPointer [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/StrToLong.c:77:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable String [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/StrToLong.c:36:48: style: Parameter 'num_args' can be declared as pointer to const [constParameterPointer] libXmu-1.1.3/src/StrToLong.c:54:62: style: Parameter 'num_args' can be declared as pointer to const [constParameterPointer] libXmu-1.1.3/src/StrToOrnt.c:54:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtEhorizontal [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/StrToOrnt.c:73:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtJustify [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/StrToOrnt.c:99:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtEvertical [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/StrToShap.c:62:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtERectangle [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/StrToShap.c:87:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtERectangle [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/StrToShap.c:79:15: style: Parameter 'fromVal' can be declared as pointer to const [constParameterPointer] libXmu-1.1.3/src/StrToWidg.c:68:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable addr [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/StrToWidg.c:154:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable addr [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/StrToWidg.c:220:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable String [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/UpdMapHint.c:54:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPosition [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/StrToWidg.c:55:50: style: Parameter 'num_args' can be declared as pointer to const [constParameterPointer] libXmu-1.1.3/src/StrToWidg.c:139:65: style: Parameter 'num_args' can be declared as pointer to const [constParameterPointer] libXmu-1.1.3/src/VisCmap.c:92:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VisualScreenMask [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/WidgetNode.c:70:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable compar [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/WidgetNode.c:107:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtResource [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/WidgetNode.c:231:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtResource [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/StrToCurs.c:173:6: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] libXmu-1.1.3/src/StrToCurs.c:173:6: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] libXmu-1.1.3/src/StrToCurs.c:126:50: style: Parameter 'num_args' can be declared as pointer to const [constParameterPointer] libXmu-1.1.3/src/StrToCurs.c:308:69: style: Parameter 'num_args' can be declared as pointer to const [constParameterPointer] libXmu-1.1.3/src/StrToCurs.c:188:28: error: Uninitialized variable: source_font [uninitvar] libXmu-1.1.3/src/WidgetNode.c:236:6: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] libXmu-1.1.3/src/WidgetNode.c:252:6: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] libXmu-1.1.3/src/WidgetNode.c:86:49: style: Parameter 'a' can be declared as pointer to const. However it seems that 'compare_resource_entries' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libXmu-1.1.3/src/WidgetNode.c:247:26: note: You might need to cast the function pointer here libXmu-1.1.3/src/WidgetNode.c:86:49: note: Parameter 'a' can be declared as pointer to const libXmu-1.1.3/src/WidgetNode.c:87:28: style: Parameter 'b' can be declared as pointer to const. However it seems that 'compare_resource_entries' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libXmu-1.1.3/src/WidgetNode.c:247:26: note: You might need to cast the function pointer here libXmu-1.1.3/src/WidgetNode.c:87:28: note: Parameter 'b' can be declared as pointer to const libXmu-1.1.3/src/WidgetNode.c:278:62: style: Parameter 'ownernode' can be declared as pointer to const [constParameterPointer] libXmu-1.1.3/src/Xct.c:239:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XctShiftMultiGRToGL [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/Xct.c:358:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XctRec [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/Xct.c:387:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XctUnspecified [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/Xct.c:430:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XctError [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/Xct.c:675:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XctFreeString [valueFlowBailoutIncompleteVar] libXmu-1.1.3/src/Clip.c:146:9: style: Variable 'p' is reassigned a value before the old one has been used. [redundantAssignment] libXmu-1.1.3/src/Clip.c:142:8: note: p is assigned libXmu-1.1.3/src/Clip.c:146:9: note: p is overwritten libXmu-1.1.3/src/Clip.c:704:9: style: Variable 'p' is reassigned a value before the old one has been used. [redundantAssignment] libXmu-1.1.3/src/Clip.c:700:8: note: p is assigned libXmu-1.1.3/src/Clip.c:704:9: note: p is overwritten libXmu-1.1.3/src/Clip.c:105:36: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] libXmu-1.1.3/src/Clip.c:575:29: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] libXmu-1.1.3/src/Clip.c:575:46: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] libXmu-1.1.3/src/Clip.c:669:48: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] libXmu-1.1.3/src/Clip.c:671:23: style: Variable 'Z' can be declared as pointer to const [constVariablePointer] libXmu-1.1.3/src/Clip.c:435:9: style: Variable 'P' is assigned a value that is never used. [unreadVariable] diff: head libXmu-1.1.3/src/CloseHook.c:200:27: style: Variable 'h' can be declared as pointer to const [constVariablePointer] DONE