2022-06-26 03:03 ftp://ftp.de.debian.org/debian/pool/main/x/xpaint/xpaint_2.9.1.4.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --inline-suppr --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j4 platform: Linux-5.10.0-15-amd64-x86_64-with-glibc2.31 python: 3.9.2 client-version: 1.3.25 compiler: g++ (Debian 10.2.1-6) 10.2.1 20210110 cppcheck: head 2.8 head-info: 242afc3 (2022-06-25 21:42:55 +0200) count: 467 468 elapsed-time: 9.4 10.6 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: xpaint-2.9.1.4/PaintUndo.c:363:43: style: Parameter 'rect' can be declared as pointer to const [constParameter] 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:301:62: style: Parameter 'data' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/PaintEvent.c:301:12: style: Parameter 'func' can be declared as pointer to const [constParameter] 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/Paint.c:1418:2: warning:inconclusive: 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:270:32: style: Parameter 'alpha' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/Paint.c:1433:50: style: Parameter 'nargs' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/Paint.c:76:52: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] xpaint-2.9.1.4/Paint.c:76:52: error: Signed integer overflow for expression '1<<31'. [integerOverflow] 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:36:11: style: struct member 'data_s::data' 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/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/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 [constParameter] 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/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: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/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:669:51: style: Parameter 'pixval' can be declared as pointer to const [constParameter] 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: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/color.c:750:13: style: Variable 'subform' is assigned a value that is never used. [unreadVariable] 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/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:558:14: 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:558:14: note: Null pointer dereference 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: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: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/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/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/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/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/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:607:64: style: Parameter 'nprms' can be declared as pointer to const [constParameter] 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/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 [constParameter] xpaint-2.9.1.4/fontSelect.c:425:43: style: Parameter 'percent' can be declared as pointer to const [constParameter] 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/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:386:16: style: Condition 'htable!=NULL' is always false [knownConditionTrueFalse] xpaint-2.9.1.4/image.c:252:20: note: Assignment 'htable=NULL', assigned value is 0 xpaint-2.9.1.4/image.c:386:16: note: Condition 'htable!=NULL' is always false 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:134: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:134:12: note: Shadow variable xpaint-2.9.1.4/iprocess.c:274: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:274:12: note: Shadow variable xpaint-2.9.1.4/iprocess.c:339: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:339:12: note: Shadow variable xpaint-2.9.1.4/iprocess.c:390: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:390:12: 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:461: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:461:12: note: Shadow variable xpaint-2.9.1.4/iprocess.c:559: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:559:12: 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:687: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:687:12: note: Shadow variable xpaint-2.9.1.4/iprocess.c:773: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:773:12: note: Shadow variable xpaint-2.9.1.4/iprocess.c:846: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:846:12: 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:1083: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:1083:12: note: Shadow variable xpaint-2.9.1.4/iprocess.c:1144: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:1144:12: 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:1290: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:1290:12: note: Shadow variable xpaint-2.9.1.4/iprocess.c:1464: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:1464:12: note: Shadow variable xpaint-2.9.1.4/iprocess.c:1484: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:1484:12: note: Shadow variable xpaint-2.9.1.4/iprocess.c:1506: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:1506:12: 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 [constParameter] xpaint-2.9.1.4/iprocess.c:126:18: style: Parameter 'basePixel' can be declared as pointer to const [constParameter] 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: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/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:401:13: style: Variable 'len' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/graphic.c:4177:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xpaint-2.9.1.4/graphic.c:4067:21: style: Comparing expression of type 'unsigned int' against value 0. Condition is always false. [compareValueOutOfTypeRangeError] xpaint-2.9.1.4/graphic.c:4068:21: style: Comparing expression of type 'unsigned int' against value 0. Condition is always false. [compareValueOutOfTypeRangeError] xpaint-2.9.1.4/graphic.c:4069:28: style: Comparing expression of type 'unsigned int' against value 0. Condition is always false. [compareValueOutOfTypeRangeError] xpaint-2.9.1.4/graphic.c:4086:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xpaint-2.9.1.4/graphic.c:4087:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xpaint-2.9.1.4/graphic.c:4088:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xpaint-2.9.1.4/graphic.c:1718:15: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] xpaint-2.9.1.4/graphic.c:1716:15: note: i is assigned xpaint-2.9.1.4/graphic.c:1718:15: note: i is overwritten xpaint-2.9.1.4/graphic.c:5663:9: style: Variable 'cp' is reassigned a value before the old one has been used. [redundantAssignment] xpaint-2.9.1.4/graphic.c:5659:6: note: cp is assigned xpaint-2.9.1.4/graphic.c:5663:9: note: cp is overwritten xpaint-2.9.1.4/graphic.c:5663:9: style: Variable 'cp' is reassigned a value before the old one has been used. [redundantAssignment] xpaint-2.9.1.4/graphic.c:5661:5: note: cp is assigned xpaint-2.9.1.4/graphic.c:5663:9: note: cp is overwritten xpaint-2.9.1.4/graphic.c:4067:19: style: Checking if unsigned expression 'alpha_bg' is less than zero. [unsignedLessThanZero] xpaint-2.9.1.4/graphic.c:4068:19: style: Checking if unsigned expression 'alpha_fg' is less than zero. [unsignedLessThanZero] xpaint-2.9.1.4/graphic.c:4069:26: style: Checking if unsigned expression 'alpha_threshold' is less than zero. [unsignedLessThanZero] 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:731:35: style: Parameter 'l' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/misc.c:551:10: error: Uninitialized variable: corner [uninitvar] xpaint-2.9.1.4/misc.c:547:26: note: Assuming condition is false xpaint-2.9.1.4/misc.c:551:10: note: Uninitialized variable: corner xpaint-2.9.1.4/graphic.c:2216:30: warning: Either the condition 'zoom>0' is redundant or there is division by zero at line 2216. [zerodivcond] xpaint-2.9.1.4/graphic.c:2212:17: note: Assuming that condition 'zoom>0' is not redundant xpaint-2.9.1.4/graphic.c:2216:30: note: Division by zero xpaint-2.9.1.4/graphic.c:2217:32: warning: Either the condition 'zoom>0' is redundant or there is division by zero at line 2217. [zerodivcond] xpaint-2.9.1.4/graphic.c:2212:17: note: Assuming that condition 'zoom>0' is not redundant xpaint-2.9.1.4/graphic.c:2217:32: note: Division by zero xpaint-2.9.1.4/graphic.c:2290:21: warning: Either the condition 'z>0' is redundant or there is division by zero at line 2290. [zerodivcond] xpaint-2.9.1.4/graphic.c:2286:10: note: Assuming that condition 'z>0' is not redundant xpaint-2.9.1.4/graphic.c:2290:21: note: Division by zero xpaint-2.9.1.4/graphic.c:3019:24: warning: Either the condition 'zoom>0' is redundant or there is division by zero at line 3019. [zerodivcond] xpaint-2.9.1.4/graphic.c:3015:13: note: Assuming that condition 'zoom>0' is not redundant xpaint-2.9.1.4/graphic.c:3019:24: note: Division by zero xpaint-2.9.1.4/graphic.c:3020:24: warning: Either the condition 'zoom>0' is redundant or there is division by zero at line 3020. [zerodivcond] xpaint-2.9.1.4/graphic.c:3015:13: note: Assuming that condition 'zoom>0' is not redundant xpaint-2.9.1.4/graphic.c:3020:24: note: Division by zero xpaint-2.9.1.4/graphic.c:5887:29: warning: Either the condition 'zoom>0' is redundant or there is division by zero at line 5887. [zerodivcond] xpaint-2.9.1.4/graphic.c:5876:13: note: Assuming that condition 'zoom>0' is not redundant xpaint-2.9.1.4/graphic.c:5884:11: note: z is assigned '-zoom' here. xpaint-2.9.1.4/graphic.c:5887:29: note: Division by zero xpaint-2.9.1.4/graphic.c:5888:31: warning: Either the condition 'zoom>0' is redundant or there is division by zero at line 5888. [zerodivcond] xpaint-2.9.1.4/graphic.c:5876:13: note: Assuming that condition 'zoom>0' is not redundant xpaint-2.9.1.4/graphic.c:5884:11: note: z is assigned '-zoom' here. xpaint-2.9.1.4/graphic.c:5888:31: note: Division by zero xpaint-2.9.1.4/graphic.c:1348:41: style:inconclusive: Function 'setCanvasColorsIcon' argument 2 names different: declaration 'ptr' definition 'data'. [funcArgNamesDifferent] xpaint-2.9.1.4/misc.h:188:53: note: Function 'setCanvasColorsIcon' argument 2 names different: declaration 'ptr' definition 'data'. xpaint-2.9.1.4/graphic.c:1348:41: note: Function 'setCanvasColorsIcon' argument 2 names different: declaration 'ptr' definition 'data'. xpaint-2.9.1.4/graphic.c:2149:21: style:inconclusive: Function 'SetAlphaMode' argument 1 names different: declaration 'w' definition 'paint'. [funcArgNamesDifferent] xpaint-2.9.1.4/graphic.h:28:26: note: Function 'SetAlphaMode' argument 1 names different: declaration 'w' definition 'paint'. xpaint-2.9.1.4/graphic.c:2149:21: note: Function 'SetAlphaMode' argument 1 names different: declaration 'w' definition 'paint'. xpaint-2.9.1.4/graphic.c:3068:34: style:inconclusive: Function 'zoomCallback' argument 2 names different: declaration 'paintArg' definition 'arg'. [funcArgNamesDifferent] xpaint-2.9.1.4/graphic.h:11:39: note: Function 'zoomCallback' argument 2 names different: declaration 'paintArg' definition 'arg'. xpaint-2.9.1.4/graphic.c:3068:34: note: Function 'zoomCallback' argument 2 names different: declaration 'paintArg' definition 'arg'. xpaint-2.9.1.4/graphic.c:4671:33: style:inconclusive: Function 'selectKeyPress' argument 2 names different: declaration 'l' definition 'arg'. [funcArgNamesDifferent] xpaint-2.9.1.4/ops.h:115:38: note: Function 'selectKeyPress' argument 2 names different: declaration 'l' definition 'arg'. xpaint-2.9.1.4/graphic.c:4671:33: note: Function 'selectKeyPress' argument 2 names different: declaration 'l' definition 'arg'. xpaint-2.9.1.4/graphic.c:4671:64: style:inconclusive: Function 'selectKeyPress' argument 4 names different: declaration 'info' definition 'junk'. [funcArgNamesDifferent] xpaint-2.9.1.4/ops.h:115:67: note: Function 'selectKeyPress' argument 4 names different: declaration 'info' definition 'junk'. xpaint-2.9.1.4/graphic.c:4671:64: note: Function 'selectKeyPress' argument 4 names different: declaration 'info' definition 'junk'. xpaint-2.9.1.4/graphic.c:5694:22: style:inconclusive: Function 'GraphicCreate' argument 1 names different: declaration 'wid' definition 'w'. [funcArgNamesDifferent] xpaint-2.9.1.4/graphic.h:21:27: note: Function 'GraphicCreate' argument 1 names different: declaration 'wid' definition 'w'. xpaint-2.9.1.4/graphic.c:5694:22: note: Function 'GraphicCreate' argument 1 names different: declaration 'wid' definition 'w'. xpaint-2.9.1.4/graphic.c:5941:62: style:inconclusive: Function 'StdMemorySetCallback' argument 3 names different: declaration 'junk' definition 'junk2'. [funcArgNamesDifferent] xpaint-2.9.1.4/region.h:7:67: note: Function 'StdMemorySetCallback' argument 3 names different: declaration 'junk' definition 'junk2'. xpaint-2.9.1.4/graphic.c:5941:62: note: Function 'StdMemorySetCallback' argument 3 names different: declaration 'junk' definition 'junk2'. xpaint-2.9.1.4/graphic.c:5988:65: style:inconclusive: Function 'StdMemoryRecallCallback' argument 3 names different: declaration 'junk' definition 'junk2'. [funcArgNamesDifferent] xpaint-2.9.1.4/region.h:8:70: note: Function 'StdMemoryRecallCallback' argument 3 names different: declaration 'junk' definition 'junk2'. xpaint-2.9.1.4/graphic.c:5988:65: note: Function 'StdMemoryRecallCallback' argument 3 names different: declaration 'junk' definition 'junk2'. xpaint-2.9.1.4/graphic.c:6039:66: style:inconclusive: Function 'StdMemoryRemoveCallback' argument 3 names different: declaration 'junk' definition 'junk2'. [funcArgNamesDifferent] xpaint-2.9.1.4/region.h:9:70: note: Function 'StdMemoryRemoveCallback' argument 3 names different: declaration 'junk' definition 'junk2'. xpaint-2.9.1.4/graphic.c:6039:66: note: Function 'StdMemoryRemoveCallback' argument 3 names different: declaration 'junk' definition 'junk2'. xpaint-2.9.1.4/graphic.c:6126:13: style: Local variable 'pix' shadows outer variable [shadowVariable] xpaint-2.9.1.4/graphic.c:6115:12: note: Shadowed declaration xpaint-2.9.1.4/graphic.c:6126:13: note: Shadow variable xpaint-2.9.1.4/graphic.c:6139:13: style: Local variable 'pix' shadows outer variable [shadowVariable] xpaint-2.9.1.4/graphic.c:6115:12: note: Shadowed declaration xpaint-2.9.1.4/graphic.c:6139:13: note: Shadow variable xpaint-2.9.1.4/graphic.c:6164:9: style: Local variable 'gc' shadows outer variable [shadowVariable] xpaint-2.9.1.4/graphic.c:6120:8: note: Shadowed declaration xpaint-2.9.1.4/graphic.c:6164:9: note: Shadow variable xpaint-2.9.1.4/graphic.c:6903:36: style: Local variable 'ImgProcessInfo' shadows outer variable [shadowVariable] xpaint-2.9.1.4/graphic.c:174:25: note: Shadowed declaration xpaint-2.9.1.4/graphic.c:6903:36: note: Shadow variable xpaint-2.9.1.4/graphic.c:1268:33: style: Parameter 'ptr' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/graphic.c:2726:33: style: Parameter 'ptr' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/graphic.c:3607:38: style: Parameter 'junk' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/graphic.c:5741:53: style: Parameter 'target' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/graphic.c:6108:70: style: Parameter 'type' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/graphic.c:6504:34: style: Parameter 'image' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/graphic.c:6698:55: style: Parameter 'maskdata' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/operation.c:1663:23: error: Unmatched '('. Configuration: '__GNUC__=1'. [syntaxError] xpaint-2.9.1.4/graphic.c:1246:33: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] 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:1563:18: error: Array 'isTopEdge[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:1563:18: note: Array index out of bounds xpaint-2.9.1.4/PaintRegion.c:1577:17: error: Array 'isMiddle[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:1577:17: note: Array index out of bounds xpaint-2.9.1.4/PaintRegion.c:2078:29: style: Condition 'setIsAttached' is always true [knownConditionTrueFalse] xpaint-2.9.1.4/PaintRegion.c:2085:21: style: Condition 'setIsAttached' is always true [knownConditionTrueFalse] 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/graphic.c:1204:19: style: Variable 'cmap' is assigned a value that is never used. [unreadVariable] 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/graphic.c:1233:19: style: Variable 'cmap' is assigned a value that is never used. [unreadVariable] 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/graphic.c:2025:9: style: Variable 'num' is assigned a value that is never used. [unreadVariable] 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/graphic.c:2239:10: style: Variable 'dpy' is assigned a value that is never used. [unreadVariable] 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/PaintRegion.c:930:16: style: Variable 'fixedPoint' 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 [constParameter] xpaint-2.9.1.4/PaintRegion.c:2449:46: style: Parameter 'ys' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/PaintRegion.c:2472:35: style: Parameter 'xs' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/PaintRegion.c:2472:46: style: Parameter 'ys' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/PaintRegion.c:1184:18: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] xpaint-2.9.1.4/graphic.c:4774:9: style: Variable 'len' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/graphic.c:4861:4: style: Variable 'l' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/graphic.c:4862:4: style: Variable 'm' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/graphic.c:4873:4: style: Variable 'l' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/graphic.c:4874:4: style: Variable 'm' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/graphic.c:6692:12: style: Variable 'x' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/graphic.c:6840:11: style: Variable 'depth' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/graphic.c:6985:9: style: Variable 'out' is assigned a value that is never used. [unreadVariable] 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/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:649:26: style: Parameter 'dpy' can be declared as pointer to const [constParameter] 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/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: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/polygonOp.c:401:18: warning: 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:92:9: style: Variable 'dpy' is assigned a value that is never used. [unreadVariable] 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, break, continue, goto or throw 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:302:11: error: 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/pdfconcat.c:817:5: warning: Assert statement calls a function which may have desired side effects: 'gettok'. [assertWithSideEffect] xpaint-2.9.1.4/pdfconcat.c:818:5: warning: Assert statement calls a function which may have desired side effects: 'gettok'. [assertWithSideEffect] xpaint-2.9.1.4/pdfconcat.c:950:3: warning: Assert statement calls a function which may have desired side effects: 'gettok'. [assertWithSideEffect] xpaint-2.9.1.4/pdfconcat.c:938:21: style: Comparing expression of type 'unsigned short' against value 65535. Condition is always false. [compareValueOutOfTypeRangeError] xpaint-2.9.1.4/pdfconcat.c:372:14: style: Local variable 'd' shadows outer variable [shadowVariable] xpaint-2.9.1.4/pdfconcat.c:239:12: note: Shadowed declaration xpaint-2.9.1.4/pdfconcat.c:372:14: note: Shadow variable xpaint-2.9.1.4/pdfconcat.c:301:16: warning: Either the condition '((c-'0')+0U)<=(('9'-'0')+0U)' is redundant or there is signed integer overflow for expression 'c-'a''. [integerOverflowCond] xpaint-2.9.1.4/pdfconcat.c:300:16: note: Assuming that condition '((c-'0')+0U)<=(('9'-'0')+0U)' is not redundant xpaint-2.9.1.4/pdfconcat.c:301:16: note: Integer overflow xpaint-2.9.1.4/pdfconcat.c:812:61: style: Variable 'tok' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/pdfconcat.c:814:18: style: Variable 'tok' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/pdfconcat.c:917:13: style: Variable 'tok' is assigned a value that is never used. [unreadVariable] xpaint-2.9.1.4/pdfconcat.c:993:65: style: Variable 'tok' is assigned a value that is never used. [unreadVariable] 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/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/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: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: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/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:339:18: style: Variable 'defaultDone' is assigned a value that is never used. [unreadVariable] 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/print.c:483:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xpaint-2.9.1.4/print.c:486:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xpaint-2.9.1.4/print.c:1454:25: style: Condition 'num_printers>0' is always false [knownConditionTrueFalse] xpaint-2.9.1.4/print.c:325:8: error: Common realloc mistake: 'printcmd_str' nulled but not freed upon failure [memleakOnRealloc] xpaint-2.9.1.4/print.c:1959:26: style:inconclusive: Function 'checkExternalLink' argument 1 names different: declaration 'pw' definition 'paint'. [funcArgNamesDifferent] xpaint-2.9.1.4/misc.h:208:38: note: Function 'checkExternalLink' argument 1 names different: declaration 'pw' definition 'paint'. xpaint-2.9.1.4/print.c:1959:26: note: Function 'checkExternalLink' argument 1 names different: declaration 'pw' definition 'paint'. xpaint-2.9.1.4/print.c:513:15: style: Local variable 'name' shadows outer variable [shadowVariable] xpaint-2.9.1.4/print.c:495:11: note: Shadowed declaration xpaint-2.9.1.4/print.c:513:15: note: Shadow variable xpaint-2.9.1.4/print.c:1677:13: style: Local variable 'x' shadows outer variable [shadowVariable] xpaint-2.9.1.4/print.c:1041:14: note: Shadowed declaration xpaint-2.9.1.4/print.c:1677:13: note: Shadow variable xpaint-2.9.1.4/print.c:1677:31: style: Local variable 'y' shadows outer variable [shadowVariable] xpaint-2.9.1.4/print.c:1041:17: note: Shadowed declaration xpaint-2.9.1.4/print.c:1677:31: note: Shadow variable xpaint-2.9.1.4/print.c:1834:10: style: Variable 'root' 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/readWriteXPL.c:90:11: style: Unused variable: fp [unusedVariable] 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:255:45: error: Uninitialized variable: ptr [legacyUninitvar] 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/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/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: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/share/c_scripts/3d_curves/helicoid.c:21:17: style: Unused variable: j [unusedVariable] 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/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:22:17: style: Unused variable: j [unusedVariable] 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/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:24:17: style: Unused variable: j [unusedVariable] xpaint-2.9.1.4/share/c_scripts/3d_surfaces/polyhedra.c:56:6: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] 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/polyhedra.c:92:17: style: Unused variable: j [unusedVariable] 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/3d_surfaces/trefoil.c:62:17: style: Unused variable: j [unusedVariable] 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: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/mapping.c:19:20: style: Unused variable: ip [unusedVariable] 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/c_scripts/templates/image.c:17:23: style: Unused variable: input [unusedVariable] 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/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:798:8: error: Memory leak: dir [memleak] xpaint-2.9.1.4/rw/readWritePS.c:888:17: error: Memory leak: dir [memleak] xpaint-2.9.1.4/rw/readWritePS.c:915:20: error: Memory leak: dir [memleak] xpaint-2.9.1.4/rw/readWritePS.c:936:5: error: Memory leak: dir [memleak] 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:136:27: style: Parameter 'Buf' can be declared as const array [constParameter] 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/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 [constParameter] xpaint-2.9.1.4/text.c:149:63: style: Parameter 'nprms' can be declared as pointer to const [constParameter] 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/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/typeConvert.c:26:18: style: Parameter 'nargs' can be declared as pointer to const [constParameter] 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/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/xaw3dxft/AsciiSink.c:694:8: style: Parameter 'tabs' can be declared as pointer to const [constParameter] 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/xaw3dxft/Grip.c:141:15: style: Parameter 'num_params' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/xaw3dxft/Command.c:350:11: style: Parameter 'num_params' can be declared as pointer to const [constParameter] 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 [constParameter] xpaint-2.9.1.4/xaw3dxft/Dialog.c:334:12: style: Parameter 'num_args' can be declared as pointer to const [constParameter] 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:638:12: style: Parameter 'num_args' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:697:12: style: Parameter 'num_args' can be declared as pointer to const [constParameter] 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/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 [constParameter] 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/Layout.c:216:19: style: Variable 'tmp' is not assigned a value. [unassignedVariable] xpaint-2.9.1.4/xaw3dxft/Panner.c:855:15: style: Parameter 'num_params' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/xaw3dxft/Panner.c:949:15: style: Parameter 'num_params' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/xaw3dxft/Simple.c:223:27: error: Uninitialized variable: cursor [uninitvar] xpaint-2.9.1.4/xaw3dxft/Simple.c:216:36: note: Assuming condition is false xpaint-2.9.1.4/xaw3dxft/Simple.c:223:27: note: Uninitialized variable: cursor xpaint-2.9.1.4/xaw3dxft/Simple.c:214:12: style: Variable 'cursor' is not assigned a value. [unassignedVariable] xpaint-2.9.1.4/xaw3dxft/Scrollbar.c:829:15: style: Parameter 'num_params' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/xaw3dxft/Scrollbar.c:948:15: style: Parameter 'num_params' can be declared as pointer to const [constParameter] 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/StripChart.c:283:57: error: Uninitialized variable: value [uninitvar] xpaint-2.9.1.4/xaw3dxft/StripChart.c:280:33: note: Assuming condition is false xpaint-2.9.1.4/xaw3dxft/StripChart.c:283:57: note: Uninitialized variable: value xpaint-2.9.1.4/xaw3dxft/StripChart.c:267:11: style: Variable 'value' is not assigned a value. [unassignedVariable] xpaint-2.9.1.4/xaw3dxft/TextAction.c:729:10: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] xpaint-2.9.1.4/xaw3dxft/TextPop.c:1251:9: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:611:11: style: Parameter 'num_args' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:747:12: style: Parameter 'num_params' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/xaw3dxft/TextAction.c:190:19: style: Parameter 'type' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/xaw3dxft/TextAction.c:192:16: style: Parameter 'length' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/xaw3dxft/TextAction.c:751:11: style: Parameter 'selection' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1307:11: style: Parameter 'num_params' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1589:11: style: Parameter 'num_params' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1635:11: style: Parameter 'num_params' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1677:11: style: Parameter 'num_params' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/xaw3dxft/TextAction.c:1981:11: style: Parameter 'num_params' can be declared as pointer to const [constParameter] 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/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/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: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:164:12: style: Parameter 'num_params' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/xaw3dxft/TextPop.c:163:10: style: Parameter 'params' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/xaw3dxft/TextPop.c:412:12: style: Parameter 'num_params' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/xaw3dxft/TextPop.c:511:12: style: Parameter 'num_params' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/xaw3dxft/TextPop.c:880:12: style: Parameter 'num_params' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/xaw3dxft/TextPop.c:1104:12: style: Parameter 'num_params' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/xaw3dxft/TextPop.c:1436:21: style: Variable 'list_size' is not assigned a value. [unassignedVariable] 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:640:8: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] xpaint-2.9.1.4/xaw3dxft/Text.c:1858:10: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] 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:1361:33: style: Condition '(ctx->text.hbar==NULL)!=temp' is always false [knownConditionTrueFalse] xpaint-2.9.1.4/xaw3dxft/Text.c:1340:16: note: temp is assigned 'ctx->text.hbar==NULL' here. xpaint-2.9.1.4/xaw3dxft/Text.c:1346:30: note: Assuming condition is false xpaint-2.9.1.4/xaw3dxft/Text.c:1361:33: note: Condition '(ctx->text.hbar==NULL)!=temp' is always false 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/Text.c:1904:7: style: Parameter 'selection' can be declared as pointer to const [constParameter] xpaint-2.9.1.4/xaw3dxft/Text.c:1249:10: error: 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] diff: head xpaint-2.9.1.4/Paint.c:1433:50: style: Parameter 'nargs' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/Paint.c:1433:50: style: Parameter 'nargs' can be declared with const [constParameter] head xpaint-2.9.1.4/Paint.c:270:32: style: Parameter 'alpha' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/Paint.c:270:32: style: Parameter 'alpha' can be declared with const [constParameter] head xpaint-2.9.1.4/PaintEvent.c:301:12: style: Parameter 'func' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/PaintEvent.c:301:12: style: Parameter 'func' can be declared with const [constParameter] head xpaint-2.9.1.4/PaintEvent.c:301:62: style: Parameter 'data' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/PaintEvent.c:301:62: style: Parameter 'data' can be declared with const [constParameter] head xpaint-2.9.1.4/PaintRegion.c:1529:20: style: Variable 'isMiddle' can be declared as const array [constVariable] 2.8 xpaint-2.9.1.4/PaintRegion.c:1529:20: style: Variable 'isMiddle' can be declared with const [constVariable] head xpaint-2.9.1.4/PaintRegion.c:2449:35: style: Parameter 'xs' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/PaintRegion.c:2449:35: style: Parameter 'xs' can be declared with const [constParameter] head xpaint-2.9.1.4/PaintRegion.c:2449:46: style: Parameter 'ys' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/PaintRegion.c:2449:46: style: Parameter 'ys' can be declared with const [constParameter] head xpaint-2.9.1.4/PaintRegion.c:2472:35: style: Parameter 'xs' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/PaintRegion.c:2472:35: style: Parameter 'xs' can be declared with const [constParameter] head xpaint-2.9.1.4/PaintRegion.c:2472:46: style: Parameter 'ys' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/PaintRegion.c:2472:46: style: Parameter 'ys' can be declared with const [constParameter] head xpaint-2.9.1.4/PaintRegion.c:930:16: style: Variable 'fixedPoint' can be declared as const array [constVariable] 2.8 xpaint-2.9.1.4/PaintRegion.c:930:16: style: Variable 'fixedPoint' can be declared with const [constVariable] head xpaint-2.9.1.4/PaintUndo.c:363:43: style: Parameter 'rect' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/PaintUndo.c:363:43: style: Parameter 'rect' can be declared with const [constParameter] head xpaint-2.9.1.4/chroma.c:82:42: style: Parameter 'percent' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/chroma.c:82:42: style: Parameter 'percent' can be declared with const [constParameter] head xpaint-2.9.1.4/color.c:669:51: style: Parameter 'pixval' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/color.c:669:51: style: Parameter 'pixval' can be declared with const [constParameter] head xpaint-2.9.1.4/fontSelect.c:117:25: style: Parameter 'buf' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/fontSelect.c:117:25: style: Parameter 'buf' can be declared with const [constParameter] head xpaint-2.9.1.4/fontSelect.c:425:43: style: Parameter 'percent' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/fontSelect.c:425:43: style: Parameter 'percent' can be declared with const [constParameter] 2.8 xpaint-2.9.1.4/graphic.c:1230:11: style: Variable 'num' can be declared with const [constVariable] head xpaint-2.9.1.4/graphic.c:1268:33: style: Parameter 'ptr' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/graphic.c:1268:33: style: Parameter 'ptr' can be declared with const [constParameter] head xpaint-2.9.1.4/graphic.c:2726:33: style: Parameter 'ptr' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/graphic.c:2726:33: style: Parameter 'ptr' can be declared with const [constParameter] head xpaint-2.9.1.4/graphic.c:3607:38: style: Parameter 'junk' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/graphic.c:3607:38: style: Parameter 'junk' can be declared with const [constParameter] head xpaint-2.9.1.4/graphic.c:5741:53: style: Parameter 'target' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/graphic.c:5741:53: style: Parameter 'target' can be declared with const [constParameter] head xpaint-2.9.1.4/graphic.c:6108:70: style: Parameter 'type' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/graphic.c:6108:70: style: Parameter 'type' can be declared with const [constParameter] head xpaint-2.9.1.4/graphic.c:6504:34: style: Parameter 'image' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/graphic.c:6504:34: style: Parameter 'image' can be declared with const [constParameter] head xpaint-2.9.1.4/graphic.c:6698:55: style: Parameter 'maskdata' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/graphic.c:6698:55: style: Parameter 'maskdata' can be declared with const [constParameter] head xpaint-2.9.1.4/help.c:607:64: style: Parameter 'nprms' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/help.c:607:64: style: Parameter 'nprms' can be declared with const [constParameter] head xpaint-2.9.1.4/iprocess.c:125:32: style: Parameter 'mat' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/iprocess.c:125:32: style: Parameter 'mat' can be declared with const [constParameter] head xpaint-2.9.1.4/iprocess.c:126:18: style: Parameter 'basePixel' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/iprocess.c:126:18: style: Parameter 'basePixel' can be declared with const [constParameter] head xpaint-2.9.1.4/misc.c:731:35: style: Parameter 'l' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/misc.c:731:35: style: Parameter 'l' can be declared with const [constParameter] head xpaint-2.9.1.4/palette.c:649:26: style: Parameter 'dpy' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/palette.c:649:26: style: Parameter 'dpy' can be declared with const [constParameter] head xpaint-2.9.1.4/ppmtops.c:177:20: style: Variable 'mask' can be declared as const array [constVariable] 2.8 xpaint-2.9.1.4/ppmtops.c:177:20: style: Variable 'mask' can be declared with const [constVariable] head xpaint-2.9.1.4/rw/readWritePS.c:136:27: style: Parameter 'Buf' can be declared as const array [constParameter] 2.8 xpaint-2.9.1.4/rw/readWritePS.c:136:27: style: Parameter 'Buf' can be declared with const [constParameter] head xpaint-2.9.1.4/text.c:149:63: style: Parameter 'nprms' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/text.c:149:63: style: Parameter 'nprms' can be declared with const [constParameter] head xpaint-2.9.1.4/text.c:54:20: style: Parameter 'nm' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/text.c:54:20: style: Parameter 'nm' can be declared with const [constParameter] head xpaint-2.9.1.4/typeConvert.c:26:18: style: Parameter 'nargs' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/typeConvert.c:26:18: style: Parameter 'nargs' can be declared with const [constParameter] head xpaint-2.9.1.4/xaw3dxft/AsciiSink.c:694:8: style: Parameter 'tabs' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/xaw3dxft/AsciiSink.c:694:8: style: Parameter 'tabs' can be declared with const [constParameter] head xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:638:12: style: Parameter 'num_args' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:638:12: style: Parameter 'num_args' can be declared with const [constParameter] head xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:697:12: style: Parameter 'num_args' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/xaw3dxft/AsciiSrc.c:697:12: style: Parameter 'num_args' can be declared with const [constParameter] head xpaint-2.9.1.4/xaw3dxft/Command.c:350:11: style: Parameter 'num_params' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/xaw3dxft/Command.c:350:11: style: Parameter 'num_params' can be declared with const [constParameter] head xpaint-2.9.1.4/xaw3dxft/Dialog.c:235:11: style: Parameter 'in_num_args' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/xaw3dxft/Dialog.c:235:11: style: Parameter 'in_num_args' can be declared with const [constParameter] head xpaint-2.9.1.4/xaw3dxft/Dialog.c:334:12: style: Parameter 'num_args' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/xaw3dxft/Dialog.c:334:12: style: Parameter 'num_args' can be declared with const [constParameter] head xpaint-2.9.1.4/xaw3dxft/Grip.c:141:15: style: Parameter 'num_params' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/xaw3dxft/Grip.c:141:15: style: Parameter 'num_params' can be declared with const [constParameter] head xpaint-2.9.1.4/xaw3dxft/Label.c:553:15: style: Parameter 'num_args' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/xaw3dxft/Label.c:553:15: style: Parameter 'num_args' can be declared with const [constParameter] head xpaint-2.9.1.4/xaw3dxft/Panner.c:855:15: style: Parameter 'num_params' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/xaw3dxft/Panner.c:855:15: style: Parameter 'num_params' can be declared with const [constParameter] head xpaint-2.9.1.4/xaw3dxft/Panner.c:949:15: style: Parameter 'num_params' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/xaw3dxft/Panner.c:949:15: style: Parameter 'num_params' can be declared with const [constParameter] head xpaint-2.9.1.4/xaw3dxft/Scrollbar.c:829:15: style: Parameter 'num_params' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/xaw3dxft/Scrollbar.c:829:15: style: Parameter 'num_params' can be declared with const [constParameter] head xpaint-2.9.1.4/xaw3dxft/Scrollbar.c:948:15: style: Parameter 'num_params' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/xaw3dxft/Scrollbar.c:948:15: style: Parameter 'num_params' can be declared with const [constParameter] head xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:611:11: style: Parameter 'num_args' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:611:11: style: Parameter 'num_args' can be declared with const [constParameter] head xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:747:12: style: Parameter 'num_params' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/xaw3dxft/SimpleMenu.c:747:12: style: Parameter 'num_params' can be declared with const [constParameter] head xpaint-2.9.1.4/xaw3dxft/Text.c:1904:7: style: Parameter 'selection' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/xaw3dxft/Text.c:1904:7: style: Parameter 'selection' can be declared with const [constParameter] head xpaint-2.9.1.4/xaw3dxft/TextAction.c:1307:11: style: Parameter 'num_params' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/xaw3dxft/TextAction.c:1307:11: style: Parameter 'num_params' can be declared with const [constParameter] head xpaint-2.9.1.4/xaw3dxft/TextAction.c:1589:11: style: Parameter 'num_params' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/xaw3dxft/TextAction.c:1589:11: style: Parameter 'num_params' can be declared with const [constParameter] head xpaint-2.9.1.4/xaw3dxft/TextAction.c:1635:11: style: Parameter 'num_params' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/xaw3dxft/TextAction.c:1635:11: style: Parameter 'num_params' can be declared with const [constParameter] head xpaint-2.9.1.4/xaw3dxft/TextAction.c:1677:11: style: Parameter 'num_params' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/xaw3dxft/TextAction.c:1677:11: style: Parameter 'num_params' can be declared with const [constParameter] head xpaint-2.9.1.4/xaw3dxft/TextAction.c:190:19: style: Parameter 'type' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/xaw3dxft/TextAction.c:190:19: style: Parameter 'type' can be declared with const [constParameter] head xpaint-2.9.1.4/xaw3dxft/TextAction.c:192:16: style: Parameter 'length' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/xaw3dxft/TextAction.c:192:16: style: Parameter 'length' can be declared with const [constParameter] head xpaint-2.9.1.4/xaw3dxft/TextAction.c:1981:11: style: Parameter 'num_params' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/xaw3dxft/TextAction.c:1981:11: style: Parameter 'num_params' can be declared with const [constParameter] head xpaint-2.9.1.4/xaw3dxft/TextAction.c:751:11: style: Parameter 'selection' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/xaw3dxft/TextAction.c:751:11: style: Parameter 'selection' can be declared with const [constParameter] head xpaint-2.9.1.4/xaw3dxft/TextPop.c:1104:12: style: Parameter 'num_params' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/xaw3dxft/TextPop.c:1104:12: style: Parameter 'num_params' can be declared with const [constParameter] head xpaint-2.9.1.4/xaw3dxft/TextPop.c:163:10: style: Parameter 'params' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/xaw3dxft/TextPop.c:163:10: style: Parameter 'params' can be declared with const [constParameter] head xpaint-2.9.1.4/xaw3dxft/TextPop.c:164:12: style: Parameter 'num_params' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/xaw3dxft/TextPop.c:164:12: style: Parameter 'num_params' can be declared with const [constParameter] head xpaint-2.9.1.4/xaw3dxft/TextPop.c:412:12: style: Parameter 'num_params' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/xaw3dxft/TextPop.c:412:12: style: Parameter 'num_params' can be declared with const [constParameter] head xpaint-2.9.1.4/xaw3dxft/TextPop.c:511:12: style: Parameter 'num_params' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/xaw3dxft/TextPop.c:511:12: style: Parameter 'num_params' can be declared with const [constParameter] head xpaint-2.9.1.4/xaw3dxft/TextPop.c:880:12: style: Parameter 'num_params' can be declared as pointer to const [constParameter] 2.8 xpaint-2.9.1.4/xaw3dxft/TextPop.c:880:12: style: Parameter 'num_params' can be declared with const [constParameter] DONE