2024-04-23 08:32 ftp://ftp.de.debian.org/debian/pool/main/x/xpaint/xpaint_2.9.1.4.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --library=motif --check-library --inconclusive --enable=style,information --inline-suppr --disable=missingInclude --suppress=unmatchedSuppression --template=daca2 --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j2 platform: Linux-6.6.15-amd64-x86_64-with-glibc2.37 python: 3.11.8 client-version: 1.3.53 compiler: g++ (Debian 13.2.0-13) 13.2.0 cppcheck: head 2.14.0 head-info: 9b87f67 (2024-04-23 10:17:07 +0200) count: 1621 1621 elapsed-time: 23.0 22.5 head-timing-info: old-timing-info: head results: xpaint-2.9.1.4/Colormap.c:65:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/Colormap.c:90:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/Colormap.c:163:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNvisual [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/Colormap.c:209:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/Colormap.c:219:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/Colormap.c:232:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DoRed [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/Paint.c:146:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWX [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/Paint.c:322:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/Paint.c:339:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/Paint.c:497:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/Paint.c:607:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/Paint.c:928:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/Paint.c:1193:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/Paint.c:1276:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/Paint.c:1440:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/Paint.c:1482:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/Paint.c:1505:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/Paint.c:1589:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/Paint.c:1616:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/Paint.c:1671:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/Paint.c:1844:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNdestroyCallback [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintEvent.c:75:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintEvent.c:277:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintEvent.c:91:18: style: Checking if unsigned expression 'x' is less than zero. [unsignedLessThanZero] xpaint-2.9.1.4/PaintEvent.c:91:33: style: Checking if unsigned expression 'y' is less than zero. [unsignedLessThanZero] xpaint-2.9.1.4/PaintEvent.c:121:35: warning: Either the condition 'zoom>0' is redundant or there is division by zero at line 121. [zerodivcond] xpaint-2.9.1.4/PaintEvent.c:117:17: note: Assuming that condition 'zoom>0' is not redundant xpaint-2.9.1.4/PaintEvent.c:121:35: note: Division by zero xpaint-2.9.1.4/PaintEvent.c:122:35: warning: Either the condition 'zoom>0' is redundant or there is division by zero at line 122. [zerodivcond] xpaint-2.9.1.4/PaintEvent.c:117:17: note: Assuming that condition 'zoom>0' is not redundant xpaint-2.9.1.4/PaintEvent.c:122:35: note: Division by zero xpaint-2.9.1.4/PaintEvent.c:76:21: style: Variable 'lastDisplay' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/PaintEvent.c:301:12: style: Parameter 'func' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/PaintEvent.c:301:62: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/Paint.c:1418:2: warning: Possible null pointer dereference: first [nullPointer] xpaint-2.9.1.4/Paint.c:1379:37: note: Assignment 'first=NULL', assigned value is 0 xpaint-2.9.1.4/Paint.c:1392:16: note: Assuming condition is false xpaint-2.9.1.4/Paint.c:1418:2: note: Null pointer dereference xpaint-2.9.1.4/Paint.c:367:53: warning: Either the condition 'zoom>0' is redundant or there is division by zero at line 367. [zerodivcond] xpaint-2.9.1.4/Paint.c:364:17: note: Assuming that condition 'zoom>0' is not redundant xpaint-2.9.1.4/Paint.c:367:53: note: Division by zero xpaint-2.9.1.4/Paint.c:373:55: warning: Either the condition 'zoom>0' is redundant or there is division by zero at line 373. [zerodivcond] xpaint-2.9.1.4/Paint.c:370:17: note: Assuming that condition 'zoom>0' is not redundant xpaint-2.9.1.4/Paint.c:373:55: note: Division by zero xpaint-2.9.1.4/Paint.c:1330:34: warning: Either the condition 'new->paint.zoom>0' is redundant or there is division by zero at line 1330. [zerodivcond] xpaint-2.9.1.4/Paint.c:1322:28: note: Assuming that condition 'new->paint.zoom>0' is not redundant xpaint-2.9.1.4/Paint.c:1328:13: note: Assignment 'zoom=-new->paint.zoom', assigned value is 0 xpaint-2.9.1.4/Paint.c:1330:34: note: Division by zero xpaint-2.9.1.4/Paint.c:1331:42: warning: Either the condition 'new->paint.zoom>0' is redundant or there is division by zero at line 1331. [zerodivcond] xpaint-2.9.1.4/Paint.c:1322:28: note: Assuming that condition 'new->paint.zoom>0' is not redundant xpaint-2.9.1.4/Paint.c:1328:13: note: Assignment 'zoom=-new->paint.zoom', assigned value is 0 xpaint-2.9.1.4/Paint.c:1331:42: note: Division by zero xpaint-2.9.1.4/Paint.c:1479:55: warning: Either the condition 'pw->paint.zoom>0' is redundant or there is division by zero at line 1479. [zerodivcond] xpaint-2.9.1.4/Paint.c:1475:23: note: Assuming that condition 'pw->paint.zoom>0' is not redundant xpaint-2.9.1.4/Paint.c:1479:55: note: Division by zero xpaint-2.9.1.4/Paint.c:1480:57: warning: Either the condition 'pw->paint.zoom>0' is redundant or there is division by zero at line 1480. [zerodivcond] xpaint-2.9.1.4/Paint.c:1475:23: note: Assuming that condition 'pw->paint.zoom>0' is not redundant xpaint-2.9.1.4/Paint.c:1480:57: note: Division by zero xpaint-2.9.1.4/Paint.c:269:29: style:inconclusive: Function 'AlphaTwistImage' argument 1 names different: declaration 'w' definition 'pw'. [funcArgNamesDifferent] xpaint-2.9.1.4/Paint.h:207:34: note: Function 'AlphaTwistImage' argument 1 names different: declaration 'w' definition 'pw'. xpaint-2.9.1.4/Paint.c:269:29: note: Function 'AlphaTwistImage' argument 1 names different: declaration 'w' definition 'pw'. xpaint-2.9.1.4/Paint.c:1270:13: style: Local variable 'cur' shadows outer variable [shadowVariable] xpaint-2.9.1.4/Paint.c:1229:17: note: Shadowed declaration xpaint-2.9.1.4/Paint.c:1270:13: note: Shadow variable xpaint-2.9.1.4/Paint.c:142:46: style: Parameter 'request' can be declared as pointer to const. However it seems that 'GeometryManager' is a callback function, if 'request' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/Paint.c:198:29: note: You might need to cast the function pointer here xpaint-2.9.1.4/Paint.c:142:46: note: Parameter 'request' can be declared as pointer to const xpaint-2.9.1.4/Paint.c:241:42: style: Parameter 'u' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/Paint.c:270:32: style: Parameter 'alpha' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/Paint.c:804:21: style: Parameter 'rect' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/Paint.c:822:20: style: Variable 'alpha' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/Paint.c:1013:17: style: Variable 'isec' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/Paint.c:1129:47: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/Paint.c:1350:14: style: Variable 'rect' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/Paint.c:1433:50: style: Parameter 'nargs' can be declared as pointer to const. However it seems that 'GetValuesHook' is a callback function, if 'nargs' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/Paint.c:188:28: note: You might need to cast the function pointer here xpaint-2.9.1.4/Paint.c:1433:50: note: Parameter 'nargs' can be declared as pointer to const xpaint-2.9.1.4/Paint.c:1444:8: style: Variable 'nm' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/Paint.c:1463:48: style: Parameter 'proposed' can be declared as pointer to const. However it seems that 'QueryGeometryProc' is a callback function, if 'proposed' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/Paint.c:193:47: note: You might need to cast the function pointer here xpaint-2.9.1.4/Paint.c:1463:48: note: Parameter 'proposed' can be declared as pointer to const xpaint-2.9.1.4/Paint.c:1498:35: style: Parameter 'rect' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/Paint.c:1639:17: style: Variable 'rect' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/Paint.c:76:52: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] xpaint-2.9.1.4/Paint.c:35:12: style: struct member 'data_s::func' is never used. [unusedStructMember] xpaint-2.9.1.4/Paint.c:37:9: style: struct member 'data_s::mask' is never used. [unusedStructMember] xpaint-2.9.1.4/Paint.c:37:15: style: struct member 'data_s::flag' is never used. [unusedStructMember] xpaint-2.9.1.4/Paint.c:38:20: style: struct member 'data_s::next' is never used. [unusedStructMember] xpaint-2.9.1.4/Paint.c:1021:13: style: Variable 'zsx' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/Paint.c:1022:13: style: Variable 'zsy' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/Paint.c:1026:13: style: Variable 'zsx' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/Paint.c:1027:13: style: Variable 'zsy' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/Paint.c:1348:10: style: Variable 'zoom' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/PaintUndo.c:48:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintUndo.c:60:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintUndo.c:191:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintUndo.c:212:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintUndo.c:233:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintUndo.c:297:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintUndo.c:316:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintUndo.c:365:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintUndo.c:375:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintUndo.c:386:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintUndo.c:231:38: style: Parameter 'rect' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/PaintUndo.c:363:43: style: Parameter 'rect' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/arcOp.c:42:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button4 [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/arcOp.c:160:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPoint [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/arcOp.c:319:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftMask [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/arcOp.c:334:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button4 [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/arcOp.c:278:10: error: Common realloc mistake: 'xpoint' nulled but not freed upon failure [memleakOnRealloc] xpaint-2.9.1.4/arcOp.c:469:16: style:inconclusive: Function 'ArcSetMode' argument 1 names different: declaration 'value' definition 'mode'. [funcArgNamesDifferent] xpaint-2.9.1.4/ops.h:8:21: note: Function 'ArcSetMode' argument 1 names different: declaration 'value' definition 'mode'. xpaint-2.9.1.4/arcOp.c:469:16: note: Function 'ArcSetMode' argument 1 names different: declaration 'value' definition 'mode'. xpaint-2.9.1.4/arcOp.c:37:47: style: Parameter 'event' can be declared as pointer to const. However it seems that 'press' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/arcOp.c:460:19: note: You might need to cast the function pointer here xpaint-2.9.1.4/arcOp.c:37:47: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/arcOp.c:37:63: style: Parameter 'info' can be declared as pointer to const. However it seems that 'press' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/arcOp.c:460:19: note: You might need to cast the function pointer here xpaint-2.9.1.4/arcOp.c:37:63: note: Parameter 'info' can be declared as pointer to const xpaint-2.9.1.4/arcOp.c:300:23: style: Parameter 'event' can be declared as pointer to const. However it seems that 'motion' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/arcOp.c:462:19: note: You might need to cast the function pointer here xpaint-2.9.1.4/arcOp.c:300:23: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/arcOp.c:326:17: style: Parameter 'event' can be declared as pointer to const. However it seems that 'release' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/arcOp.c:464:19: note: You might need to cast the function pointer here xpaint-2.9.1.4/arcOp.c:326:17: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/PaintRegion.c:157:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintRegion.c:191:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintRegion.c:437:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintRegion.c:534:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintRegion.c:701:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintRegion.c:750:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintRegion.c:848:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintRegion.c:999:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button2 [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintRegion.c:1082:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XC_fleur [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintRegion.c:1090:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MotionNotify [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintRegion.c:1219:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCBackground [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintRegion.c:1289:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Expose [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintRegion.c:1479:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintRegion.c:1507:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintRegion.c:1577:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftMask [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintRegion.c:1693:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintRegion.c:1742:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintRegion.c:1885:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintRegion.c:2009:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintRegion.c:2241:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintRegion.c:2262:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintRegion.c:2284:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintRegion.c:2353:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintRegion.c:2373:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintRegion.c:2415:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintRegion.c:2434:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintRegion.c:2453:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintRegion.c:2476:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintRegion.c:2498:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintRegion.c:2530:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintRegion.c:2555:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/boxOp.c:79:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button4 [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/boxOp.c:120:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPoint [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/boxOp.c:159:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftMask [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/boxOp.c:179:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button4 [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/boxOp.c:72:22: style: Parameter 'event' can be declared as pointer to const. However it seems that 'press' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/boxOp.c:309:19: note: You might need to cast the function pointer here xpaint-2.9.1.4/boxOp.c:72:22: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/boxOp.c:145:23: style: Parameter 'event' can be declared as pointer to const. However it seems that 'motion' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/boxOp.c:311:19: note: You might need to cast the function pointer here xpaint-2.9.1.4/boxOp.c:145:23: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/brushOp.c:107:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/brushOp.c:139:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button4 [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/brushOp.c:219:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button4 [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/brushOp.c:352:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/brushOp.c:543:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/brushOp.c:589:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pixel [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/brushOp.c:728:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcolormap [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/brushOp.c:812:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcolormap [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/brushOp.c:876:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtVaTypedArg [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/brushOp.c:898:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstate [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/brushOp.c:950:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/brushOp.c:977:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHAREDIR [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/brushOp.c:1027:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/brushOp.c:1248:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGrabNone [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/brushOp.c:1254:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/brushOp.c:989:11: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] xpaint-2.9.1.4/brushOp.c:990:21: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] xpaint-2.9.1.4/brushOp.c:994:12: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] xpaint-2.9.1.4/brushOp.c:1101:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] xpaint-2.9.1.4/brushOp.c:1113:6: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] xpaint-2.9.1.4/brushOp.c:1007:13: error: Common realloc mistake: 'brushList' nulled but not freed upon failure [memleakOnRealloc] xpaint-2.9.1.4/brushOp.c:1075:9: error: Common realloc mistake: 'brushList' nulled but not freed upon failure [memleakOnRealloc] xpaint-2.9.1.4/brushOp.c:1110:9: error: Common realloc mistake: 'brushList' nulled but not freed upon failure [memleakOnRealloc] xpaint-2.9.1.4/brushOp.c:336:14: style:inconclusive: Function 'stain' argument 1 names different: declaration 'w' definition 'wid'. [funcArgNamesDifferent] xpaint-2.9.1.4/brushOp.c:84:26: note: Function 'stain' argument 1 names different: declaration 'w' definition 'wid'. xpaint-2.9.1.4/brushOp.c:336:14: note: Function 'stain' argument 1 names different: declaration 'w' definition 'wid'. xpaint-2.9.1.4/brushOp.c:423:14: style:inconclusive: Function 'smear' argument 1 names different: declaration 'w' definition 'wid'. [funcArgNamesDifferent] xpaint-2.9.1.4/brushOp.c:87:26: note: Function 'smear' argument 1 names different: declaration 'w' definition 'wid'. xpaint-2.9.1.4/brushOp.c:423:14: note: Function 'smear' argument 1 names different: declaration 'w' definition 'wid'. xpaint-2.9.1.4/brushOp.c:502:15: style:inconclusive: Function 'wbrush' argument 1 names different: declaration 'w' definition 'wid'. [funcArgNamesDifferent] xpaint-2.9.1.4/brushOp.c:88:27: note: Function 'wbrush' argument 1 names different: declaration 'w' definition 'wid'. xpaint-2.9.1.4/brushOp.c:502:15: note: Function 'wbrush' argument 1 names different: declaration 'w' definition 'wid'. xpaint-2.9.1.4/brushOp.c:132:47: style: Parameter 'event' can be declared as pointer to const. However it seems that 'press' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/brushOp.c:831:26: note: You might need to cast the function pointer here xpaint-2.9.1.4/brushOp.c:132:47: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/brushOp.c:134:17: style: Variable 'brush' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/brushOp.c:167:48: style: Parameter 'event' can be declared as pointer to const. However it seems that 'motion' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/brushOp.c:833:26: note: You might need to cast the function pointer here xpaint-2.9.1.4/brushOp.c:167:48: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/brushOp.c:213:49: style: Parameter 'event' can be declared as pointer to const. However it seems that 'release' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/brushOp.c:835:26: note: You might need to cast the function pointer here xpaint-2.9.1.4/brushOp.c:213:49: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/brushOp.c:340:20: style: Variable 'brushbits' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/brushOp.c:343:13: style: Variable 'brushCol' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/brushOp.c:428:20: style: Variable 'brushbits' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/brushOp.c:431:13: style: Variable 'col' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/brushOp.c:507:20: style: Variable 'brushbits' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/brushOp.c:510:13: style: Variable 'col' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/brushOp.c:569:16: style: Variable 'brush' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/brushOp.c:1236:17: style: Variable 'brush' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/brushOp.c:618:20: style: Variable 'xpmAttr.valuemask' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/brushOp.c:619:21: style: Variable 'xpmAttr.numsymbols' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/brushOp.c:620:23: style: Variable 'xpmAttr.colorsymbols' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/chroma.c:100:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/chroma.c:110:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/chroma.c:154:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/chroma.c:237:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/chroma.c:254:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DoRed [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/chroma.c:322:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcolormap [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/chroma.c:311:15: style: Redundant initialization for 'l'. The initialized value is overwritten before it is read. [redundantInitialization] xpaint-2.9.1.4/chroma.c:281:19: note: l is initialized xpaint-2.9.1.4/chroma.c:311:15: note: l is overwritten xpaint-2.9.1.4/chroma.c:74:17: style: Local variable 'dInfo' shadows outer variable [shadowVariable] xpaint-2.9.1.4/chroma.c:69:20: note: Shadowed declaration xpaint-2.9.1.4/chroma.c:74:17: note: Shadow variable xpaint-2.9.1.4/chroma.c:82:42: style: Parameter 'percent' can be declared as pointer to const. However it seems that 'barCB' is a callback function, if 'percent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/chroma.c:410:22: note: You might need to cast the function pointer here xpaint-2.9.1.4/chroma.c:82:42: note: Parameter 'percent' can be declared as pointer to const xpaint-2.9.1.4/chroma.c:213:13: style: Variable 'xcol' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/circleOp.c:78:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/circleOp.c:101:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button4 [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/circleOp.c:133:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/circleOp.c:156:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button4 [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/circleOp.c:244:30: style:inconclusive: Function 'CircleRemove' argument 2 names different: declaration 'p' definition 'l'. [funcArgNamesDifferent] xpaint-2.9.1.4/ops.h:41:35: note: Function 'CircleRemove' argument 2 names different: declaration 'p' definition 'l'. xpaint-2.9.1.4/circleOp.c:244:30: note: Function 'CircleRemove' argument 2 names different: declaration 'p' definition 'l'. xpaint-2.9.1.4/circleOp.c:274:36: style:inconclusive: Function 'FilledCircleRemove' argument 2 names different: declaration 'p' definition 'l'. [funcArgNamesDifferent] xpaint-2.9.1.4/ops.h:43:41: note: Function 'FilledCircleRemove' argument 2 names different: declaration 'p' definition 'l'. xpaint-2.9.1.4/circleOp.c:274:36: note: Function 'FilledCircleRemove' argument 2 names different: declaration 'p' definition 'l'. xpaint-2.9.1.4/circleOp.c:304:28: style:inconclusive: Function 'OvalRemove' argument 2 names different: declaration 'p' definition 'l'. [funcArgNamesDifferent] xpaint-2.9.1.4/ops.h:45:33: note: Function 'OvalRemove' argument 2 names different: declaration 'p' definition 'l'. xpaint-2.9.1.4/circleOp.c:304:28: note: Function 'OvalRemove' argument 2 names different: declaration 'p' definition 'l'. xpaint-2.9.1.4/circleOp.c:335:34: style:inconclusive: Function 'FilledOvalRemove' argument 2 names different: declaration 'p' definition 'l'. [funcArgNamesDifferent] xpaint-2.9.1.4/ops.h:47:39: note: Function 'FilledOvalRemove' argument 2 names different: declaration 'p' definition 'l'. xpaint-2.9.1.4/circleOp.c:335:34: note: Function 'FilledOvalRemove' argument 2 names different: declaration 'p' definition 'l'. xpaint-2.9.1.4/circleOp.c:44:56: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/circleOp.c:93:22: style: Parameter 'event' can be declared as pointer to const. However it seems that 'press' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/circleOp.c:338:19: note: You might need to cast the function pointer here xpaint-2.9.1.4/circleOp.c:93:22: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/circleOp.c:127:23: style: Parameter 'event' can be declared as pointer to const. However it seems that 'motion' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/circleOp.c:340:19: note: You might need to cast the function pointer here xpaint-2.9.1.4/circleOp.c:127:23: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/circleOp.c:147:17: style: Parameter 'event' can be declared as pointer to const. However it seems that 'release' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/circleOp.c:342:19: note: You might need to cast the function pointer here xpaint-2.9.1.4/circleOp.c:147:17: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/color.c:205:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/color.c:244:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/color.c:295:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/color.c:315:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonPress [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/color.c:420:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/color.c:476:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/color.c:579:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/color.c:620:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/color.c:676:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/color.c:789:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackground [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/color.c:814:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackground [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/color.c:844:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGrabNone [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/color.c:877:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackground [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/color.c:940:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/color.c:276:11: style: Variable 'p' is reassigned a value before the old one has been used. [redundantAssignment] xpaint-2.9.1.4/color.c:268:7: note: p is assigned xpaint-2.9.1.4/color.c:276:11: note: p is overwritten xpaint-2.9.1.4/color.c:491:13: style: Variable 'xcol' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/color.c:669:51: style: Parameter 'pixval' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/color.c:848:41: style: Parameter 'xcol' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/color.c:750:13: style: Variable 'subform' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/colorEdit.c:90:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNx [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/dialog.c:83:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/dialog.c:168:11: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/dialog.c:83:55: style: Variable 'cancelButton' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/dialog.c:175:1: error: va_list 'ap' was opened but not closed by va_end(). [va_end_missing] xpaint-2.9.1.4/PaintRegion.c:981:27: error: Array 'fixedPoint[9]' accessed at index 9, which is out of bounds. [arrayIndexOutOfBounds] xpaint-2.9.1.4/PaintRegion.c:946:5: note: After for loop, index has value 9 xpaint-2.9.1.4/PaintRegion.c:981:27: note: Array index out of bounds xpaint-2.9.1.4/PaintRegion.c:982:27: error: Array 'fixedPoint[9]' accessed at index 9, which is out of bounds. [arrayIndexOutOfBounds] xpaint-2.9.1.4/PaintRegion.c:946:5: note: After for loop, index has value 9 xpaint-2.9.1.4/PaintRegion.c:982:27: note: Array index out of bounds xpaint-2.9.1.4/PaintRegion.c:1561:19: error: Array 'isLeftEdge[9]' accessed at index 9, which is out of bounds. [arrayIndexOutOfBounds] xpaint-2.9.1.4/PaintRegion.c:1541:5: note: After for loop, index has value 9 xpaint-2.9.1.4/PaintRegion.c:1561:19: note: Array index out of bounds xpaint-2.9.1.4/PaintRegion.c:812:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] xpaint-2.9.1.4/PaintRegion.c:815:7: note: Found duplicate branches for 'if' and 'else'. xpaint-2.9.1.4/PaintRegion.c:812:5: note: Found duplicate branches for 'if' and 'else'. xpaint-2.9.1.4/PaintRegion.c:348:18: warning: Either the condition 'zoom>0' is redundant or there is division by zero at line 348. [zerodivcond] xpaint-2.9.1.4/PaintRegion.c:321:17: note: Assuming that condition 'zoom>0' is not redundant xpaint-2.9.1.4/PaintRegion.c:348:18: note: Division by zero xpaint-2.9.1.4/PaintRegion.c:384:22: warning: Either the condition 'zoom>0' is redundant or there is division by zero at line 384. [zerodivcond] xpaint-2.9.1.4/PaintRegion.c:374:21: note: Assuming that condition 'zoom>0' is not redundant xpaint-2.9.1.4/PaintRegion.c:384:22: note: Division by zero xpaint-2.9.1.4/PaintRegion.c:586:12: warning: Either the condition 'zoom>0' is redundant or there is division by zero at line 586. [zerodivcond] xpaint-2.9.1.4/PaintRegion.c:580:13: note: Assuming that condition 'zoom>0' is not redundant xpaint-2.9.1.4/PaintRegion.c:586:12: note: Division by zero xpaint-2.9.1.4/PaintRegion.c:587:12: warning: Either the condition 'zoom>0' is redundant or there is division by zero at line 587. [zerodivcond] xpaint-2.9.1.4/PaintRegion.c:580:13: note: Assuming that condition 'zoom>0' is not redundant xpaint-2.9.1.4/PaintRegion.c:587:12: note: Division by zero xpaint-2.9.1.4/PaintRegion.c:588:12: warning: Either the condition 'zoom>0' is redundant or there is division by zero at line 588. [zerodivcond] xpaint-2.9.1.4/PaintRegion.c:580:13: note: Assuming that condition 'zoom>0' is not redundant xpaint-2.9.1.4/PaintRegion.c:588:12: note: Division by zero xpaint-2.9.1.4/PaintRegion.c:589:12: warning: Either the condition 'zoom>0' is redundant or there is division by zero at line 589. [zerodivcond] xpaint-2.9.1.4/PaintRegion.c:580:13: note: Assuming that condition 'zoom>0' is not redundant xpaint-2.9.1.4/PaintRegion.c:589:12: note: Division by zero xpaint-2.9.1.4/PaintRegion.c:829:20: warning: Either the condition 'zoom>0' is redundant or there is division by zero at line 829. [zerodivcond] xpaint-2.9.1.4/PaintRegion.c:820:13: note: Assuming that condition 'zoom>0' is not redundant xpaint-2.9.1.4/PaintRegion.c:829:20: note: Division by zero xpaint-2.9.1.4/PaintRegion.c:1196:17: warning: Either the condition 'zoom>0' is redundant or there is division by zero at line 1196. [zerodivcond] xpaint-2.9.1.4/PaintRegion.c:1192:17: note: Assuming that condition 'zoom>0' is not redundant xpaint-2.9.1.4/PaintRegion.c:1196:17: note: Division by zero xpaint-2.9.1.4/PaintRegion.c:1197:24: warning: Either the condition 'zoom>0' is redundant or there is division by zero at line 1197. [zerodivcond] xpaint-2.9.1.4/PaintRegion.c:1192:17: note: Assuming that condition 'zoom>0' is not redundant xpaint-2.9.1.4/PaintRegion.c:1197:24: note: Division by zero xpaint-2.9.1.4/PaintRegion.c:1212:16: warning: Either the condition 'zoom>0' is redundant or there is division by zero at line 1212. [zerodivcond] xpaint-2.9.1.4/PaintRegion.c:1208:13: note: Assuming that condition 'zoom>0' is not redundant xpaint-2.9.1.4/PaintRegion.c:1212:16: note: Division by zero xpaint-2.9.1.4/PaintRegion.c:1213:16: warning: Either the condition 'zoom>0' is redundant or there is division by zero at line 1213. [zerodivcond] xpaint-2.9.1.4/PaintRegion.c:1208:13: note: Assuming that condition 'zoom>0' is not redundant xpaint-2.9.1.4/PaintRegion.c:1213:16: note: Division by zero xpaint-2.9.1.4/PaintRegion.c:2197:56: warning: Either the condition 'zoom>0' is redundant or there is division by zero at line 2197. [zerodivcond] xpaint-2.9.1.4/PaintRegion.c:2190:13: note: Assuming that condition 'zoom>0' is not redundant xpaint-2.9.1.4/PaintRegion.c:2197:56: note: Division by zero xpaint-2.9.1.4/PaintRegion.c:2198:18: warning: Either the condition 'zoom>0' is redundant or there is division by zero at line 2198. [zerodivcond] xpaint-2.9.1.4/PaintRegion.c:2190:13: note: Assuming that condition 'zoom>0' is not redundant xpaint-2.9.1.4/PaintRegion.c:2198:18: note: Division by zero xpaint-2.9.1.4/dynPenOp.c:136:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button1Mask [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/dynPenOp.c:178:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MotionNotify [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/dynPenOp.c:193:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_ATOM [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/dynPenOp.c:269:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/dynPenOp.c:298:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button1Mask [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/dynPenOp.c:372:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/PaintRegion.c:928:52: style: Parameter 'event' can be declared as pointer to const. However it seems that 'gripPress' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/PaintRegion.c:2161:27: note: You might need to cast the function pointer here xpaint-2.9.1.4/PaintRegion.c:928:52: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/PaintRegion.c:930:16: style: Variable 'fixedPoint' can be declared as const array [constVariable] xpaint-2.9.1.4/PaintRegion.c:1055:62: style: Parameter 'event' can be declared as pointer to const. However it seems that 'regionButtonRelease' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/PaintRegion.c:2128:23: note: You might need to cast the function pointer here xpaint-2.9.1.4/PaintRegion.c:1055:62: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/PaintRegion.c:1519:51: style: Parameter 'event' can be declared as pointer to const. However it seems that 'gripGrab' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/PaintRegion.c:2165:27: note: You might need to cast the function pointer here xpaint-2.9.1.4/PaintRegion.c:1519:51: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/PaintRegion.c:1521:20: style: Variable 'isLeftEdge' can be declared as const array [constVariable] xpaint-2.9.1.4/PaintRegion.c:1525:20: style: Variable 'isTopEdge' can be declared as const array [constVariable] xpaint-2.9.1.4/PaintRegion.c:1529:20: style: Variable 'isMiddle' can be declared as const array [constVariable] xpaint-2.9.1.4/PaintRegion.c:2449:35: style: Parameter 'xs' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/PaintRegion.c:2449:46: style: Parameter 'ys' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/PaintRegion.c:2472:35: style: Parameter 'xs' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/PaintRegion.c:2472:46: style: Parameter 'ys' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/PaintRegion.c:1184:18: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] xpaint-2.9.1.4/PaintRegion.c:264:25: style: Variable 'bytes_per_pixel' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/PaintRegion.c:2284:19: style: Variable 'myMask' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/PaintRegion.c:2290:10: style: Variable 'zoom' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/fatBitsEdit.c:113:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSegment [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fatBitsEdit.c:134:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSegment [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fatBitsEdit.c:174:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonRelease [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fatBitsEdit.c:264:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PointerMotionMask [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fatBitsEdit.c:304:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PointerMotionMask [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fatBitsEdit.c:345:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PointerMotionMask [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fatBitsEdit.c:408:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fatBitsEdit.c:524:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fatBitsEdit.c:588:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNx [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fatBitsEdit.c:610:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MotionNotify [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fatBitsEdit.c:669:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNborderWidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fatBitsEdit.c:705:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstate [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fatBitsEdit.c:765:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNx [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fatBitsEdit.c:835:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/dynPenOp.c:66:41: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/dynPenOp.c:130:45: style: Parameter 'event' can be declared as pointer to const. However it seems that 'press' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/dynPenOp.c:386:73: note: You might need to cast the function pointer here xpaint-2.9.1.4/dynPenOp.c:130:45: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/dynPenOp.c:176:21: style: Parameter 'd' can be declared as pointer to const. However it seems that 'dummy_pred' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/dynPenOp.c:199:37: note: You might need to cast the function pointer here xpaint-2.9.1.4/dynPenOp.c:176:21: note: Parameter 'd' can be declared as pointer to const xpaint-2.9.1.4/dynPenOp.c:176:42: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'dummy_pred' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/dynPenOp.c:199:37: note: You might need to cast the function pointer here xpaint-2.9.1.4/dynPenOp.c:176:42: note: Parameter 'arg' can be declared as pointer to const xpaint-2.9.1.4/dynPenOp.c:288:47: style: Parameter 'event' can be declared as pointer to const. However it seems that 'release' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/dynPenOp.c:388:93: note: You might need to cast the function pointer here xpaint-2.9.1.4/dynPenOp.c:288:47: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/dynPenOp.c:258:5: style: Variable 'pp' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/fatBitsEdit.c:1022:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xpaint-2.9.1.4/fatBitsEdit.c:953:12: style: Checking if unsigned expression 'lx' is less than zero. [unsignedLessThanZero] xpaint-2.9.1.4/fatBitsEdit.c:954:12: style: Checking if unsigned expression 'ly' is less than zero. [unsignedLessThanZero] xpaint-2.9.1.4/fatBitsEdit.c:423:11: warning: Either the condition 'z>0' is redundant or there is division by zero at line 423. [zerodivcond] xpaint-2.9.1.4/fatBitsEdit.c:417:10: note: Assuming that condition 'z>0' is not redundant xpaint-2.9.1.4/fatBitsEdit.c:423:11: note: Division by zero xpaint-2.9.1.4/fatBitsEdit.c:424:11: warning: Either the condition 'z>0' is redundant or there is division by zero at line 424. [zerodivcond] xpaint-2.9.1.4/fatBitsEdit.c:417:10: note: Assuming that condition 'z>0' is not redundant xpaint-2.9.1.4/fatBitsEdit.c:424:11: note: Division by zero xpaint-2.9.1.4/fatBitsEdit.c:425:12: warning: Either the condition 'z>0' is redundant or there is division by zero at line 425. [zerodivcond] xpaint-2.9.1.4/fatBitsEdit.c:417:10: note: Assuming that condition 'z>0' is not redundant xpaint-2.9.1.4/fatBitsEdit.c:425:12: note: Division by zero xpaint-2.9.1.4/fatBitsEdit.c:426:12: warning: Either the condition 'z>0' is redundant or there is division by zero at line 426. [zerodivcond] xpaint-2.9.1.4/fatBitsEdit.c:417:10: note: Assuming that condition 'z>0' is not redundant xpaint-2.9.1.4/fatBitsEdit.c:426:12: note: Division by zero xpaint-2.9.1.4/fatBitsEdit.c:447:16: warning: Either the condition 'z>0' is redundant or there is division by zero at line 447. [zerodivcond] xpaint-2.9.1.4/fatBitsEdit.c:439:10: note: Assuming that condition 'z>0' is not redundant xpaint-2.9.1.4/fatBitsEdit.c:447:16: note: Division by zero xpaint-2.9.1.4/fatBitsEdit.c:448:16: warning: Either the condition 'z>0' is redundant or there is division by zero at line 448. [zerodivcond] xpaint-2.9.1.4/fatBitsEdit.c:439:10: note: Assuming that condition 'z>0' is not redundant xpaint-2.9.1.4/fatBitsEdit.c:448:16: note: Division by zero xpaint-2.9.1.4/fatBitsEdit.c:569:12: warning: Either the condition 'l->zoom>0' is redundant or there is division by zero at line 569. [zerodivcond] xpaint-2.9.1.4/fatBitsEdit.c:565:16: note: Assuming that condition 'l->zoom>0' is not redundant xpaint-2.9.1.4/fatBitsEdit.c:569:12: note: Division by zero xpaint-2.9.1.4/fatBitsEdit.c:570:12: warning: Either the condition 'l->zoom>0' is redundant or there is division by zero at line 570. [zerodivcond] xpaint-2.9.1.4/fatBitsEdit.c:565:16: note: Assuming that condition 'l->zoom>0' is not redundant xpaint-2.9.1.4/fatBitsEdit.c:570:12: note: Division by zero xpaint-2.9.1.4/fatBitsEdit.c:769:39: warning: Either the condition 'zoom>0' is redundant or there is division by zero at line 769. [zerodivcond] xpaint-2.9.1.4/fatBitsEdit.c:764:21: note: Assuming that condition 'zoom>0' is not redundant xpaint-2.9.1.4/fatBitsEdit.c:769:39: note: Division by zero xpaint-2.9.1.4/fatBitsEdit.c:770:18: warning: Either the condition 'zoom>0' is redundant or there is division by zero at line 770. [zerodivcond] xpaint-2.9.1.4/fatBitsEdit.c:764:21: note: Assuming that condition 'zoom>0' is not redundant xpaint-2.9.1.4/fatBitsEdit.c:770:18: note: Division by zero xpaint-2.9.1.4/fatBitsEdit.c:962:16: warning: Either the condition 'l->zoom>0' is redundant or there is division by zero at line 962. [zerodivcond] xpaint-2.9.1.4/fatBitsEdit.c:958:16: note: Assuming that condition 'l->zoom>0' is not redundant xpaint-2.9.1.4/fatBitsEdit.c:962:16: note: Division by zero xpaint-2.9.1.4/fatBitsEdit.c:963:16: warning: Either the condition 'l->zoom>0' is redundant or there is division by zero at line 963. [zerodivcond] xpaint-2.9.1.4/fatBitsEdit.c:958:16: note: Assuming that condition 'l->zoom>0' is not redundant xpaint-2.9.1.4/fatBitsEdit.c:963:16: note: Division by zero xpaint-2.9.1.4/fatBitsEdit.c:162:59: style: Parameter 'event' can be declared as pointer to const. However it seems that 'FatCursorDraw' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/fatBitsEdit.c:347:30: note: You might need to cast the function pointer here xpaint-2.9.1.4/fatBitsEdit.c:162:59: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/fatBitsEdit.c:583:47: style: Parameter 'event' can be declared as pointer to const. However it seems that 'press' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/fatBitsEdit.c:979:26: note: You might need to cast the function pointer here xpaint-2.9.1.4/fatBitsEdit.c:583:47: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/fileBrowser.c:109:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fileBrowser.c:221:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNtitle [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fileBrowser.c:239:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNtitle [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fileBrowser.c:318:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNnumberStrings [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fileBrowser.c:334:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fileBrowser.c:547:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fileBrowser.c:685:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstate [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fileBrowser.c:823:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fileBrowser.c:850:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fileBrowser.c:915:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fileBrowser.c:951:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fileBrowser.c:970:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fileBrowser.c:1000:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fileBrowser.c:1020:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fileBrowser.c:1044:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fileBrowser.c:1089:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable formWidgetClass [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fileBrowser.c:1247:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fileBrowser.c:1594:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fileBrowser.c:1724:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable formWidgetClass [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fileBrowser.c:1845:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNdestroyCallback [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fileBrowser.c:1870:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IsViewable [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fillOp.c:373:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonRelease [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fillOp.c:629:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcolormap [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fileBrowser.c:428:11: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] xpaint-2.9.1.4/fileBrowser.c:435:11: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] xpaint-2.9.1.4/fileBrowser.c:566:12: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] xpaint-2.9.1.4/fileBrowser.c:579:17: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] xpaint-2.9.1.4/fileBrowser.c:1310:21: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] xpaint-2.9.1.4/fileBrowser.c:1657:16: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] xpaint-2.9.1.4/fileBrowser.c:377:9: style: The if condition is the same as the previous if condition [duplicateCondition] xpaint-2.9.1.4/fileBrowser.c:376:9: note: First condition xpaint-2.9.1.4/fileBrowser.c:377:9: note: Second condition xpaint-2.9.1.4/fileBrowser.c:1024:15: error: Memory leak: dir [memleak] xpaint-2.9.1.4/fileBrowser.c:1027:33: error: Memory leak: dir [memleak] xpaint-2.9.1.4/fileBrowser.c:985:9: error: Common realloc mistake: 'text' nulled but not freed upon failure [memleakOnRealloc] xpaint-2.9.1.4/fileBrowser.c:561:25: warning: Either the condition 'dir==NULL' is redundant or there is possible null pointer dereference: dir. [nullPointerRedundantCheck] xpaint-2.9.1.4/fileBrowser.c:572:25: note: Assuming that condition 'dir==NULL' is not redundant xpaint-2.9.1.4/fileBrowser.c:561:25: note: Null pointer dereference xpaint-2.9.1.4/fileBrowser.c:1657:14: style: Variable 'name_format' is reassigned a value before the old one has been used. [redundantAssignment] xpaint-2.9.1.4/fileBrowser.c:1653:18: note: name_format is assigned xpaint-2.9.1.4/fileBrowser.c:1657:14: note: name_format is overwritten xpaint-2.9.1.4/fileBrowser.c:1657:14: style: Variable 'name_format' is reassigned a value before the old one has been used. [redundantAssignment] xpaint-2.9.1.4/fileBrowser.c:1655:18: note: name_format is assigned xpaint-2.9.1.4/fileBrowser.c:1657:14: note: name_format is overwritten xpaint-2.9.1.4/fileBrowser.c:678:9: style:inconclusive: Same expression used in consecutive assignments of 'zoom' and 'zoom_prev'. [duplicateAssignExpression] xpaint-2.9.1.4/fileBrowser.c:678:37: note: Same expression used in consecutive assignments of 'zoom' and 'zoom_prev'. xpaint-2.9.1.4/fileBrowser.c:678:9: note: Same expression used in consecutive assignments of 'zoom' and 'zoom_prev'. xpaint-2.9.1.4/fileBrowser.c:463:12: style: Local variable 'cp' shadows outer variable [shadowVariable] xpaint-2.9.1.4/fileBrowser.c:413:11: note: Shadowed declaration xpaint-2.9.1.4/fileBrowser.c:463:12: note: Shadow variable xpaint-2.9.1.4/fileBrowser.c:580:14: style: Local variable 'statbuf' shadows outer variable [shadowVariable] xpaint-2.9.1.4/fileBrowser.c:526:17: note: Shadowed declaration xpaint-2.9.1.4/fileBrowser.c:580:14: note: Shadow variable xpaint-2.9.1.4/fileBrowser.c:1249:20: style: Local variable 'toglt' shadows outer variable [shadowVariable] xpaint-2.9.1.4/fileBrowser.c:297:37: note: Shadowed declaration xpaint-2.9.1.4/fileBrowser.c:1249:20: note: Shadow variable xpaint-2.9.1.4/fileBrowser.c:1597:20: style: Local variable 'toglt' shadows outer variable [shadowVariable] xpaint-2.9.1.4/fileBrowser.c:297:37: note: Shadowed declaration xpaint-2.9.1.4/fileBrowser.c:1597:20: note: Shadow variable xpaint-2.9.1.4/fileBrowser.c:410:19: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/fileBrowser.c:424:17: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/fileBrowser.c:689:23: style: Variable 'lr' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/fileBrowser.c:867:11: style: Variable 'home' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/fileBrowser.c:997:26: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/fileBrowser.c:1035:26: style: Variable 'item' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/fileBrowser.c:533:9: warning: Size of pointer 'list' used instead of size of its data. [pointerSize] xpaint-2.9.1.4/fileBrowser.c:570:5: warning: Size of pointer 'list' used instead of size of its data. [pointerSize] xpaint-2.9.1.4/fileBrowser.c:1003:9: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/fileBrowser.c:1823:15: style: Variable 'shell' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/fileBrowser.c:1826:15: style: Variable 'shell' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/fileBrowser.c:1829:15: style: Variable 'shell' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/fileBrowser.c:1832:15: style: Variable 'shell' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/fileBrowser.c:1835:8: style: Variable 'shell' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/fileBrowser.c:1838:8: style: Variable 'shell' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/fillOp.c:103:16: style: Local variable 'xMin' shadows outer variable [shadowVariable] xpaint-2.9.1.4/fillOp.c:66:12: note: Shadowed declaration xpaint-2.9.1.4/fillOp.c:103:16: note: Shadow variable xpaint-2.9.1.4/fillOp.c:103:22: style: Local variable 'yMin' shadows outer variable [shadowVariable] xpaint-2.9.1.4/fillOp.c:66:18: note: Shadowed declaration xpaint-2.9.1.4/fillOp.c:103:22: note: Shadow variable xpaint-2.9.1.4/fillOp.c:103:28: style: Local variable 'xMax' shadows outer variable [shadowVariable] xpaint-2.9.1.4/fillOp.c:66:24: note: Shadowed declaration xpaint-2.9.1.4/fillOp.c:103:28: note: Shadow variable xpaint-2.9.1.4/fillOp.c:103:34: style: Local variable 'yMax' shadows outer variable [shadowVariable] xpaint-2.9.1.4/fillOp.c:66:30: note: Shadowed declaration xpaint-2.9.1.4/fillOp.c:103:34: note: Shadow variable xpaint-2.9.1.4/fillOp.c:285:13: style: Variable 'col' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/fillOp.c:312:13: style: Variable 'col' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/fillOp.c:359:30: style: Parameter 'l' can be declared as pointer to const. However it seems that 'motion' is a callback function, if 'l' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/fillOp.c:545:19: note: You might need to cast the function pointer here xpaint-2.9.1.4/fillOp.c:359:30: note: Parameter 'l' can be declared as pointer to const xpaint-2.9.1.4/fillOp.c:359:48: style: Parameter 'event' can be declared as pointer to const. However it seems that 'motion' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/fillOp.c:545:19: note: You might need to cast the function pointer here xpaint-2.9.1.4/fillOp.c:359:48: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/fillOp.c:359:64: style: Parameter 'info' can be declared as pointer to const. However it seems that 'motion' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/fillOp.c:545:19: note: You might need to cast the function pointer here xpaint-2.9.1.4/fillOp.c:359:64: note: Parameter 'info' can be declared as pointer to const xpaint-2.9.1.4/fillOp.c:364:29: style: Parameter 'l' can be declared as pointer to const. However it seems that 'press' is a callback function, if 'l' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/fillOp.c:543:19: note: You might need to cast the function pointer here xpaint-2.9.1.4/fillOp.c:364:29: note: Parameter 'l' can be declared as pointer to const xpaint-2.9.1.4/fillOp.c:621:13: style: Variable 'col' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/fillOp.c:239:27: style: Variable 'dy' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/fillOp.c:309:27: style: Variable 'dy' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/fontSelect.c:243:13: debug: Scope::checkVariable found variable 'bool' with varid 0. [varid0] xpaint-2.9.1.4/fontSelect.c:494:13: debug: Scope::checkVariable found variable 'bool' with varid 0. [varid0] xpaint-2.9.1.4/fontSelect.c:1051:13: debug: Scope::checkVariable found variable 'bool' with varid 0. [varid0] xpaint-2.9.1.4/fontOp.c:233:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcolormap [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fontOp.c:497:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonRelease [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fontOp.c:635:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcolormap [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fontOp.c:795:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_PRIMARY [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fontSelect.c:166:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackgroundPixmap [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fontSelect.c:259:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcolormap [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fontSelect.c:436:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fontSelect.c:447:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fontSelect.c:470:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fontSelect.c:497:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstate [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fontSelect.c:546:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonPress [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fontSelect.c:650:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fontSelect.c:742:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fontSelect.c:815:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonRelease [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fontSelect.c:846:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fontSelect.c:874:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fontSelect.c:902:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fontSelect.c:909:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fontSelect.c:1013:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fontSelect.c:1055:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstate [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fontSelect.c:1099:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inputDataAction [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/fontSelect.c:922:21: error: Array 'editMenu[18]' accessed at index 18, which is out of bounds. [arrayIndexOutOfBounds] xpaint-2.9.1.4/fontSelect.c:921:24: note: Assuming that condition 'j<=18' is not redundant xpaint-2.9.1.4/fontSelect.c:922:21: note: Array index out of bounds xpaint-2.9.1.4/fontSelect.c:842:7: error: Common realloc mistake: 'str' nulled but not freed upon failure [memleakOnRealloc] xpaint-2.9.1.4/fontSelect.c:205:34: warning: Either the condition '!ptr' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] xpaint-2.9.1.4/fontSelect.c:204:17: note: Assuming that condition '!ptr' is not redundant xpaint-2.9.1.4/fontSelect.c:205:34: note: Null pointer addition xpaint-2.9.1.4/fontSelect.c:117:25: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/fontSelect.c:425:43: style: Parameter 'percent' can be declared as pointer to const. However it seems that 'barCallback' is a callback function, if 'percent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/fontSelect.c:1596:22: note: You might need to cast the function pointer here xpaint-2.9.1.4/fontSelect.c:425:43: note: Parameter 'percent' can be declared as pointer to const xpaint-2.9.1.4/fontSelect.c:483:38: style: Parameter 'argArg' can be declared as pointer to const. However it seems that 'applySetCallback' is a callback function, if 'argArg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/fontSelect.c:529:33: note: You might need to cast the function pointer here xpaint-2.9.1.4/fontSelect.c:483:38: note: Parameter 'argArg' can be declared as pointer to const xpaint-2.9.1.4/fontSelect.c:541:55: style: Parameter 'event' can be declared as pointer to const. However it seems that 'unselectCallback' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/fontSelect.c:1592:25: note: You might need to cast the function pointer here xpaint-2.9.1.4/fontSelect.c:541:55: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/fontSelect.c:565:26: style: Variable 'item' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/fontSelect.c:566:18: style: Variable 'ptr2' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/fontSelect.c:1206:11: style: Variable 'label' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/fontOp.c:238:17: warning: Identical condition '!text', second condition is always false [identicalConditionAfterEarlyExit] xpaint-2.9.1.4/fontOp.c:232:9: note: If condition '!text' is true, the function will return/exit xpaint-2.9.1.4/fontOp.c:238:17: note: Testing identical condition '!text' xpaint-2.9.1.4/fontOp.c:794:9: style: Condition '!inited' is always true [knownConditionTrueFalse] xpaint-2.9.1.4/fontOp.c:121:64: style: Parameter 'type' can be declared as pointer to const. However it seems that 'gotSelection' is a callback function, if 'type' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/fontOp.c:529:34: note: You might need to cast the function pointer here xpaint-2.9.1.4/fontOp.c:121:64: note: Parameter 'type' can be declared as pointer to const xpaint-2.9.1.4/fontOp.c:122:39: style: Parameter 'len' can be declared as pointer to const. However it seems that 'gotSelection' is a callback function, if 'len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/fontOp.c:529:34: note: You might need to cast the function pointer here xpaint-2.9.1.4/fontOp.c:122:39: note: Parameter 'len' can be declared as pointer to const xpaint-2.9.1.4/fontOp.c:213:16: style: Variable 'l' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/fontOp.c:490:30: style: Parameter 'l' can be declared as pointer to const. However it seems that 'motion' is a callback function, if 'l' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/fontOp.c:831:23: note: You might need to cast the function pointer here xpaint-2.9.1.4/fontOp.c:490:30: note: Parameter 'l' can be declared as pointer to const xpaint-2.9.1.4/fontOp.c:490:48: style: Parameter 'event' can be declared as pointer to const. However it seems that 'motion' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/fontOp.c:831:23: note: You might need to cast the function pointer here xpaint-2.9.1.4/fontOp.c:490:48: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/fontOp.c:490:64: style: Parameter 'info' can be declared as pointer to const. However it seems that 'motion' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/fontOp.c:831:23: note: You might need to cast the function pointer here xpaint-2.9.1.4/fontOp.c:490:64: note: Parameter 'info' can be declared as pointer to const xpaint-2.9.1.4/fontOp.c:535:58: style: Parameter 'info' can be declared as pointer to const. However it seems that 'key' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/fontOp.c:832:74: note: You might need to cast the function pointer here xpaint-2.9.1.4/fontOp.c:535:58: note: Parameter 'info' can be declared as pointer to const xpaint-2.9.1.4/fontOp.c:597:11: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/freehandOp.c:50:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button4 [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/freehandOp.c:112:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button4 [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/freehandOp.c:211:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/freehandOp.c:239:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPoint [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/freehandOp.c:276:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPoint [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/freehandOp.c:150:16: style: Variable 'undo.width' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/freehandOp.c:151:17: style: Variable 'undo.height' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/grab.c:93:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/grab.c:132:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XC_crosshair [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/grab.c:241:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XColor [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/grab.c:411:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DoRed [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/graphic.c:5881:39: error: AST broken: '(' has improper operand. [internalAstError] xpaint-2.9.1.4/help.c:238:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/help.c:335:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable String [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/help.c:530:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGrabNone [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/help.c:610:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/help.c:620:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable helpAction [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/hash.c:154:24: warning: Either the condition 'tbl==NULL' is redundant or there is possible null pointer dereference: tbl. [nullPointerRedundantCheck] xpaint-2.9.1.4/hash.c:158:13: note: Assuming that condition 'tbl==NULL' is not redundant xpaint-2.9.1.4/hash.c:154:24: note: Null pointer dereference xpaint-2.9.1.4/help.c:127:9: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] xpaint-2.9.1.4/help.c:129:4: note: Found duplicate branches for 'if' and 'else'. xpaint-2.9.1.4/help.c:127:9: note: Found duplicate branches for 'if' and 'else'. xpaint-2.9.1.4/help.c:77:28: style: Parameter 'pat' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/help.c:102:11: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/help.c:102:16: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/help.c:189:22: style: Parameter 'cur' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/help.c:273:56: style: Parameter 'list' can be declared as pointer to const. However it seems that 'topicCB' is a callback function, if 'list' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/help.c:487:22: note: You might need to cast the function pointer here xpaint-2.9.1.4/help.c:273:56: note: Parameter 'list' can be declared as pointer to const xpaint-2.9.1.4/help.c:607:64: style: Parameter 'nprms' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/help.c:110:10: style: Variable 'cp' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/help.c:120:17: style: Variable 'cp' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/help.c:123:17: style: Variable 'cp' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/help.c:127:17: style: Variable 'cp' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/help.c:174:6: style: Variable 'nxt' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/imageComp.c:166:1: error: There is an unknown macro here somewhere. Configuration is required. If R is a macro then please configure it. [unknownMacro] xpaint-2.9.1.4/image.c:92:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/image.c:431:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcolormap [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/image.c:589:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/image.c:623:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/image.c:760:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XColor [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/image.c:838:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/image.c:188:20: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/image.c:208:20: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/image.c:249:26: style: Variable 'data' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/image.c:269:14: style: Variable 'col' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/image.c:289:14: style: Variable 'col' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/image.c:356:18: style: Variable 'rgb' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/image.c:470:21: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/image.c:610:33: style: Parameter 'rect' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/image.c:723:38: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/iprocess.c:1243:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/iprocess.c:1652:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/iprocess.c:1740:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/iprocess.c:1878:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/iprocess.c:1928:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/iprocess.c:1967:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/iprocess.c:2038:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/iprocess.c:2076:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonRelease [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/iprocess.c:2104:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable topLevelShellWidgetClass [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/lineOp.c:112:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/lineOp.c:166:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button1Mask [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/lineOp.c:214:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftMask [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/lineOp.c:268:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button1Mask [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/lineOp.c:158:47: style: Parameter 'event' can be declared as pointer to const. However it seems that 'press' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/lineOp.c:435:19: note: You might need to cast the function pointer here xpaint-2.9.1.4/lineOp.c:158:47: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/lineOp.c:204:48: style: Parameter 'event' can be declared as pointer to const. However it seems that 'motion' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/lineOp.c:437:19: note: You might need to cast the function pointer here xpaint-2.9.1.4/lineOp.c:204:48: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/lineOp.c:257:49: style: Parameter 'event' can be declared as pointer to const. However it seems that 'release' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/lineOp.c:439:19: note: You might need to cast the function pointer here xpaint-2.9.1.4/lineOp.c:257:49: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/iprocess.c:1658:1: error: Memory leak: catptr [memleak] xpaint-2.9.1.4/iprocess.c:1934:7: error: Common realloc mistake: 'text' nulled but not freed upon failure [memleakOnRealloc] xpaint-2.9.1.4/iprocess.c:132:11: style: Local variable 'r' shadows outer variable [shadowVariable] xpaint-2.9.1.4/iprocess.c:1196:12: note: Shadowed declaration xpaint-2.9.1.4/iprocess.c:132:11: note: Shadow variable xpaint-2.9.1.4/iprocess.c:132:14: style: Local variable 'g' shadows outer variable [shadowVariable] xpaint-2.9.1.4/iprocess.c:1196:15: note: Shadowed declaration xpaint-2.9.1.4/iprocess.c:132:14: note: Shadow variable xpaint-2.9.1.4/iprocess.c:132:17: style: Local variable 'b' shadows outer variable [shadowVariable] xpaint-2.9.1.4/iprocess.c:1196:18: note: Shadowed declaration xpaint-2.9.1.4/iprocess.c:132:17: note: Shadow variable xpaint-2.9.1.4/iprocess.c:460:15: style: Local variable 'r' shadows outer variable [shadowVariable] xpaint-2.9.1.4/iprocess.c:1196:12: note: Shadowed declaration xpaint-2.9.1.4/iprocess.c:460:15: note: Shadow variable xpaint-2.9.1.4/iprocess.c:460:18: style: Local variable 'g' shadows outer variable [shadowVariable] xpaint-2.9.1.4/iprocess.c:1196:15: note: Shadowed declaration xpaint-2.9.1.4/iprocess.c:460:18: note: Shadow variable xpaint-2.9.1.4/iprocess.c:460:21: style: Local variable 'b' shadows outer variable [shadowVariable] xpaint-2.9.1.4/iprocess.c:1196:18: note: Shadowed declaration xpaint-2.9.1.4/iprocess.c:460:21: note: Shadow variable xpaint-2.9.1.4/iprocess.c:563:27: style: Local variable 'r' shadows outer variable [shadowVariable] xpaint-2.9.1.4/iprocess.c:1196:12: note: Shadowed declaration xpaint-2.9.1.4/iprocess.c:563:27: note: Shadow variable xpaint-2.9.1.4/iprocess.c:563:30: style: Local variable 'g' shadows outer variable [shadowVariable] xpaint-2.9.1.4/iprocess.c:1196:15: note: Shadowed declaration xpaint-2.9.1.4/iprocess.c:563:30: note: Shadow variable xpaint-2.9.1.4/iprocess.c:563:33: style: Local variable 'b' shadows outer variable [shadowVariable] xpaint-2.9.1.4/iprocess.c:1196:18: note: Shadowed declaration xpaint-2.9.1.4/iprocess.c:563:33: note: Shadow variable xpaint-2.9.1.4/iprocess.c:922:24: style: Local variable 'r' shadows outer variable [shadowVariable] xpaint-2.9.1.4/iprocess.c:1196:12: note: Shadowed declaration xpaint-2.9.1.4/iprocess.c:922:24: note: Shadow variable xpaint-2.9.1.4/iprocess.c:922:27: style: Local variable 'g' shadows outer variable [shadowVariable] xpaint-2.9.1.4/iprocess.c:1196:15: note: Shadowed declaration xpaint-2.9.1.4/iprocess.c:922:27: note: Shadow variable xpaint-2.9.1.4/iprocess.c:922:30: style: Local variable 'b' shadows outer variable [shadowVariable] xpaint-2.9.1.4/iprocess.c:1196:18: note: Shadowed declaration xpaint-2.9.1.4/iprocess.c:922:30: note: Shadow variable xpaint-2.9.1.4/iprocess.c:1026:14: style: Local variable 'b' shadows outer variable [shadowVariable] xpaint-2.9.1.4/iprocess.c:1196:18: note: Shadowed declaration xpaint-2.9.1.4/iprocess.c:1026:14: note: Shadow variable xpaint-2.9.1.4/iprocess.c:1261:9: style: Local variable 'r' shadows outer variable [shadowVariable] xpaint-2.9.1.4/iprocess.c:1196:12: note: Shadowed declaration xpaint-2.9.1.4/iprocess.c:1261:9: note: Shadow variable xpaint-2.9.1.4/iprocess.c:1261:12: style: Local variable 'g' shadows outer variable [shadowVariable] xpaint-2.9.1.4/iprocess.c:1196:15: note: Shadowed declaration xpaint-2.9.1.4/iprocess.c:1261:12: note: Shadow variable xpaint-2.9.1.4/iprocess.c:1261:15: style: Local variable 'b' shadows outer variable [shadowVariable] xpaint-2.9.1.4/iprocess.c:1196:18: note: Shadowed declaration xpaint-2.9.1.4/iprocess.c:1261:15: note: Shadow variable xpaint-2.9.1.4/iprocess.c:1730:11: style: Local variable 'error' shadows outer function [shadowFunction] xpaint-2.9.1.4/iprocess.c:1548:10: note: Shadowed declaration xpaint-2.9.1.4/iprocess.c:1730:11: note: Shadow variable xpaint-2.9.1.4/iprocess.c:2293:12: style: Local variable 'output' shadows outer function [shadowFunction] xpaint-2.9.1.4/iprocess.c:1547:10: note: Shadowed declaration xpaint-2.9.1.4/iprocess.c:2293:12: note: Shadow variable xpaint-2.9.1.4/iprocess.c:2294:12: style: Local variable 'error' shadows outer function [shadowFunction] xpaint-2.9.1.4/iprocess.c:1548:10: note: Shadowed declaration xpaint-2.9.1.4/iprocess.c:2294:12: note: Shadow variable xpaint-2.9.1.4/iprocess.c:2330:12: style: Local variable 'output' shadows outer function [shadowFunction] xpaint-2.9.1.4/iprocess.c:1547:10: note: Shadowed declaration xpaint-2.9.1.4/iprocess.c:2330:12: note: Shadow variable xpaint-2.9.1.4/iprocess.c:125:32: style: Parameter 'mat' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/iprocess.c:126:18: style: Parameter 'basePixel' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/iprocess.c:130:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/iprocess.c:418:22: style: Variable 'rgb' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/iprocess.c:459:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/iprocess.c:561:20: style: Variable 'rgb' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/iprocess.c:688:25: style: Variable 'rgb' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/iprocess.c:774:25: style: Variable 'rgb' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/iprocess.c:843:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/iprocess.c:921:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/iprocess.c:1254:30: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/iprocess.c:1256:29: style: Variable 'test' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/iprocess.c:1465:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/iprocess.c:1485:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/iprocess.c:1507:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/iprocess.c:1648:33: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/iprocess.c:1696:24: style: Variable 'superstring[0]' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/iprocess.c:2101:10: style: Variable 'root' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/magnifier.c:280:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/magnifier.c:325:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_PRIVATE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/magnifier.c:388:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button1 [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/magnifier.c:467:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button2 [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/magnifier.c:527:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/magnifier.c:549:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeyRelease [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/magnifier.c:682:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/magnifier.c:912:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZPixmap [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/magnifier.c:1175:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstate [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/magnifier.c:1227:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstate [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/magnifier.c:1265:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/magnifier.c:1356:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/magnifier.c:1391:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MapNotify [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/magnifier.c:1421:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcolormap [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/magnifier.c:1488:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable formWidgetClass [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/magnifier.c:1679:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNx [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/magnifier.c:1692:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/magnifier.c:1724:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/magnifier.c:1800:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSBFirst [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/main.c:347:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/main.c:386:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/main.c:444:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/main.c:520:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable String [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/main.c:624:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XAPPLOADDIR [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/main.c:717:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/magnifier.c:1217:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xpaint-2.9.1.4/magnifier.c:1242:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xpaint-2.9.1.4/magnifier.c:1217:10: error: Invalid usleep() argument nr 1. The value is 3000000 but the valid values are '0:999999'. [invalidFunctionArg] xpaint-2.9.1.4/magnifier.c:1242:10: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] xpaint-2.9.1.4/magnifier.c:1710:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xpaint-2.9.1.4/magnifier.c:1710:2: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xpaint-2.9.1.4/magnifier.c:703:11: style: Checking if unsigned expression 'zoomx' is less than zero. [unsignedLessThanZero] xpaint-2.9.1.4/magnifier.c:709:11: style: Checking if unsigned expression 'zoomy' is less than zero. [unsignedLessThanZero] xpaint-2.9.1.4/magnifier.c:729:14: style: Checking if unsigned expression 'zoomx' is less than zero. [unsignedLessThanZero] xpaint-2.9.1.4/magnifier.c:742:14: style: Checking if unsigned expression 'zoomy' is less than zero. [unsignedLessThanZero] xpaint-2.9.1.4/magnifier.c:972:50: style:inconclusive: Function 'zoom_8' argument 3 names different: declaration 'width' definition 'w'. [funcArgNamesDifferent] xpaint-2.9.1.4/magnifier.c:172:50: note: Function 'zoom_8' argument 3 names different: declaration 'width' definition 'w'. xpaint-2.9.1.4/magnifier.c:972:50: note: Function 'zoom_8' argument 3 names different: declaration 'width' definition 'w'. xpaint-2.9.1.4/magnifier.c:972:57: style:inconclusive: Function 'zoom_8' argument 4 names different: declaration 'height' definition 'h'. [funcArgNamesDifferent] xpaint-2.9.1.4/magnifier.c:172:61: note: Function 'zoom_8' argument 4 names different: declaration 'height' definition 'h'. xpaint-2.9.1.4/magnifier.c:972:57: note: Function 'zoom_8' argument 4 names different: declaration 'height' definition 'h'. xpaint-2.9.1.4/magnifier.c:1012:55: style:inconclusive: Function 'zoom_normal' argument 3 names different: declaration 'width' definition 'w'. [funcArgNamesDifferent] xpaint-2.9.1.4/magnifier.c:173:55: note: Function 'zoom_normal' argument 3 names different: declaration 'width' definition 'w'. xpaint-2.9.1.4/magnifier.c:1012:55: note: Function 'zoom_normal' argument 3 names different: declaration 'width' definition 'w'. xpaint-2.9.1.4/magnifier.c:1012:62: style:inconclusive: Function 'zoom_normal' argument 4 names different: declaration 'height' definition 'h'. [funcArgNamesDifferent] xpaint-2.9.1.4/magnifier.c:173:66: note: Function 'zoom_normal' argument 4 names different: declaration 'height' definition 'h'. xpaint-2.9.1.4/magnifier.c:1012:62: note: Function 'zoom_normal' argument 4 names different: declaration 'height' definition 'h'. xpaint-2.9.1.4/magnifier.c:1057:55: style:inconclusive: Function 'zoom_smooth' argument 3 names different: declaration 'width' definition 'w'. [funcArgNamesDifferent] xpaint-2.9.1.4/magnifier.c:174:55: note: Function 'zoom_smooth' argument 3 names different: declaration 'width' definition 'w'. xpaint-2.9.1.4/magnifier.c:1057:55: note: Function 'zoom_smooth' argument 3 names different: declaration 'width' definition 'w'. xpaint-2.9.1.4/magnifier.c:1057:62: style:inconclusive: Function 'zoom_smooth' argument 4 names different: declaration 'height' definition 'h'. [funcArgNamesDifferent] xpaint-2.9.1.4/magnifier.c:174:66: note: Function 'zoom_smooth' argument 4 names different: declaration 'height' definition 'h'. xpaint-2.9.1.4/magnifier.c:1057:62: note: Function 'zoom_smooth' argument 4 names different: declaration 'height' definition 'h'. xpaint-2.9.1.4/magnifier.c:1254:24: style:inconclusive: Function 'FillVisinfo' argument 1 names different: declaration 'window' definition 'win'. [funcArgNamesDifferent] xpaint-2.9.1.4/magnifier.c:177:24: note: Function 'FillVisinfo' argument 1 names different: declaration 'window' definition 'win'. xpaint-2.9.1.4/magnifier.c:1254:24: note: Function 'FillVisinfo' argument 1 names different: declaration 'window' definition 'win'. xpaint-2.9.1.4/magnifier.c:233:9: style: Local variable 'image' shadows outer variable [shadowVariable] xpaint-2.9.1.4/magnifier.c:88:16: note: Shadowed declaration xpaint-2.9.1.4/magnifier.c:233:9: note: Shadow variable xpaint-2.9.1.4/magnifier.c:179:29: style: Parameter 'pix' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/magnifier.c:203:29: style: Parameter 'rgb' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/magnifier.c:1012:44: style: Parameter 'image' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/magnifier.c:1014:8: style: Variable 'c' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/magnifier.c:1388:56: style: Parameter 'event' can be declared as pointer to const. However it seems that 'iconifyCB' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/magnifier.c:1447:36: note: You might need to cast the function pointer here xpaint-2.9.1.4/magnifier.c:1388:56: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/main.c:520:13: error: Common realloc mistake: 'helpText' nulled but not freed upon failure [memleakOnRealloc] xpaint-2.9.1.4/main.c:605:9: error: Common realloc mistake: 'msgText' nulled but not freed upon failure [memleakOnRealloc] xpaint-2.9.1.4/main.c:718:45: error: Null pointer dereference [nullPointer] xpaint-2.9.1.4/main.c:449:20: style: Redundant initialization for 'visualList'. The initialized value is overwritten before it is read. [redundantInitialization] xpaint-2.9.1.4/main.c:441:29: note: visualList is initialized xpaint-2.9.1.4/main.c:449:20: note: visualList is overwritten xpaint-2.9.1.4/main.c:940:6: style: Local variable 'depth' shadows outer variable [shadowVariable] xpaint-2.9.1.4/main.c:691:9: note: Shadowed declaration xpaint-2.9.1.4/main.c:940:6: note: Shadow variable xpaint-2.9.1.4/main.c:258:11: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/main.c:613:11: style: Variable 'lg' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/main.c:758:15: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/main.c:395:12: style: struct member 'LocalInfo::toplevel' is never used. [unusedStructMember] xpaint-2.9.1.4/main.c:396:9: style: struct member 'LocalInfo::nfiles' is never used. [unusedStructMember] xpaint-2.9.1.4/main.c:397:9: style: struct member 'LocalInfo::pos' is never used. [unusedStructMember] xpaint-2.9.1.4/main.c:398:12: style: struct member 'LocalInfo::files' is never used. [unusedStructMember] xpaint-2.9.1.4/menu.c:68:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/menu.c:84:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable popupMainAction [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/menu.c:186:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/menu.c:201:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/menu.c:233:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNy [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/menu.c:265:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNx [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/menu.c:301:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/menu.c:329:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/menu.c:375:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/menu.c:398:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/menu.c:463:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable smeLineObjectClass [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/menu.c:546:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/menu.c:626:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/menu.c:660:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/menu.c:677:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/misc.c:89:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PMinSize [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/misc.c:105:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/misc.c:125:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/misc.c:145:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SubstructureRedirectMask [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/misc.c:162:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtVaTypedArg [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/misc.c:169:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtVaTypedArg [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/misc.c:175:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtVaTypedArg [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/misc.c:185:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LineSolid [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/misc.c:288:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/misc.c:345:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNdepth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/misc.c:434:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZPixmap [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/misc.c:494:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/misc.c:539:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcolormap [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/misc.c:648:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNvisual [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/misc.c:754:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/misc.c:780:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonPress [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/menu.c:134:14: style: Condition 'c' is always true [knownConditionTrueFalse] xpaint-2.9.1.4/menu.c:165:14: style: Condition 'c' is always true [knownConditionTrueFalse] xpaint-2.9.1.4/menu.c:270:14: style: Unsigned expression 'x' can't be negative so it is unnecessary to test it. [unsignedPositive] xpaint-2.9.1.4/menu.c:270:31: style: Unsigned expression 'y' can't be negative so it is unnecessary to test it. [unsignedPositive] xpaint-2.9.1.4/menu.c:401:13: style: Variable 'len' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/misc.c:641:47: style:inconclusive: Function 'XtVisCreatePopupShell' argument 5 names different: declaration 'num_args' definition 'nargs'. [funcArgNamesDifferent] xpaint-2.9.1.4/misc.h:172:75: note: Function 'XtVisCreatePopupShell' argument 5 names different: declaration 'num_args' definition 'nargs'. xpaint-2.9.1.4/misc.c:641:47: note: Function 'XtVisCreatePopupShell' argument 5 names different: declaration 'num_args' definition 'nargs'. xpaint-2.9.1.4/misc.c:68:17: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/misc.c:71:11: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/misc.c:662:13: style: Parameter 'oldEvent' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/misc.c:662:24: style: Parameter 'newEvent' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/misc.c:731:35: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/misc.c:329:12: style: struct member 'gcList_s::widget' is never used. [unusedStructMember] xpaint-2.9.1.4/operation.c:1663:23: error: Unmatched '('. Configuration: '__GNUC__=1'. [syntaxError] xpaint-2.9.1.4/palette.c:110:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNvisual [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/palette.c:292:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/palette.c:342:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DoRed [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/palette.c:440:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/palette.c:544:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/palette.c:637:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DoRed [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/palette.c:707:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNdestroyCallback [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/palette.c:726:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNdestroyCallback [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:235:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackground [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:335:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:414:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNchildren [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:500:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:524:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackground [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:551:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:597:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstate [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:611:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:625:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:666:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:682:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:702:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:752:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:770:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:783:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNradioData [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:804:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNradioData [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:844:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNradioData [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:858:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNradioData [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:873:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNradioData [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:882:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNradioData [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:899:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNradioData [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:927:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:1068:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNdepth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:1093:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackground [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:1125:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DoRed [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:1187:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonRelease [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:1214:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonRelease [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:1262:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcolormap [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:1284:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackground [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:1312:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:1336:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNradioData [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:1392:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcolormap [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:1419:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:1463:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:1608:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:1633:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pattern.c:1675:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcolormap [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/palette.c:362:21: warning: Possible null pointer dereference: node [nullPointer] xpaint-2.9.1.4/palette.c:329:17: note: Assignment 'node=NULL', assigned value is 0 xpaint-2.9.1.4/palette.c:352:48: note: Assuming condition is false xpaint-2.9.1.4/palette.c:362:21: note: Null pointer dereference xpaint-2.9.1.4/palette.c:438:6: style: Local variable 'c' shadows outer variable [shadowVariable] xpaint-2.9.1.4/palette.c:422:9: note: Shadowed declaration xpaint-2.9.1.4/palette.c:438:6: note: Shadow variable xpaint-2.9.1.4/palette.c:56:13: style: Variable 'ca' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/palette.c:56:42: style: Variable 'cb' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/palette.c:76:16: style: Parameter 'junk' can be declared as pointer to const. However it seems that 'freeFunc' is a callback function, if 'junk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/palette.c:284:40: note: You might need to cast the function pointer here xpaint-2.9.1.4/palette.c:76:16: note: Parameter 'junk' can be declared as pointer to const xpaint-2.9.1.4/palette.c:515:10: style: Variable 'lc' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/palette.c:573:44: style: Parameter 'col' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/palette.c:598:28: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/palette.c:649:26: style: Parameter 'dpy' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/pattern.c:936:31: error: Resource leak: pi [resourceLeak] xpaint-2.9.1.4/pattern.c:549:18: style: Variable 'w_fg' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/pattern.c:889:18: style: Variable 'pi' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/pattern.c:918:45: style: Parameter 'info' can be declared as pointer to const. However it seems that 'deletePatternCallback' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/pattern.c:1911:36: note: You might need to cast the function pointer here xpaint-2.9.1.4/pattern.c:918:45: note: Parameter 'info' can be declared as pointer to const xpaint-2.9.1.4/pattern.c:918:62: style: Parameter 'junk' can be declared as pointer to const. However it seems that 'deletePatternCallback' is a callback function, if 'junk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/pattern.c:1911:36: note: You might need to cast the function pointer here xpaint-2.9.1.4/pattern.c:918:62: note: Parameter 'junk' can be declared as pointer to const xpaint-2.9.1.4/pattern.c:1405:64: style: Parameter 'info' can be declared as pointer to const. However it seems that 'sizeOkChoiceCallback' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/pattern.c:1450:57: note: You might need to cast the function pointer here xpaint-2.9.1.4/pattern.c:1405:64: note: Parameter 'info' can be declared as pointer to const xpaint-2.9.1.4/pattern.c:1623:42: style: Parameter 'pixels' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/pattern.c:557:7: style: Variable 'w_fg' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/pattern.c:562:7: style: Variable 'w_fg' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/pattern.c:1678:29: style: Variable 'map' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/pdfconcat.c:165:38: error: There is an unknown macro here somewhere. Configuration is required. If SLEN_P is a macro then please configure it. [unknownMacro] xpaint-2.9.1.4/pencilOp.c:42:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button4 [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pencilOp.c:127:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button1Mask [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/pencilOp.c:121:49: style: Parameter 'event' can be declared as pointer to const. However it seems that 'release' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/pencilOp.c:221:19: note: You might need to cast the function pointer here xpaint-2.9.1.4/pencilOp.c:121:49: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/polygonOp.c:78:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/polygonOp.c:98:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/polygonOp.c:149:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CoordModeOrigin [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/polygonOp.c:199:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button3 [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/polygonOp.c:229:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button2 [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/polygonOp.c:359:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CoordModeOrigin [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/polygonOp.c:382:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPoint [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/polygonOp.c:209:18: style: Condition 'l->tracking' is always true [knownConditionTrueFalse] xpaint-2.9.1.4/polygonOp.c:401:18: style: Redundant assignment of 'l' to itself. [selfAssignment] xpaint-2.9.1.4/polygonOp.c:468:37: style:inconclusive: Function 'FilledPolygonRemove' argument 2 names different: declaration 'p' definition 'l'. [funcArgNamesDifferent] xpaint-2.9.1.4/ops.h:88:42: note: Function 'FilledPolygonRemove' argument 2 names different: declaration 'p' definition 'l'. xpaint-2.9.1.4/polygonOp.c:468:37: note: Function 'FilledPolygonRemove' argument 2 names different: declaration 'p' definition 'l'. xpaint-2.9.1.4/polygonOp.c:510:37: style:inconclusive: Function 'SelectPolygonRemove' argument 2 names different: declaration 'p' definition 'l'. [funcArgNamesDifferent] xpaint-2.9.1.4/ops.h:90:42: note: Function 'SelectPolygonRemove' argument 2 names different: declaration 'p' definition 'l'. xpaint-2.9.1.4/polygonOp.c:510:37: note: Function 'SelectPolygonRemove' argument 2 names different: declaration 'p' definition 'l'. xpaint-2.9.1.4/polygonOp.c:551:34: style:inconclusive: Function 'BrokenlineRemove' argument 2 names different: declaration 'p' definition 'l'. [funcArgNamesDifferent] xpaint-2.9.1.4/ops.h:92:39: note: Function 'BrokenlineRemove' argument 2 names different: declaration 'p' definition 'l'. xpaint-2.9.1.4/polygonOp.c:551:34: note: Function 'BrokenlineRemove' argument 2 names different: declaration 'p' definition 'l'. xpaint-2.9.1.4/polygonOp.c:86:14: style: Variable 'dpy' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/polygonOp.c:195:47: style: Parameter 'event' can be declared as pointer to const. However it seems that 'press' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/polygonOp.c:554:19: note: You might need to cast the function pointer here xpaint-2.9.1.4/polygonOp.c:195:47: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/polygonOp.c:224:49: style: Parameter 'event' can be declared as pointer to const. However it seems that 'release' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/polygonOp.c:558:19: note: You might need to cast the function pointer here xpaint-2.9.1.4/polygonOp.c:224:49: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/polygonOp.c:335:48: style: Parameter 'event' can be declared as pointer to const. However it seems that 'motion' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/polygonOp.c:556:19: note: You might need to cast the function pointer here xpaint-2.9.1.4/polygonOp.c:335:48: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/polygonOp.c:92:9: style: Variable 'dpy' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/preproc.c:17:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/ppmtops.c:370:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/ppmtops.c:556:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/ppmtops.c:611:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/preproc.c:12:13: style: Variable 'i18n_file' can be declared as const array [constVariable] xpaint-2.9.1.4/preproc.c:13:13: style: Variable 'i18n_version_string' can be declared as const array [constVariable] xpaint-2.9.1.4/print.c:577:41: error: AST broken: '(' has improper operand. [internalAstError] xpaint-2.9.1.4/ppmtops.c:679:5: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] xpaint-2.9.1.4/ppmtops.c:464:3: style: Statements following 'return' will never be executed. [unreachableCode] xpaint-2.9.1.4/ppmtops.c:177:20: style: Variable 'mask' can be declared as const array [constVariable] xpaint-2.9.1.4/ppmtops.c:348:22: style: Parameter 'ProgName' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/ppmtops.c:348:33: style: Parameter 'ProgVers' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/ppmtops.c:348:44: style: Parameter 'FileName' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/ppmtops.c:478:38: style: Variable 'Left' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/ppmtops.c:478:45: style: Variable 'Corner' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/ppmtops.c:554:11: style: Variable 'Pos' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/ppmtops.c:302:11: warning: Uninitialized variable: Code [uninitvar] xpaint-2.9.1.4/ppmtops.c:246:14: note: Assuming condition is false xpaint-2.9.1.4/ppmtops.c:302:11: note: Uninitialized variable: Code xpaint-2.9.1.4/ppmtops.c:560:12: style: Variable 'Pos' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/protocol.c:101:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/protocol.c:178:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/protocol.c:195:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_ATOM [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/protocol.c:227:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MapNotify [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/protocol.c:239:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/protocol.c:295:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/protocol.c:359:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/protocol.c:404:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/protocol.c:160:16: style: Variable 'l' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/protocol.c:176:26: style: Variable 'event' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/protocol.c:225:48: style: Parameter 'event' can be declared as pointer to const. However it seems that 'realize' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/protocol.c:262:51: note: You might need to cast the function pointer here xpaint-2.9.1.4/protocol.c:225:48: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/readRC.c:93:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P_tmpdir [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/libpnmrw.c:87:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/libpnmrw.c:107:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/libpnmrw.c:156:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/libpnmrw.c:171:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/libpnmrw.c:199:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/libpnmrw.c:216:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/libpnmrw.c:234:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/libpnmrw.c:258:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/libpnmrw.c:276:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/libpnmrw.c:296:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/libpnmrw.c:335:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/libpnmrw.c:374:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/libpnmrw.c:455:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/libpnmrw.c:480:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/libpnmrw.c:517:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/libpnmrw.c:571:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/libpnmrw.c:605:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/libpnmrw.c:654:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/libpnmrw.c:742:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/libpnmrw.c:791:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/libpnmrw.c:836:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/libpnmrw.c:885:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/libpnmrw.c:993:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/libpnmrw.c:1017:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/libpnmrw.c:1055:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/libpnmrw.c:1088:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/libpnmrw.c:353:12: style: Condition 'b==-1' is always false [knownConditionTrueFalse] xpaint-2.9.1.4/rw/libpnmrw.c:352:20: note: Assignment 'b=pbm_getbit(file)', assigned value is greater than -1 xpaint-2.9.1.4/rw/libpnmrw.c:353:12: note: Condition 'b==-1' is always false xpaint-2.9.1.4/rw/libpnmrw.c:132:17: style: Parameter 'reason' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/libpnmrw.c:151:11: style: Variable 'e' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/rw/libpnmrw.c:514:40: style: Parameter 'grayrow' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/libpnmrw.c:586:20: style: Variable 'gP' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/rw/libpnmrw.c:933:29: style: Parameter 'colorP' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/readRC.c:221:7: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] xpaint-2.9.1.4/readRC.c:223:7: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] xpaint-2.9.1.4/readRC.c:316:25: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] xpaint-2.9.1.4/readRC.c:80:11: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/readRC.c:80:17: style: Variable 'home' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/readRC.c:210:11: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/readRC.c:211:20: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/readRC.c:235:30: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/readRC.c:316:20: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/readRC.c:339:18: style: Variable 'defaultDone' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/rw/readJPEG.c:33:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JMSG_LENGTH_MAX [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/readJPEG.c:90:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/readJPEG.c:64:16: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readJPEG.c:122:16: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readJPEG.c:97:10: style: Variable 'ncolors' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/rw/readGIF.c:155:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable numpage [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/readScriptC.c:63:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Image [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/readScriptC.c:33:19: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readTIFF.c:64:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLANARCONFIG_SEPARATE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/readTIFF.c:238:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIFFTAG_BITSPERSAMPLE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/readTIFF.c:49:41: style: Parameter 'image' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readGIF.c:232:12: style:inconclusive: Function 'ReadColorMap' argument 4 names different: declaration 'flag' definition 'gray'. [funcArgNamesDifferent] xpaint-2.9.1.4/rw/readGIF.c:67:51: note: Function 'ReadColorMap' argument 4 names different: declaration 'flag' definition 'gray'. xpaint-2.9.1.4/rw/readGIF.c:232:12: note: Function 'ReadColorMap' argument 4 names different: declaration 'flag' definition 'gray'. xpaint-2.9.1.4/rw/readGIF.c:77:15: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readGIF.c:98:15: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readGIF.c:238:10: style: Variable 'flag' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/rw/readGIF.c:248:7: style: Variable 'flag' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/rw/readGIF.c:271:6: style: Variable 'str' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/rw/readGIF.c:274:6: style: Variable 'str' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/rw/readGIF.c:277:6: style: Variable 'str' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/rw/readGIF.c:281:6: style: Variable 'str' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/rw/readGIF.c:294:6: style: Variable 'str' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/rw/readWriteICO.c:189:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/readWriteICO.c:519:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/readWriteICO.c:655:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XpmColormap [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/readWriteBMP.c:107:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/readWriteBMP.c:205:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/readWriteBMP.c:221:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/readWriteICO.c:618:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] xpaint-2.9.1.4/rw/readWriteICO.c:660:9: error: Resource leak: fd [resourceLeak] xpaint-2.9.1.4/rw/readWriteICO.c:748:4: error: Resource leak: ico_stream [resourceLeak] xpaint-2.9.1.4/rw/readWriteICO.c:140:16: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readWriteICO.c:149:19: style: Variable 'magic_number' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/rw/readWriteICO.c:441:26: style: Parameter 'xpm_color' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readWriteICO.c:460:26: style: Parameter 'color_map' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readWriteICO.c:462:12: style: Variable 'color_quad' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/rw/readWriteICO.c:483:22: style: Parameter 'color_map' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readWriteICO.c:495:30: style: Parameter 'icon' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readWriteICO.c:535:13: style: Parameter 'color' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readWriteICO.c:606:42: style: Parameter 'color_map' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readWriteICO.c:639:16: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readWriteICO.c:731:15: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readWriteICO.c:736:19: style: Variable 'magic_number' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/rw/readWriteICO.c:80:17: style: struct member 'IconDirectoryEntry::bColorCount' is never used. [unusedStructMember] xpaint-2.9.1.4/rw/readWriteICO.c:81:17: style: struct member 'IconDirectoryEntry::bReserved' is never used. [unusedStructMember] xpaint-2.9.1.4/rw/readWriteICO.c:82:17: style: struct member 'IconDirectoryEntry::wPlanes' is never used. [unusedStructMember] xpaint-2.9.1.4/rw/readWriteICO.c:83:17: style: struct member 'IconDirectoryEntry::wBitCount' is never used. [unusedStructMember] xpaint-2.9.1.4/rw/readWriteICO.c:84:17: style: struct member 'IconDirectoryEntry::dwBytesInRes' is never used. [unusedStructMember] xpaint-2.9.1.4/rw/readWriteICO.c:90:27: style: struct member 'ICONDIR::idReserved' is never used. [unusedStructMember] xpaint-2.9.1.4/rw/readWriteICO.c:91:27: style: struct member 'ICONDIR::idType' is never used. [unusedStructMember] xpaint-2.9.1.4/rw/readWriteICO.c:101:20: style: struct member 'tagBITMAPINFOHEADER::biWidth' is never used. [unusedStructMember] xpaint-2.9.1.4/rw/readWriteICO.c:102:20: style: struct member 'tagBITMAPINFOHEADER::biHeight' is never used. [unusedStructMember] xpaint-2.9.1.4/rw/readWriteICO.c:105:28: style: struct member 'tagBITMAPINFOHEADER::biCompression' is never used. [unusedStructMember] xpaint-2.9.1.4/rw/readWriteICO.c:106:28: style: struct member 'tagBITMAPINFOHEADER::biSizeImage' is never used. [unusedStructMember] xpaint-2.9.1.4/rw/readWriteICO.c:107:20: style: struct member 'tagBITMAPINFOHEADER::biXPelsPerMeter' is never used. [unusedStructMember] xpaint-2.9.1.4/rw/readWriteICO.c:108:20: style: struct member 'tagBITMAPINFOHEADER::biYPelsPerMeter' is never used. [unusedStructMember] xpaint-2.9.1.4/rw/readWriteICO.c:516:17: style: Variable 'clr_count' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/rw/readWriteBMP.c:331:4: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] xpaint-2.9.1.4/rw/readWriteBMP.c:448:4: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] xpaint-2.9.1.4/rw/readWriteBMP.c:169:6: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xpaint-2.9.1.4/rw/readWriteBMP.c:178:3: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] xpaint-2.9.1.4/rw/readWriteBMP.c:184:6: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xpaint-2.9.1.4/rw/readWriteBMP.c:199:15: style: Parameter 'fullname' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readWriteBMP.c:216:16: style: Parameter 'fullname' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readWriteBMP.c:616:16: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readWriteBMP.c:620:20: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/rw/readWriteBMP.c:191:18: 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] xpaint-2.9.1.4/rw/readWriteLXP.c:82:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_width [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/readWriteLXP.c:117:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/readWriteLXP.c:185:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHAREDIR [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/readWriteLXP.c:114:9: error: Common realloc mistake: 'image' nulled but not freed upon failure [memleakOnRealloc] xpaint-2.9.1.4/rw/readWriteLXP.c:68:27: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readWriteLXP.c:131:15: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readWriteLXP.c:153:11: style: Variable 'home' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/rw/readWriteLXP.c:174:11: style: Variable 'home' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/rw/readWritePNG.c:90:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PNG_LIBPNG_VER_STRING [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/readWritePNG.c:384:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PNG_LIBPNG_VER_STRING [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/readWritePNG.c:686:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPAINT_FATAL_LIBPNG_ERROR [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/readWritePNM.c:77:20: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/rw/readWritePNM.c:139:19: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readWritePNG.c:51:15: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readWritePNG.c:68:15: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readWritePNG.c:366:16: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readWritePNG.c:609:37: style: Variable 'alpha' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/rw/readWriteSGI.c:76:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/readWriteSGI.c:29:20: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/rw/readWriteSGI.c:74:19: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readWritePS.c:542:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPAINT_VERSION [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/readWritePS.c:663:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable astext [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/readWritePS.c:768:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable toplevel [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/readWriteXBM.c:130:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/readWriteXBM.c:179:6: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xpaint-2.9.1.4/rw/readWriteXBM.c:199:6: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xpaint-2.9.1.4/rw/readWriteXBM.c:201:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xpaint-2.9.1.4/rw/readWriteXBM.c:203:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xpaint-2.9.1.4/rw/readWriteXBM.c:148:16: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readWriteXBM.c:232:21: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/rw/readWriteXBM.c:278:20: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readWriteXBM.c:342:19: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readWriteXBM.c:255:45: error: Uninitialized variable: ptr [uninitvar] xpaint-2.9.1.4/rw/readWritePS.c:735:20: style: Condition 'type_doc==DVI_FMT' is always true [knownConditionTrueFalse] xpaint-2.9.1.4/rw/readWritePS.c:729:20: note: Assuming that condition 'type_doc==LTX_FMT' is not redundant xpaint-2.9.1.4/rw/readWritePS.c:718:38: note: Assuming that condition 'type_doc<=DVI_FMT' is not redundant xpaint-2.9.1.4/rw/readWritePS.c:735:20: note: Condition 'type_doc==DVI_FMT' is always true xpaint-2.9.1.4/rw/readWritePS.c:810:5: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xpaint-2.9.1.4/rw/readWritePS.c:814:12: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xpaint-2.9.1.4/rw/readWritePS.c:744:12: error: Common realloc mistake: 'last_rad' nulled but not freed upon failure [memleakOnRealloc] xpaint-2.9.1.4/rw/readWritePS.c:289:38: style: Variable 'Left' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/rw/readWritePS.c:289:45: style: Variable 'Corner' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/rw/readWritePS.c:506:12: style: Parameter 'title' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readWritePS.c:609:26: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readWritePS.c:678:21: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/rw/readWritePS.c:961:20: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readWritePS.c:911:12: style: Variable 'dh' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/rw/readWriteXPL.c:53:27: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readWriteXPL.c:67:15: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readWriteXPL.c:89:11: style: Variable 'home' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/rw/readWriteXPL.c:108:20: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readWriteXPL.c:108:34: style: Parameter 'image' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/readWriteXPL.c:90:11: style: Unused variable: fp [unusedVariable] xpaint-2.9.1.4/rw/readWriteXWD.c:77:0: error: #error Do not know how to write anything but version 7 X window dumps [preprocessorErrorDirective] xpaint-2.9.1.4/rw/readWriteXPM.c:31:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable display [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/readWriteXPM.c:73:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable display [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/rwTable.c:175:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/rwTable.c:316:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/rwTable.c:154:34: style: Parameter 'suffix' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/rwTable.c:221:23: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/rwTable.c:234:17: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/rw/rwTable.c:346:1: error: va_list 'ap' was opened but not closed by va_end(). [va_end_missing] xpaint-2.9.1.4/rw/readWriteXPM.c:45:19: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/writeGIF.c:91:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/writeGIF.c:234:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/writeGIF.c:531:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/writeJPEG.c:33:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JMSG_LENGTH_MAX [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/writeJPEG.c:94:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JCS_GRAYSCALE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/writeJPEG.c:64:17: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/writeJPEG.c:70:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/rw/writeGIF.c:85:16: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/rw/writeGIF.c:247:26: style: Parameter 'Red' can be declared as const array [constParameter] xpaint-2.9.1.4/rw/writeGIF.c:247:37: style: Parameter 'Green' can be declared as const array [constParameter] xpaint-2.9.1.4/rw/writeGIF.c:247:50: style: Parameter 'Blue' can be declared as const array [constParameter] xpaint-2.9.1.4/rw/writeTIFF.c:42:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PHOTOMETRIC_MINISBLACK [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/screenshot.c:62:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonPressMask [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/screenshot.c:78:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x1 [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/screenshot.c:132:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InputOutput [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/screenshot.c:155:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/screenshot.c:344:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/screenshot.c:389:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCSubwindowMode [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/rw/writeTIFF.c:117:18: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/selectOp.c:143:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button4 [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/selectOp.c:192:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/selectOp.c:230:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/selectOp.c:296:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XRectangle [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/selectOp.c:378:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/selectOp.c:441:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CoordModeOrigin [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/selectOp.c:507:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button4 [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/selectOp.c:566:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPoint [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/selectOp.c:632:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPoint [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/share/c_scripts/3d_curves/helicoid.c:23:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/share/c_scripts/3d_curves/helicoid.c:21:17: style: Unused variable: j [unusedVariable] xpaint-2.9.1.4/share/c_scripts/3d_curves/lissajous.c:24:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/share/c_scripts/3d_curves/lissajous.c:19:17: style: Unused variable: j [unusedVariable] xpaint-2.9.1.4/share/c_scripts/3d_surfaces/ellipsoid.c:24:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/share/c_scripts/3d_surfaces/ellipsoid.c:22:17: style: Unused variable: j [unusedVariable] xpaint-2.9.1.4/share/c_scripts/3d_surfaces/genre_g.c:50:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/share/c_scripts/3d_surfaces/genre_g.c:47:17: style: Unused variable: j [unusedVariable] xpaint-2.9.1.4/selectOp.c:538:9: warning: Either the condition 'l' is redundant or there is possible null pointer dereference: l. [nullPointerRedundantCheck] xpaint-2.9.1.4/selectOp.c:542:39: note: Assuming that condition 'l' is not redundant xpaint-2.9.1.4/selectOp.c:538:9: note: Null pointer dereference xpaint-2.9.1.4/selectOp.c:207:39: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] xpaint-2.9.1.4/selectOp.c:559:39: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] xpaint-2.9.1.4/selectOp.c:116:57: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/selectOp.c:137:63: style: Parameter 'info' can be declared as pointer to const. However it seems that 'press' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/selectOp.c:653:19: note: You might need to cast the function pointer here xpaint-2.9.1.4/selectOp.c:137:63: note: Parameter 'info' can be declared as pointer to const xpaint-2.9.1.4/selectOp.c:184:55: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/selectOp.c:224:66: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/selectOp.c:224:82: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/selectOp.c:284:13: style: Variable 'xcol' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/share/c_scripts/3d_surfaces/heart.c:29:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/share/c_scripts/3d_surfaces/heart.c:27:17: style: Unused variable: j [unusedVariable] xpaint-2.9.1.4/share/c_scripts/3d_surfaces/hyperboloid.c:26:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/share/c_scripts/3d_surfaces/hyperboloid.c:24:17: style: Unused variable: j [unusedVariable] xpaint-2.9.1.4/share/c_scripts/3d_surfaces/polyhedra.c:94:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/share/c_scripts/3d_surfaces/polyhedra.c:92:17: style: Unused variable: j [unusedVariable] xpaint-2.9.1.4/share/c_scripts/3d_surfaces/torus.c:27:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/share/c_scripts/3d_surfaces/trefoil.c:64:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/share/c_scripts/3d_surfaces/torus.c:25:17: style: Unused variable: j [unusedVariable] xpaint-2.9.1.4/share/c_scripts/3d_surfaces/trefoil.c:62:17: style: Unused variable: j [unusedVariable] xpaint-2.9.1.4/share/c_scripts/3d_surfaces/waves.c:21:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/share/c_scripts/3d_surfaces/waves.c:19:17: style: Unused variable: j [unusedVariable] xpaint-2.9.1.4/share/c_scripts/batch/batch.c:38:20: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/share/c_scripts/batch/batch.c:75:11: style: Variable 'j' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/share/c_scripts/filters/clean.c:56:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable curpaint [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/share/c_scripts/filters/clean.c:79:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prompt [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/share/c_scripts/filters/leftright.c:18:20: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/share/c_scripts/filters/clean.c:78:13: style: Condition 'step==0' is always true [knownConditionTrueFalse] xpaint-2.9.1.4/share/c_scripts/filters/clean.c:75:18: note: Assignment 'step=0', assigned value is 0 xpaint-2.9.1.4/share/c_scripts/filters/clean.c:78:13: note: Condition 'step==0' is always true xpaint-2.9.1.4/share/c_scripts/filters/clean.c:31:20: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/share/c_scripts/filters/mapping.c:17:28: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/share/c_scripts/filters/mapping.c:19:20: style: Unused variable: ip [unusedVariable] xpaint-2.9.1.4/share/c_scripts/filters/permute.c:18:20: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/share/c_scripts/filters/merge.c:19:20: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/share/c_scripts/filters/rotleft.c:18:20: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/share/c_scripts/filters/rotright.c:18:20: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/share/c_scripts/filters/updown.c:18:20: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/share/c_scripts/layers/combine.c:27:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/share/c_scripts/procedures/proc_with_params.c:55:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable toplevel [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/share/c_scripts/procedures/proc_with_params.c:100:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable textPromptInfo [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/share/c_scripts/layers/combine.c:19:20: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/share/c_scripts/procedures/proc_with_params.c:125:16: error: Array 'threshold[1]' accessed at index 3, which is out of bounds. [arrayIndexOutOfBounds] xpaint-2.9.1.4/share/c_scripts/procedures/proc_with_params.c:124:16: note: Assuming that condition 'i<4' is not redundant xpaint-2.9.1.4/share/c_scripts/procedures/proc_with_params.c:125:16: note: Array index out of bounds xpaint-2.9.1.4/share/c_scripts/procedures/proc_with_params.c:104:13: style: Condition 'step==0' is always true [knownConditionTrueFalse] xpaint-2.9.1.4/share/c_scripts/procedures/proc_with_params.c:96:18: note: Assignment 'step=0', assigned value is 0 xpaint-2.9.1.4/share/c_scripts/procedures/proc_with_params.c:104:13: note: Condition 'step==0' is always true xpaint-2.9.1.4/share/output/permute.c:22:20: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/share/c_scripts/templates/image.c:26:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/share/c_scripts/templates/image.c:18:20: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/share/c_scripts/templates/image.c:18:25: style: Variable 'ipp' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/share/c_scripts/templates/image.c:17:23: style: Unused variable: input [unusedVariable] xpaint-2.9.1.4/splineOp.c:67:48: debug: Scope::checkVariable found variable 'bool' with varid 0. [varid0] xpaint-2.9.1.4/sprayOp.c:88:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x1 [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/sprayOp.c:177:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button1Mask [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/sprayOp.c:245:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button1Mask [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/sprayOp.c:312:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/splineOp.c:101:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPoint [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/splineOp.c:300:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CapButt [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/splineOp.c:327:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ControlMask [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/splineOp.c:339:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button3 [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/splineOp.c:404:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button3 [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/splineOp.c:459:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/splineOp.c:486:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPoint [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/sprayOp.c:134:32: warning: Either the condition 'l->zoom>0' is redundant or there is division by zero at line 134. [zerodivcond] xpaint-2.9.1.4/sprayOp.c:130:16: note: Assuming that condition 'l->zoom>0' is not redundant xpaint-2.9.1.4/sprayOp.c:134:32: note: Division by zero xpaint-2.9.1.4/sprayOp.c:135:33: warning: Either the condition 'l->zoom>0' is redundant or there is division by zero at line 135. [zerodivcond] xpaint-2.9.1.4/sprayOp.c:130:16: note: Assuming that condition 'l->zoom>0' is not redundant xpaint-2.9.1.4/sprayOp.c:135:33: note: Division by zero xpaint-2.9.1.4/sprayOp.c:145:32: warning: Either the condition 'l->zoom>0' is redundant or there is division by zero at line 145. [zerodivcond] xpaint-2.9.1.4/sprayOp.c:141:20: note: Assuming that condition 'l->zoom>0' is not redundant xpaint-2.9.1.4/sprayOp.c:145:32: note: Division by zero xpaint-2.9.1.4/sprayOp.c:146:32: warning: Either the condition 'l->zoom>0' is redundant or there is division by zero at line 146. [zerodivcond] xpaint-2.9.1.4/sprayOp.c:141:20: note: Assuming that condition 'l->zoom>0' is not redundant xpaint-2.9.1.4/sprayOp.c:146:32: note: Division by zero xpaint-2.9.1.4/sprayOp.c:156:25: warning: Either the condition 'l->zoom>0' is redundant or there is division by zero at line 156. [zerodivcond] xpaint-2.9.1.4/sprayOp.c:152:20: note: Assuming that condition 'l->zoom>0' is not redundant xpaint-2.9.1.4/sprayOp.c:156:25: note: Division by zero xpaint-2.9.1.4/sprayOp.c:157:25: warning: Either the condition 'l->zoom>0' is redundant or there is division by zero at line 157. [zerodivcond] xpaint-2.9.1.4/sprayOp.c:152:20: note: Assuming that condition 'l->zoom>0' is not redundant xpaint-2.9.1.4/sprayOp.c:157:25: note: Division by zero xpaint-2.9.1.4/sprayOp.c:169:47: style: Parameter 'event' can be declared as pointer to const. However it seems that 'press' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/sprayOp.c:346:19: note: You might need to cast the function pointer here xpaint-2.9.1.4/sprayOp.c:169:47: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/sprayOp.c:224:48: style: Parameter 'event' can be declared as pointer to const. However it seems that 'motion' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/sprayOp.c:348:19: note: You might need to cast the function pointer here xpaint-2.9.1.4/sprayOp.c:224:48: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/sprayOp.c:224:64: style: Parameter 'info' can be declared as pointer to const. However it seems that 'motion' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/sprayOp.c:348:19: note: You might need to cast the function pointer here xpaint-2.9.1.4/sprayOp.c:224:64: note: Parameter 'info' can be declared as pointer to const xpaint-2.9.1.4/sprayOp.c:238:49: style: Parameter 'event' can be declared as pointer to const. However it seems that 'release' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/sprayOp.c:350:19: note: You might need to cast the function pointer here xpaint-2.9.1.4/sprayOp.c:238:49: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/splineOp.c:143:12: style: Condition 'i0<0' is always false [knownConditionTrueFalse] xpaint-2.9.1.4/splineOp.c:100:11: note: Assuming that condition 'n==1' is not redundant xpaint-2.9.1.4/splineOp.c:142:11: note: Assignment 'i0=n-2', assigned value is greater than -1 xpaint-2.9.1.4/splineOp.c:143:12: note: Condition 'i0<0' is always false xpaint-2.9.1.4/splineOp.c:529:30: style:inconclusive: Function 'SplineRemove' argument 2 names different: declaration 'p' definition 'l'. [funcArgNamesDifferent] xpaint-2.9.1.4/ops.h:100:35: note: Function 'SplineRemove' argument 2 names different: declaration 'p' definition 'l'. xpaint-2.9.1.4/splineOp.c:529:30: note: Function 'SplineRemove' argument 2 names different: declaration 'p' definition 'l'. xpaint-2.9.1.4/splineOp.c:568:36: style:inconclusive: Function 'FilledSplineRemove' argument 2 names different: declaration 'p' definition 'l'. [funcArgNamesDifferent] xpaint-2.9.1.4/ops.h:102:41: note: Function 'FilledSplineRemove' argument 2 names different: declaration 'p' definition 'l'. xpaint-2.9.1.4/splineOp.c:568:36: note: Function 'FilledSplineRemove' argument 2 names different: declaration 'p' definition 'l'. xpaint-2.9.1.4/splineOp.c:608:36: style:inconclusive: Function 'SelectSplineRemove' argument 2 names different: declaration 'p' definition 'l'. [funcArgNamesDifferent] xpaint-2.9.1.4/ops.h:109:41: note: Function 'SelectSplineRemove' argument 2 names different: declaration 'p' definition 'l'. xpaint-2.9.1.4/splineOp.c:608:36: note: Function 'SelectSplineRemove' argument 2 names different: declaration 'p' definition 'l'. xpaint-2.9.1.4/splineOp.c:324:32: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/splineOp.c:384:75: style: Parameter 'info' can be declared as pointer to const. However it seems that 'releaseSplineBand' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/splineOp.c:615:19: note: You might need to cast the function pointer here xpaint-2.9.1.4/splineOp.c:384:75: note: Parameter 'info' can be declared as pointer to const xpaint-2.9.1.4/substads.c:78:23: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] xpaint-2.9.1.4/substads.c:16:16: style: Variable 'file' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/template.c:26:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/text.c:97:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/text.c:118:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/text.c:200:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/text.c:242:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nextField [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/text.c:436:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/template.c:18:20: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/template.c:18:25: style: Variable 'ipp' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/template.c:17:23: style: Unused variable: input [unusedVariable] xpaint-2.9.1.4/text.c:54:20: style: Parameter 'nm' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/text.c:149:46: style: Parameter 'prms' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/text.c:149:63: style: Parameter 'nprms' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/text.c:248:37: style: Variable 'text' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/typeConvert.c:40:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable addr [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/typeConvert.c:96:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtWidgetBaseOffset [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/typeConvert.c:26:18: style: Parameter 'nargs' can be declared as pointer to const. However it seems that 'newCvtStringToPixel' is a callback function, if 'nargs' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/typeConvert.c:105:28: note: You might need to cast the function pointer here xpaint-2.9.1.4/typeConvert.c:26:18: note: Parameter 'nargs' can be declared as pointer to const xpaint-2.9.1.4/typeConvert.c:29:13: style: Variable 'screen' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/typeConvert.c:40:12: style: Variable 'screen' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/xaw3dxft/AsciiSink.c:166:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawLF [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/AsciiSink.c:297:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/AsciiSink.c:435:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/AsciiSink.c:477:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/AsciiSink.c:526:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/AsciiSink.c:536:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCGraphicsExposures [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/AsciiSink.c:581:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawisOff [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/AsciiSink.c:631:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable redisplay_needed [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/AsciiSink.c:740:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:215:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawFmt8Bit [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:291:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawtextRead [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:431:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawstAll [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:566:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawsdRight [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:642:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:702:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawAsciiString [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:761:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawAsciiFile [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:798:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:921:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:979:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TMPSIZ [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:1091:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawAsciiFile [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:1149:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Piece [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:1300:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NULLQUARK [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/AsciiSink.c:743:1: error: Memory leak: sink.text_sink [memleak] xpaint-2.9.1.4/xaw3dxft/AsciiSink.c:694:8: style: Parameter 'tabs' can be declared as pointer to const. However it seems that 'SetTabs' is a callback function, if 'tabs' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/AsciiSink.c:139:41: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/AsciiSink.c:694:8: note: Parameter 'tabs' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/AsciiSink.c:702:12: style: Variable 'font' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:1027:35: style: Variable 'src->ascii_src.string' is reassigned a value before the old one has been used. [redundantAssignment] xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:1025:28: note: src->ascii_src.string is assigned xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:1027:35: note: src->ascii_src.string is overwritten xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:258:11: style: Variable 'piece' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:280:15: style: Parameter 'text' can be declared as pointer to const. However it seems that 'ReplaceText' is a callback function, if 'text' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:159:41: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:280:15: note: Parameter 'text' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:427:10: style: Variable 'piece' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:562:11: style: Variable 'piece' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:638:12: style: Parameter 'num_args' can be declared as pointer to const. However it seems that 'SetValues' is a callback function, if 'num_args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:144:25: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:638:12: note: Parameter 'num_args' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:697:12: style: Parameter 'num_args' can be declared as pointer to const. However it seems that 'GetValuesHook' is a callback function, if 'num_args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:147:28: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:697:12: note: Parameter 'num_args' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:941:11: style: Variable 'piece' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:1250:14: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/AsciiText.c:144:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_TEXT_HEIGHT [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Command.c:187:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CapProjecting [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Command.c:211:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawShapeRectangle [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Command.c:302:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Command.c:320:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Command.c:338:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HighlightNone [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Command.c:355:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HighlightWhenUnset [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Command.c:384:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HighlightNone [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Command.c:424:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Command.c:468:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LabelWidgetClass [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Command.c:556:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Command.c:617:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtCacheNone [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Command.c:628:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawShapeRoundedRectangle [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Command.c:652:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Command.c:659:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Box.c:166:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtorientVertical [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Box.c:300:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Box.c:405:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Box.c:426:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Box.c:521:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGeometryNo [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Box.c:596:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Box.c:614:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NorthWestGravity [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Command.c:349:9: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/Command.c:350:11: style: Parameter 'num_params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/Dialog.c:163:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNborderWidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Dialog.c:202:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable commandWidgetClass [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Dialog.c:245:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Dialog.c:343:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Dialog.c:370:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Dialog.c:426:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable commandWidgetClass [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Dialog.c:445:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Dialog.c:312:10: style: Local variable 'args' shadows outer variable [shadowVariable] xpaint-2.9.1.4/xaw3dxft/Dialog.c:239:9: note: Shadowed declaration xpaint-2.9.1.4/xaw3dxft/Dialog.c:312:10: note: Shadow variable xpaint-2.9.1.4/xaw3dxft/Dialog.c:235:11: style: Parameter 'in_num_args' can be declared as pointer to const. However it seems that 'SetValues' is a callback function, if 'in_num_args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/Dialog.c:115:33: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/Dialog.c:235:11: note: Parameter 'in_num_args' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/Dialog.c:334:12: style: Parameter 'num_args' can be declared as pointer to const. However it seems that 'GetValuesHook' is a callback function, if 'num_args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/Dialog.c:118:33: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/Dialog.c:334:12: note: Parameter 'num_args' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/Box.c:266:10: style: Local variable 'i' shadows outer variable [shadowVariable] xpaint-2.9.1.4/xaw3dxft/Box.c:167:15: note: Shadowed declaration xpaint-2.9.1.4/xaw3dxft/Box.c:266:10: note: Shadow variable xpaint-2.9.1.4/xaw3dxft/Box.c:625:15: style: Parameter 'num_args' can be declared as pointer to const. However it seems that 'SetValues' is a callback function, if 'num_args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/Box.c:120:33: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/Box.c:625:15: note: Parameter 'num_args' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/Grip.c:149:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcallback [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Grip.c:141:15: style: Parameter 'num_params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/Label.c:205:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Label.c:266:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Label.c:277:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FillTiled [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Label.c:362:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Label.c:402:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RectangleOut [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Label.c:562:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Label.c:697:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Form.c:185:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtChainLeft [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Form.c:206:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtBaseOffset [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Form.c:230:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtInheritLayout [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Form.c:278:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Form.c:336:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LayoutPending [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Form.c:437:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LayoutInProgress [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Form.c:483:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtRubber [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Form.c:559:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtCWQueryOnly [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Form.c:674:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Form.c:732:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Form.c:770:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Form.c:782:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Form.c:824:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Label.c:225:24: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] xpaint-2.9.1.4/xaw3dxft/Label.c:229:60: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] xpaint-2.9.1.4/xaw3dxft/Label.c:449:23: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] xpaint-2.9.1.4/xaw3dxft/Label.c:553:15: style: Parameter 'num_args' can be declared as pointer to const. However it seems that 'SetValues' is a callback function, if 'num_args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/Label.c:151:25: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/Label.c:553:15: note: Parameter 'num_args' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/Label.c:693:23: style: Parameter 'intended' can be declared as pointer to const. However it seems that 'QueryGeometry' is a callback function, if 'intended' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/Label.c:159:27: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/Label.c:693:23: note: Parameter 'intended' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/Form.c:828:9: style: Local variable 'w' shadows outer argument [shadowArgument] xpaint-2.9.1.4/xaw3dxft/Form.c:815:8: note: Shadowed declaration xpaint-2.9.1.4/xaw3dxft/Form.c:828:9: note: Shadow variable xpaint-2.9.1.4/xaw3dxft/Form.c:550:23: style: Parameter 'request' can be declared as pointer to const. However it seems that 'GeometryManager' is a callback function, if 'request' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/Form.c:139:32: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/Form.c:550:23: note: Parameter 'request' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/Form.c:672:15: style: Parameter 'num_args' can be declared as pointer to const. However it seems that 'SetValues' is a callback function, if 'num_args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/Form.c:126:33: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/Form.c:672:15: note: Parameter 'num_args' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/Form.c:776:23: style: Parameter 'request' can be declared as pointer to const. However it seems that 'PreferredGeometry' is a callback function, if 'request' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/Form.c:134:30: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/Form.c:776:23: note: Parameter 'request' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/Layout.c:219:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtPointer [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Layout.c:274:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Layout.c:320:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Layout.c:337:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LayoutHorizontal [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Layout.c:344:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ConstraintWidgetClass [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Layout.c:352:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Layout.c:366:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Layout.c:379:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Layout.c:479:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LayoutHorizontal [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Layout.c:580:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LayoutHorizontal [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Layout.c:669:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LayoutHorizontal [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Layout.c:817:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable order [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Layout.c:919:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LayoutHorizontal [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Layout.c:976:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LayoutHorizontal [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Layout.c:995:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LayoutHorizontal [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Layout.c:1026:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LayoutHorizontal [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/List.c:197:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/List.c:253:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable freedoms [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/List.c:303:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/List.c:374:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable freedoms [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/List.c:396:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OKAY [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/List.c:470:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/List.c:554:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YXBanded [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/List.c:605:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_HIGHLIGHT [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/List.c:691:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/List.c:764:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/List.c:870:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OUT_OF_RANGE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/List.c:923:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OUT_OF_RANGE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/List.c:942:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/List.c:1030:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCTile [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/List.c:1095:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable freedoms [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/List.c:1120:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_HIGHLIGHT [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/List.c:1145:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_HIGHLIGHT [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/List.c:1169:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawListReturnStruct [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Layout.c:266:23: style: Parameter 'request' can be declared as pointer to const. However it seems that 'GeometryManager' is a callback function, if 'request' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/Layout.c:156:32: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/Layout.c:266:23: note: Parameter 'request' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/Layout.c:305:11: style: Parameter 'num_args' can be declared as pointer to const. However it seems that 'Initialize' is a callback function, if 'num_args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/Layout.c:120:32: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/Layout.c:305:11: note: Parameter 'num_args' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/Layout.c:373:23: style: Parameter 'request' can be declared as pointer to const. However it seems that 'QueryGeometry' is a callback function, if 'request' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/Layout.c:151:30: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/Layout.c:373:23: note: Parameter 'request' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/Layout.c:216:19: style: Variable 'tmp' is not assigned a value. [unassignedVariable] xpaint-2.9.1.4/xaw3dxft/List.c:686:19: style: Parameter 'intended' can be declared as pointer to const. However it seems that 'PreferredGeom' is a callback function, if 'intended' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/List.c:168:31: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/List.c:686:19: note: Parameter 'intended' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/List.c:854:10: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/List.c:899:10: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/List.c:900:10: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/List.c:901:11: style: Parameter 'num_params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/List.c:915:10: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/MenuButton.c:154:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonPressMask [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/MenuButton.c:183:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/MenuButton.c:207:14: style: Condition 'menu_x>=0' is always true [knownConditionTrueFalse] xpaint-2.9.1.4/xaw3dxft/MenuButton.c:204:12: note: Assignment 'menu_x=button_x', assigned value is greater than -1 xpaint-2.9.1.4/xaw3dxft/MenuButton.c:207:14: note: Condition 'menu_x>=0' is always true xpaint-2.9.1.4/xaw3dxft/MenuButton.c:215:14: style: Condition 'menu_y>=0' is always true [knownConditionTrueFalse] xpaint-2.9.1.4/xaw3dxft/MenuButton.c:205:21: note: Assignment 'menu_y=button_y+button_height', assigned value is greater than -1 xpaint-2.9.1.4/xaw3dxft/MenuButton.c:215:14: note: Condition 'menu_y>=0' is always true xpaint-2.9.1.4/xaw3dxft/MenuButton.c:184:11: style: Variable 'err1' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/xaw3dxft/Panner.c:212:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Panner.c:254:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Panner.c:270:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Panner.c:316:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANNER_OUTOFRANGE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Panner.c:340:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Panner.c:370:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Panner.c:417:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Panner.c:447:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Panner.c:531:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANNER_DEFAULT_SCALE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Panner.c:557:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtUnspecifiedPixmap [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Panner.c:609:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Panner.c:645:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Panner.c:733:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Panner.c:769:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Panner.c:792:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Panner.c:816:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Panner.c:844:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Panner.c:879:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonPress [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Panner.c:904:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Panner.c:961:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Paned.c:288:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtorientVertical [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Paned.c:419:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Paned.c:514:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtorientVertical [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Paned.c:596:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtorientVertical [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Paned.c:659:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Above [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Paned.c:752:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtorientVertical [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Paned.c:785:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtorientVertical [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Paned.c:823:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtorientVertical [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Paned.c:886:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtorientVertical [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Paned.c:920:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtorientVertical [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Paned.c:975:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtorientVertical [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Paned.c:1017:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Paned.c:1077:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Paned.c:1113:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gripWidgetClass [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Paned.c:1155:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gripWidgetClass [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Paned.c:1190:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNtranslations [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Paned.c:1227:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Paned.c:1261:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtorientVertical [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Paned.c:1309:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Paned.c:1341:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PaneStack [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Paned.c:1390:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Paned.c:1454:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtorientVertical [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Paned.c:1563:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Paned.c:1576:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Paned.c:1614:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ConstraintWidgetClass [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Paned.c:1641:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gripWidgetClass [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Paned.c:1653:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtorientVertical [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Paned.c:1714:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtorientVertical [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Paned.c:1737:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Paned.c:1800:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Panner.c:305:12: style: Checking if unsigned expression '*x' is less than zero. [unsignedLessThanZero] xpaint-2.9.1.4/xaw3dxft/Panner.c:308:12: style: Checking if unsigned expression '*y' is less than zero. [unsignedLessThanZero] xpaint-2.9.1.4/xaw3dxft/Panner.c:445:11: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/xaw3dxft/Panner.c:729:23: style: Parameter 'intended' can be declared as pointer to const. However it seems that 'QueryGeometry' is a callback function, if 'intended' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/Panner.c:188:27: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/Panner.c:729:23: note: Parameter 'intended' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/Panner.c:855:15: style: Parameter 'num_params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/Panner.c:949:15: style: Parameter 'num_params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/Paned.c:368:20: style: Parameter 'geo_struct' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/Porthole.c:151:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtPointer [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Porthole.c:170:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWX [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Porthole.c:211:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NorthWestGravity [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Porthole.c:240:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawPRCanvasWidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Porthole.c:253:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Porthole.c:278:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Porthole.c:349:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Repeater.c:179:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Repeater.c:230:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Porthole.c:159:23: style: Parameter 'geomp' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/Porthole.c:246:23: style: Parameter 'intended' can be declared as pointer to const. However it seems that 'QueryGeometry' is a callback function, if 'intended' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/Porthole.c:91:27: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/Porthole.c:246:23: note: Parameter 'intended' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/Simple.c:125:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtWidgetBaseOffset [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Simple.c:148:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Simple.c:176:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Simple.c:222:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Cursor [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Simple.c:246:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Simple.c:281:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtUnspecifiedPixmap [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Simple.c:150:8: style: Variable 'msg1' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/xaw3dxft/Simple.c:223:27: error: Uninitialized variable: cursor [uninitvar] xpaint-2.9.1.4/xaw3dxft/Scrollbar.c:267:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtorientHorizontal [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Scrollbar.c:332:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtorientHorizontal [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Scrollbar.c:488:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtUnspecifiedPixmap [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Scrollbar.c:526:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtorientVertical [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Scrollbar.c:547:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtorientVertical [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Scrollbar.c:578:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtorientVertical [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Scrollbar.c:602:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Scrollbar.c:653:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Scrollbar.c:846:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtorientVertical [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Scrollbar.c:967:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtorientHorizontal [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Scrollbar.c:1009:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcursor [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Scrollbar.c:1028:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtorientHorizontal [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Scrollbar.c:1122:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNthumbProc [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:261:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtPointer [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:285:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:349:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RectObjPart [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:471:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWCursor [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:505:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable smeBSBObjectClass [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:533:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:621:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:656:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:753:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:902:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable smeBSBObjectClass [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:1024:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:1166:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PositionMenuAction [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:1215:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:1282:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNx [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:1309:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonPressMask [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:1333:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:1367:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable smeLineObjectClass [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:1429:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:1494:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPoint [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:1633:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNx [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:1656:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sub_menu [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Scrollbar.c:260:16: style: Checking if unsigned expression 'bottom' is less than zero. [unsignedLessThanZero] xpaint-2.9.1.4/xaw3dxft/Scrollbar.c:681:13: style: Parameter 'oldEvent' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/Scrollbar.c:681:24: style: Parameter 'newEvent' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/Scrollbar.c:829:15: style: Parameter 'num_params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/Scrollbar.c:948:15: style: Parameter 'num_params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/Scrollbar.c:1054:7: style: Variable 't' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/xaw3dxft/Sme.c:135:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtInheritHighlight [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Sme.c:205:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcallback [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Sme.c:226:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGeometryYes [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Sme.c:222:19: style: Parameter 'intended' can be declared as pointer to const. However it seems that 'QueryGeometry' is a callback function, if 'intended' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/Sme.c:94:31: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/Sme.c:222:19: note: Parameter 'intended' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/SmeBSB.c:215:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SmeBSB.c:270:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SmeBSB.c:360:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SmeBSB.c:446:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGeometryYes [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SmeBSB.c:573:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SmeBSB.c:670:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SmeBSB.c:758:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SmeBSB.c:221:1: error: Memory leak: entry.sme_bsb [memleak] xpaint-2.9.1.4/xaw3dxft/SmeBSB.c:425:5: error: Memory leak: entry.sme_bsb [memleak] xpaint-2.9.1.4/xaw3dxft/SmeBSB.c:442:19: style: Parameter 'intended' can be declared as pointer to const. However it seems that 'QueryGeometry' is a callback function, if 'intended' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/SmeBSB.c:148:31: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/SmeBSB.c:442:19: note: Parameter 'intended' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/SmeBSB.c:681:22: style: Variable 'err1' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/xaw3dxft/SmeBSB.c:712:19: style: Variable 'err1' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/xaw3dxft/SmeLine.c:166:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SmeLine.c:196:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtUnspecifiedPixmap [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SmeLine.c:223:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtUnspecifiedPixmap [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SmeLine.c:254:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SmeLine.c:277:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGeometryYes [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SmeLine.c:245:11: style: Parameter 'num_args' can be declared as pointer to const. However it seems that 'SetValues' is a callback function, if 'num_args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/SmeLine.c:96:33: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/SmeLine.c:245:11: note: Parameter 'num_args' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/SmeLine.c:273:19: style: Parameter 'intended' can be declared as pointer to const. However it seems that 'QueryGeometry' is a callback function, if 'intended' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/SmeLine.c:104:31: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/SmeLine.c:273:19: note: Parameter 'intended' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:1265:8: style: Unsigned expression 'x' can't be negative so it is unnecessary to test it. [unsignedPositive] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:1270:8: style: Checking if unsigned expression 'x' is less than zero. [unsignedLessThanZero] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:1273:8: style: Unsigned expression 'y' can't be negative so it is unnecessary to test it. [unsignedPositive] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:1278:8: style: Checking if unsigned expression 'y' is less than zero. [unsignedLessThanZero] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:1520:15: style: Checking if unsigned expression 'x_loc' is less than zero. [unsignedLessThanZero] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:1546:22: style: Checking if unsigned expression 'y_loc' is less than zero. [unsignedLessThanZero] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:1607:28: style: Unsigned expression 'menu_x' can't be negative so it is unnecessary to test it. [unsignedPositive] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:1615:32: style: Checking if unsigned expression 'menu_x' is less than zero. [unsignedLessThanZero] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:1620:16: style: Unsigned expression 'menu_y' can't be negative so it is unnecessary to test it. [unsignedPositive] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:1630:16: style: Checking if unsigned expression 'menu_y' is less than zero. [unsignedLessThanZero] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:611:11: style: Parameter 'num_args' can be declared as pointer to const. However it seems that 'SetValuesHook' is a callback function, if 'num_args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:184:30: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:611:11: note: Parameter 'num_args' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:648:20: style: Parameter 'request' can be declared as pointer to const. However it seems that 'GeometryManager' is a callback function, if 'request' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:195:33: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:648:20: note: Parameter 'request' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:747:12: style: Parameter 'num_params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:763:11: style: Variable 'err1' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/xaw3dxft/StripChart.c:160:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOREGROUND [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/StripChart.c:183:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOREGROUND [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/StripChart.c:203:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ALL_GCS [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/StripChart.c:221:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ALL_GCS [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/StripChart.c:241:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/StripChart.c:276:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/StripChart.c:375:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/StripChart.c:429:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_JUMP [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/StripChart.c:495:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/StripChart.c:552:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPoint [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/StripChart.c:283:57: error: Uninitialized variable: value [uninitvar] xpaint-2.9.1.4/xaw3dxft/SmeThreeD.c:159:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCTile [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SmeThreeD.c:179:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCTile [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SmeThreeD.c:198:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SmeThreeD.c:213:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SmeThreeD.c:269:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SmeThreeD.c:415:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtInheritXawSme3dShadowDraw [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SmeThreeD.c:464:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/SmeThreeD.c:578:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:224:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawFmt8Bit [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:268:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_STRING [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:325:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawsdLeft [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:445:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawsdLeft [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:476:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawsdRight [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:487:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawsdLeft [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:520:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawsdLeft [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:536:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawsdLeft [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:547:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawsdRight [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:558:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawsdLeft [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:575:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawsdRight [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:586:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawsdLeft [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:638:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Atom [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:817:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawTextSelectionSalt [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:880:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawsdLeft [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:992:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1033:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1044:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1057:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawEditDone [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1098:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawEditError [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1134:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1197:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1213:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zeroPosition [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1355:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NotifyPointer [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1371:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NotifyPointer [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1418:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable position [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1449:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1613:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1640:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EnterNotify [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1696:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1729:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawFmt8Bit [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1807:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawFmt8Bit [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1858:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawEditDone [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1892:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1927:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:197:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:237:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:279:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:329:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_actions [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:411:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scrollbarWidgetClass [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:466:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scrollbarWidgetClass [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:517:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:642:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable realize [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:729:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable y [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:846:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:942:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawTextPosition [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:974:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ONE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:1012:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawTAB [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:1045:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable y [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:1087:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable position [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:1115:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable y [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:1154:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawTextLineTableEntry [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:1185:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawtextResizeWidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:1270:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable textWidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:1283:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawtextScrollNever [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:1346:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawtextScrollNever [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:1406:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable position [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:1612:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:1691:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable position [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:1763:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Atom [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:1890:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_CUT_BUFFER0 [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:1999:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawTextSelectionSalt [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:2082:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_STRING [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:2130:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNeditType [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:2230:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable position [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:2348:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawselectNull [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:2466:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawsdRight [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:2582:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:2601:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawtextResizeWidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:2660:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Atom [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:2745:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:2793:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable position [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:2815:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Expose [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:2863:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawisOff [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:2951:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:3022:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawisOn [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:3059:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:3076:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:3153:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable change_sensitive [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:3216:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text_move [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:3277:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:3415:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETLASTPOS [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:3445:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawEditDone [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:3485:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:3559:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETLASTPOS [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Text.c:3593:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETLASTPOS [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextAction.c:687:6: style: Condition '!salt' is always false [knownConditionTrueFalse] xpaint-2.9.1.4/xaw3dxft/TextAction.c:190:19: style: Parameter 'type' can be declared as pointer to const. However it seems that '_SelectionReceived' is a callback function, if 'type' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/TextAction.c:286:8: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/TextAction.c:190:19: note: Parameter 'type' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/TextAction.c:192:16: style: Parameter 'length' can be declared as pointer to const. However it seems that '_SelectionReceived' is a callback function, if 'length' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/TextAction.c:286:8: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/TextAction.c:192:16: note: Parameter 'length' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/TextAction.c:295:11: style: Parameter 'num_params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextAction.c:598:23: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextAction.c:751:11: style: Parameter 'selection' can be declared as pointer to const. However it seems that 'LoseSelection' is a callback function, if 'selection' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/TextAction.c:834:25: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/TextAction.c:751:11: note: Parameter 'selection' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/TextAction.c:1307:11: style: Parameter 'num_params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1348:9: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1364:9: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1379:13: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1380:13: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1381:15: style: Parameter 'num_params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1390:13: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1391:13: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1392:15: style: Parameter 'num_params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1589:11: style: Parameter 'num_params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1634:9: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1635:11: style: Parameter 'num_params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1676:9: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1677:11: style: Parameter 'num_params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1980:9: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1981:11: style: Parameter 'num_params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1383:20: style: Variable 'ctx' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1394:18: style: Variable 'ctx' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1734:43: style: Variable 'endPos' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/xaw3dxft/TextPop.c:171:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNeditType [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextPop.c:215:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextPop.c:235:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextPop.c:275:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextPop.c:335:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextPop.c:415:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextPop.c:463:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextPop.c:515:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextPop.c:592:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNsensitive [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextPop.c:632:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNborderWidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextPop.c:805:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextPop.c:883:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextPop.c:971:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextPop.c:1077:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextPop.c:1109:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable search [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextPop.c:1155:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNborderColor [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextPop.c:1186:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextPop.c:1221:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ONE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextPop.c:1240:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextPop.c:1254:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextPop.c:1296:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextPop.c:1416:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextPop.c:1448:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextPop.c:976:12: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] xpaint-2.9.1.4/xaw3dxft/TextPop.c:972:15: note: outer condition: count!=0 xpaint-2.9.1.4/xaw3dxft/TextPop.c:976:12: note: opposite inner condition: count==0 xpaint-2.9.1.4/xaw3dxft/TextPop.c:574:1: error: Memory leak: ctx.text [memleak] xpaint-2.9.1.4/xaw3dxft/TextPop.c:1305:9: style: Checking if unsigned expression 'x' is less than zero. [unsignedLessThanZero] xpaint-2.9.1.4/xaw3dxft/TextPop.c:1309:9: style: Checking if unsigned expression 'y' is less than zero. [unsignedLessThanZero] xpaint-2.9.1.4/xaw3dxft/TextPop.c:167:10: style: Local variable 'ptr' shadows outer variable [shadowVariable] xpaint-2.9.1.4/xaw3dxft/TextPop.c:1338:8: note: Shadowed declaration xpaint-2.9.1.4/xaw3dxft/TextPop.c:167:10: note: Shadow variable xpaint-2.9.1.4/xaw3dxft/TextPop.c:515:10: style: Local variable 'ptr' shadows outer variable [shadowVariable] xpaint-2.9.1.4/xaw3dxft/TextPop.c:1338:8: note: Shadowed declaration xpaint-2.9.1.4/xaw3dxft/TextPop.c:515:10: note: Shadow variable xpaint-2.9.1.4/xaw3dxft/TextPop.c:163:10: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextPop.c:164:12: style: Parameter 'num_params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextPop.c:267:7: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextPop.c:411:10: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextPop.c:412:12: style: Parameter 'num_params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextPop.c:510:10: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextPop.c:511:12: style: Parameter 'num_params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextPop.c:588:27: style: Parameter 'search' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextPop.c:830:11: style: Variable 'msg1' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/xaw3dxft/TextPop.c:831:11: style: Variable 'msg2' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/xaw3dxft/TextPop.c:879:10: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextPop.c:880:12: style: Parameter 'num_params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextPop.c:980:10: style: Variable 'msg1' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/xaw3dxft/TextPop.c:981:10: style: Variable 'msg2' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/xaw3dxft/TextPop.c:1022:13: style: Variable 'msg1' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/xaw3dxft/TextPop.c:1023:13: style: Variable 'msg2' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/xaw3dxft/TextPop.c:1103:10: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextPop.c:1104:12: style: Parameter 'num_params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextPop.c:1182:8: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextPop.c:1394:13: style: Parameter 'event' can be declared as pointer to const. However it seems that 'WMProtocols' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/TextPop.c:1449:20: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/TextPop.c:1394:13: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/TextPop.c:1396:15: style: Parameter 'num_params' can be declared as pointer to const. However it seems that 'WMProtocols' is a callback function, if 'num_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/TextPop.c:1449:20: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/TextPop.c:1396:15: note: Parameter 'num_params' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/Text.c:2697:55: error: Using pointer to local variable 'defaultSel' that is out of scope. [invalidLifetime] xpaint-2.9.1.4/xaw3dxft/Text.c:2694:12: note: Address of variable taken here. xpaint-2.9.1.4/xaw3dxft/Text.c:2693:12: note: Variable created here. xpaint-2.9.1.4/xaw3dxft/Text.c:2697:55: note: Using pointer to local variable 'defaultSel' that is out of scope. xpaint-2.9.1.4/xaw3dxft/Text.c:2900:34: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] xpaint-2.9.1.4/xaw3dxft/Text.c:536:10: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] xpaint-2.9.1.4/xaw3dxft/Text.c:537:10: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] xpaint-2.9.1.4/xaw3dxft/Text.c:1164:12: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] xpaint-2.9.1.4/xaw3dxft/Text.c:1244:12: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] xpaint-2.9.1.4/xaw3dxft/Text.c:2690:31: warning: Possible null pointer dereference: list [nullPointer] xpaint-2.9.1.4/xaw3dxft/Text.c:3542:40: note: Calling function '_XawTextSetSelection', 4th argument '(String*)NULL' value is 0 xpaint-2.9.1.4/xaw3dxft/Text.c:2690:31: note: Null pointer dereference xpaint-2.9.1.4/xaw3dxft/TextSink.c:138:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtInheritDisplayText [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextSink.c:232:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable redisplay_needed [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextSink.c:443:8: style: Parameter 'tabs' can be declared as pointer to const. However it seems that 'SetTabs' is a callback function, if 'tabs' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/TextSink.c:117:41: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/TextSink.c:443:8: note: Parameter 'tabs' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/TextSink.c:743:17: style: Parameter 'tabs' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/Text.c:368:12: style: Checking if unsigned expression 'left' is less than zero. [unsignedLessThanZero] xpaint-2.9.1.4/xaw3dxft/Text.c:397:11: style: Checking if unsigned expression 'pos' is less than zero. [unsignedLessThanZero] xpaint-2.9.1.4/xaw3dxft/Text.c:1512:19: style: Checking if unsigned expression 'pixels' is less than zero. [unsignedLessThanZero] xpaint-2.9.1.4/xaw3dxft/Text.c:581:13: style: Variable 'err1' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/xaw3dxft/Text.c:582:13: style: Variable 'err2' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/xaw3dxft/Text.c:583:13: style: Variable 'err3' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/xaw3dxft/Text.c:600:13: style: Variable 'err1' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/xaw3dxft/Text.c:601:13: style: Variable 'err2' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/xaw3dxft/Text.c:602:13: style: Variable 'err3' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/xaw3dxft/Text.c:615:13: style: Variable 'err1' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/xaw3dxft/Text.c:616:13: style: Variable 'err2' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/xaw3dxft/Text.c:617:13: style: Variable 'err3' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/xaw3dxft/Text.c:745:34: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/Text.c:760:35: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/Text.c:1567:11: style: Variable 'percent' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/xaw3dxft/Text.c:1684:11: style: Variable 'percent' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/xaw3dxft/Text.c:1724:22: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/Text.c:1904:7: style: Parameter 'selection' can be declared as pointer to const. However it seems that 'LoseSelection' is a callback function, if 'selection' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/Text.c:2096:8: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/Text.c:1904:7: note: Parameter 'selection' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/Text.c:2734:11: style: Parameter 'num_params' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/Text.c:2768:13: style: Parameter 'rect1' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/Text.c:2768:21: style: Parameter 'rect2' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/Text.c:2786:14: style: Parameter 'rect' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/Text.c:3268:24: style: Variable 'offsets' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/xaw3dxft/Text.c:1249:10: warning: Uninitialized variable: endPos [uninitvar] xpaint-2.9.1.4/xaw3dxft/Text.c:1195:11: note: Assuming condition is false xpaint-2.9.1.4/xaw3dxft/Text.c:1249:10: note: Uninitialized variable: endPos xpaint-2.9.1.4/xaw3dxft/Text.c:1146:20: style: Variable 'height' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/xaw3dxft/TextSrc.c:141:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtInheritRead [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextSrc.c:205:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawEditError [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextSrc.c:256:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawTextSearchError [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextSrc.c:280:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextSrc.c:314:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextSrc.c:583:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text_format [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/TextSrc.c:203:15: style: Parameter 'text' can be declared as pointer to const. However it seems that 'Replace' is a callback function, if 'text' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/TextSrc.c:110:41: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/TextSrc.c:203:15: note: Parameter 'text' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/TextSrc.c:254:23: style: Parameter 'text' can be declared as pointer to const. However it seems that 'Search' is a callback function, if 'text' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/TextSrc.c:112:41: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/TextSrc.c:254:23: note: Parameter 'text' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/TextSrc.c:275:8: style: Parameter 'selection' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextSrc.c:275:21: style: Parameter 'target' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextSrc.c:275:31: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextSrc.c:276:13: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextSrc.c:277:17: style: Parameter 'length' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/TextSrc.c:278:7: style: Parameter 'format' can be declared as pointer to const [constParameterPointer] xpaint-2.9.1.4/xaw3dxft/Tip.c:201:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtEnotUseful [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Tip.c:264:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Tip.c:284:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeyPressMask [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Tip.c:316:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Always [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Tip.c:384:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Tip.c:511:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeyPressMask [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Tip.c:556:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtPointer [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Tip.c:634:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonPressMask [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Tip.c:646:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonPressMask [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Tip.c:349:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] xpaint-2.9.1.4/xaw3dxft/Tip.c:403:12: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] xpaint-2.9.1.4/xaw3dxft/Tip.c:416:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] xpaint-2.9.1.4/xaw3dxft/Tip.c:417:12: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] xpaint-2.9.1.4/xaw3dxft/Tip.c:450:11: style: Checking if unsigned expression 'x' is less than zero. [unsignedLessThanZero] xpaint-2.9.1.4/xaw3dxft/Tip.c:455:11: style: Checking if unsigned expression 'y' is less than zero. [unsignedLessThanZero] xpaint-2.9.1.4/xaw3dxft/Tip.c:522:13: style: Variable 'screen' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/xaw3dxft/Tip.c:567:17: style: Variable 'winfo' can be declared as pointer to const [constVariablePointer] xpaint-2.9.1.4/xaw3dxft/Tip.c:595:9: style: Parameter 'event' can be declared as pointer to const. However it seems that 'TipEventHandler' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/Tip.c:646:49: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/Tip.c:595:9: note: Parameter 'event' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/Toggle.c:172:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtBaseOffset [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Toggle.c:287:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcallback [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Toggle.c:317:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Toggle.c:373:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Toggle.c:402:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RadioGroup [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/ThreeD.c:157:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCTile [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/ThreeD.c:177:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCTile [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/ThreeD.c:196:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/ThreeD.c:259:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/ThreeD.c:422:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtReliefNone [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/ThreeD.c:468:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtInheritXaw3dShadowDraw [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/ThreeD.c:547:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/ThreeD.c:661:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtReliefRaised [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/ThreeD.c:806:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Tree.c:214:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCBackground [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Tree.c:345:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WestGravity [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Tree.c:422:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Tree.c:489:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Tree.c:518:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Tree.c:535:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGeometryNo [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Tree.c:555:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Tree.c:673:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Tree.c:708:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WestGravity [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Tree.c:825:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WestGravity [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Tree.c:939:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGeometryAlmost [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Tree.c:1006:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Tree.c:259:1: error: Memory leak: pc.tree [memleak] xpaint-2.9.1.4/xaw3dxft/Tree.c:524:23: style: Parameter 'request' can be declared as pointer to const. However it seems that 'GeometryManager' is a callback function, if 'request' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/Tree.c:153:5: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/Tree.c:524:23: note: Parameter 'request' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/Tree.c:669:23: style: Parameter 'intended' can be declared as pointer to const. However it seems that 'QueryGeometry' is a callback function, if 'intended' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/Tree.c:147:5: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/Tree.c:669:23: note: Parameter 'intended' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/Vendor.c:175:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Success [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Vendor.c:274:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtWidgetBaseOffset [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Vendor.c:331:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Vendor.c:339:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wmShellWidgetClass [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Vendor.c:355:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Vendor.c:402:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable change_managed [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Vendor.c:349:20: style: Parameter 'request' can be declared as pointer to const. However it seems that 'GeometryManager' is a callback function, if 'request' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpaint-2.9.1.4/xaw3dxft/Vendor.c:136:30: note: You might need to cast the function pointer here xpaint-2.9.1.4/xaw3dxft/Vendor.c:349:20: note: Parameter 'request' can be declared as pointer to const xpaint-2.9.1.4/xaw3dxft/Viewport.c:157:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNorientation [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Viewport.c:233:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Viewport.c:319:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWBitGravity [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Viewport.c:472:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtPointer [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Viewport.c:496:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XawPRSliderX [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Viewport.c:531:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNshadowWidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Viewport.c:792:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNshadowWidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Viewport.c:933:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGeometryYes [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Viewport.c:946:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNshadowWidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Viewport.c:976:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGeometryYes [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Viewport.c:1000:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Viewport.c:1101:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Viewport.c:1134:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGeometryYes [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/XawInit.c:47:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vendorShellWidgetClass [valueFlowBailoutIncompleteVar] xpaint-2.9.1.4/xaw3dxft/Viewport.c:492:11: style: Unsigned expression 'x' can't be negative so it is unnecessary to test it. [unsignedPositive] xpaint-2.9.1.4/xaw3dxft/Viewport.c:493:11: style: Unsigned expression 'y' can't be negative so it is unnecessary to test it. [unsignedPositive] xpaint-2.9.1.4/xaw3dxft/Viewport.c:1192:16: style: Checking if unsigned expression 'x' is less than zero. [unsignedLessThanZero] xpaint-2.9.1.4/xaw3dxft/Viewport.c:1197:16: style: Checking if unsigned expression 'y' is less than zero. [unsignedLessThanZero] xpaint-2.9.1.4/xaw3dxft/Viewport.c:900:12: style: Variable 'percent' can be declared as pointer to const [constVariablePointer] diff: DONE