2025-12-14 04:48 ftp://ftp.de.debian.org/debian/pool/main/k/knews/knews_1.0b.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-90-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.18.0 head-info: 66078d3 (2025-12-13 09:22:25 +0100) count: 836 822 elapsed-time: 16.6 18.5 head-timing-info: old-timing-info: head results: knews-1.0b.1/Widgets/ArtText.c:446:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YXBanded [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ArtText.c:543:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtPointer [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ArtText.c:997:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_STRING [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ArtText.c:1163:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonRelease [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ArtText.c:1318:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_PRIMARY [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ArtText.c:1391:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtPointer [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ArtText.c:1436:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ArtText.c:1451:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CurrentTime [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ArtText.c:1486:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCFont [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ArtText.c:1498:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CurrentTime [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ArtText.c:1619:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWHeight [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ArtText.c:1684:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CurrentTime [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ArtText.c:1781:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CurrentTime [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ArtText.c:1910:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ArtText.c:1381:14: style: Condition 'line<0' is always false [knownConditionTrueFalse] knews-1.0b.1/Widgets/ArtText.c:1348:14: note: Assuming that condition 'line<0' is not redundant knews-1.0b.1/Widgets/ArtText.c:1381:14: note: Condition 'line<0' is always false knews-1.0b.1/Widgets/ArtText.c:1312:20: style: Parameter 'no_params' can be declared as pointer to const. However it seems that 'select_end' is a callback function, if 'no_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/ArtText.c:62:21: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/ArtText.c:1312:20: note: Parameter 'no_params' can be declared as pointer to const knews-1.0b.1/Widgets/ArtText.c:1335:18: style: Parameter 'no_params' can be declared as pointer to const. However it seems that 'call_url' is a callback function, if 'no_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/ArtText.c:64:19: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/ArtText.c:1335:18: note: Parameter 'no_params' can be declared as pointer to const knews-1.0b.1/Widgets/ArtText.c:1612:29: style: Parameter 'intended' can be declared as pointer to const. However it seems that 'QueryGeometry' is a callback function, if 'intended' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/ArtText.c:112:9: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/ArtText.c:1612:29: note: Parameter 'intended' can be declared as pointer to const knews-1.0b.1/Widgets/ArtText.c:1889:12: style: Variable 'c' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/Widgets/ArtText.c:1917:42: style: Parameter 'wstr' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/Widgets/ArtText.c:1164:9: style: Variable 'button' is assigned a value that is never used. [unreadVariable] knews-1.0b.1/Widgets/ArtText.c:1166:9: style: Variable 'button' is assigned a value that is never used. [unreadVariable] knews-1.0b.1/Widgets/ArtTree.c:302:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWX [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ArtTree.c:549:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ArtTree.c:585:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LineOnOffDash [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ArtTree.c:750:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ArtTree.c:868:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ArtTree.c:900:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RectangleOut [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ArtTree.c:978:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RectangleOut [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ArtTree.c:1010:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ArtTree.c:1218:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWX [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ArtTree.c:1348:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ArtTree.c:1392:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ArtTree.c:1405:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/CloseSh.c:116:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/CloseSh.c:136:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XtInherit [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/CloseSh.c:148:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/CloseSh.c:104:45: style: Parameter 'event' can be declared as pointer to const. However it seems that 'close_window' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/CloseSh.c:34:22: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/CloseSh.c:104:45: note: Parameter 'event' can be declared as pointer to const knews-1.0b.1/Widgets/Dialogue.c:143:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtPointer [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Dialogue.c:180:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtPointer [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Dialogue.c:195:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtPointer [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Dialogue.c:209:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtVaTypedArg [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/FileSel.c:262:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IXUSR [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/FileSel.c:633:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/FileSel.c:665:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtVaTypedArg [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/FileSel.c:362:9: style: Variable 'len' is reassigned a value before the old one has been used. [redundantAssignment] knews-1.0b.1/Widgets/FileSel.c:311:9: note: len is assigned knews-1.0b.1/Widgets/FileSel.c:362:9: note: len is overwritten knews-1.0b.1/Widgets/FileSel.c:455:12: style: Variable 'item' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/Widgets/FileSel.c:484:12: style: Variable 'c' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/Widgets/FileSel.c:498:9: style: Variable 'string' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/Widgets/FileSel.c:625:46: style: Parameter 'event' can be declared as pointer to const. However it seems that 'close_filesel' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/FileSel.c:66:23: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/FileSel.c:625:46: note: Parameter 'event' can be declared as pointer to const knews-1.0b.1/Widgets/FileSel.c:727:8: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/Widgets/FileSel.c:769:15: style: Parameter 'num_args' can be declared as pointer to const. However it seems that 'SetValues' is a callback function, if 'num_args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/FileSel.c:95:9: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/FileSel.c:769:15: note: Parameter 'num_args' can be declared as pointer to const knews-1.0b.1/Widgets/Knapp.c:182:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Knapp.c:293:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtRString [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Knapp.c:434:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Knapp.c:428:29: style: Parameter 'intended' can be declared as pointer to const. However it seems that 'QueryGeometry' is a callback function, if 'intended' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/Knapp.c:101:9: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/Knapp.c:428:29: note: Parameter 'intended' can be declared as pointer to const knews-1.0b.1/Widgets/Layout.c:152:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Layout.c:171:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtRString [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Layout.c:188:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Layout.c:227:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Layout.c:250:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ConstraintWidgetClass [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Layout.c:257:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Layout.c:268:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Layout.c:281:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Layout.c:897:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Layout.c:476:26: warning: Either the condition '!expr' is redundant or there is possible null pointer dereference: expr. [nullPointerRedundantCheck] knews-1.0b.1/Widgets/Layout.c:472:6: note: Assuming that condition '!expr' is not redundant knews-1.0b.1/Widgets/Layout.c:476:26: note: Null pointer dereference knews-1.0b.1/Widgets/Layout.c:583:6: style: Redundant assignment of 'box->params.shrink[thisDir]' to itself. [selfAssignment] knews-1.0b.1/Widgets/Layout.c:586:6: style: Redundant assignment of 'box->params.stretch[thisDir]' to itself. [selfAssignment] knews-1.0b.1/Widgets/Layout.c:615:6: style: Redundant assignment of 'box->params.stretch[!thisDir]' to itself. [selfAssignment] knews-1.0b.1/Widgets/Layout.c:618:6: style: Redundant assignment of 'box->params.shrink[!thisDir]' to itself. [selfAssignment] knews-1.0b.1/Widgets/Layout.c:193:3: style: Variable 'p->naturalBw' is assigned an expression that holds the same value. [redundantAssignment] knews-1.0b.1/Widgets/Layout.c:187:8: note: bw is assigned 'p->naturalBw' here. knews-1.0b.1/Widgets/Layout.c:193:3: note: Variable 'p->naturalBw' is assigned an expression that holds the same value. knews-1.0b.1/Widgets/Layout.c:179:21: style: Parameter 'request' can be declared as pointer to const. However it seems that 'GeometryManager' is a callback function, if 'request' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/Layout.c:109:32: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/Layout.c:179:21: note: Parameter 'request' can be declared as pointer to const knews-1.0b.1/Widgets/Layout.c:216:76: style: Parameter 'n' can be declared as pointer to const. However it seems that 'Initialize' is a callback function, if 'n' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/Layout.c:81:32: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/Layout.c:216:76: note: Parameter 'n' can be declared as pointer to const knews-1.0b.1/Widgets/Layout.c:274:27: style: Parameter 'request' can be declared as pointer to const. However it seems that 'QueryGeometry' is a callback function, if 'request' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/Layout.c:104:30: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/Layout.c:274:27: note: Parameter 'request' can be declared as pointer to const knews-1.0b.1/Widgets/Login.c:171:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtPointer [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Login.c:242:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtVaTypedArg [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Manager.c:161:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWX [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Manager.c:232:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Manager.c:285:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGeometryNo [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Manager.c:223:29: style: Parameter 'intended' can be declared as pointer to const. However it seems that 'QueryGeometry' is a callback function, if 'intended' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/Manager.c:74:6: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/Manager.c:223:29: note: Parameter 'intended' can be declared as pointer to const knews-1.0b.1/Widgets/Manager.c:275:24: style: Parameter 'req' can be declared as pointer to const. However it seems that 'GeometryManager' is a callback function, if 'req' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/Manager.c:79:2: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/Manager.c:275:24: note: Parameter 'req' can be declared as pointer to const knews-1.0b.1/Widgets/Manager.c:282:17: style: Variable 'ok' is assigned a value that is never used. [unreadVariable] knews-1.0b.1/Widgets/Manager.c:307:5: style: Variable 'ok' is assigned a value that is never used. [unreadVariable] knews-1.0b.1/Widgets/Manager.c:309:5: style: Variable 'ok' is assigned a value that is never used. [unreadVariable] knews-1.0b.1/Widgets/Menu.c:137:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MotionNotify [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Menu.c:184:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Menu.c:275:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Menu.c:303:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Menu.c:346:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Menu.c:127:14: style: Parameter 'event' can be declared as pointer to const. However it seems that 'motion' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/Menu.c:32:16: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/Menu.c:127:14: note: Parameter 'event' can be declared as pointer to const knews-1.0b.1/Widgets/Menu.c:297:29: style: Parameter 'intended' can be declared as pointer to const. However it seems that 'QueryGeometry' is a callback function, if 'intended' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/Menu.c:77:6: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/Menu.c:297:29: note: Parameter 'intended' can be declared as pointer to const knews-1.0b.1/Widgets/MenuG.c:88:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XtInherit [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/MenuKnapp.c:144:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/MenuKnapp.c:244:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonPress [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/MenuKnapp.c:324:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonRelease [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/MenuKnapp.c:277:11: style: Checking if unsigned expression 'x' is less than zero. [unsignedLessThanZero] knews-1.0b.1/Widgets/MenuKnapp.c:284:11: style: Checking if unsigned expression 'y' is less than zero. [unsignedLessThanZero] knews-1.0b.1/Widgets/Message.c:96:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Message.c:283:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Message.c:104:49: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/Widgets/Message.c:106:11: style: Variable 'c' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/Widgets/Message.c:274:29: style: Parameter 'intended' can be declared as pointer to const. However it seems that 'QueryGeometry' is a callback function, if 'intended' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/Message.c:77:9: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/Message.c:274:29: note: Parameter 'intended' can be declared as pointer to const knews-1.0b.1/Widgets/Notice.c:229:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtVaTypedArg [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Notice.c:329:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Notice.c:267:3: style: Variable 'n' is assigned a value that is never used. [unreadVariable] knews-1.0b.1/Widgets/PullRight.c:122:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/PullRight.c:270:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/PullRight.c:287:11: style: Checking if unsigned expression 'x' is less than zero. [unsignedLessThanZero] knews-1.0b.1/Widgets/PullRight.c:295:11: style: Checking if unsigned expression 'y' is less than zero. [unsignedLessThanZero] knews-1.0b.1/Widgets/Sash.c:115:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtPointer [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Sash.c:135:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Sash.c:181:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Sash.c:171:29: style: Parameter 'intended' can be declared as pointer to const. However it seems that 'QueryGeometry' is a callback function, if 'intended' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/Sash.c:80:9: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/Sash.c:171:29: note: Parameter 'intended' can be declared as pointer to const knews-1.0b.1/Widgets/ScrBar.c:147:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ScrBar.c:225:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ScrBar.c:284:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ScrBar.c:343:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ScrBar.c:402:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ScrBar.c:468:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RectangleOut [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ScrBar.c:567:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtPointer [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ScrBar.c:840:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtRString [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ScrBar.c:890:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RectangleOut [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ScrBar.c:962:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ScrBar.c:766:14: style: Parameter 'params' can be declared as pointer to const. However it seems that 'page_scroll' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/ScrBar.c:69:21: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/ScrBar.c:766:14: note: Parameter 'params' can be declared as pointer to const knews-1.0b.1/Widgets/ScrBar.c:767:14: style: Parameter 'no_params' can be declared as pointer to const. However it seems that 'page_scroll' is a callback function, if 'no_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/ScrBar.c:69:21: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/ScrBar.c:767:14: note: Parameter 'no_params' can be declared as pointer to const knews-1.0b.1/Widgets/ScrBar.c:787:20: style: Parameter 'params' can be declared as pointer to const. However it seems that 'abs_scroll' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/ScrBar.c:70:20: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/ScrBar.c:787:20: note: Parameter 'params' can be declared as pointer to const knews-1.0b.1/Widgets/ScrBar.c:788:20: style: Parameter 'no_params' can be declared as pointer to const. However it seems that 'abs_scroll' is a callback function, if 'no_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/ScrBar.c:70:20: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/ScrBar.c:788:20: note: Parameter 'no_params' can be declared as pointer to const knews-1.0b.1/Widgets/ScrBar.c:808:16: style: Parameter 'params' can be declared as pointer to const. However it seems that 'athena_scroll' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/ScrBar.c:71:23: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/ScrBar.c:808:16: note: Parameter 'params' can be declared as pointer to const knews-1.0b.1/Widgets/ScrBar.c:809:16: style: Parameter 'no_params' can be declared as pointer to const. However it seems that 'athena_scroll' is a callback function, if 'no_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/ScrBar.c:71:23: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/ScrBar.c:809:16: note: Parameter 'no_params' can be declared as pointer to const knews-1.0b.1/Widgets/ScrBar.c:830:13: style: Parameter 'event' can be declared as pointer to const. However it seems that 'nop' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/ScrBar.c:72:14: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/ScrBar.c:830:13: note: Parameter 'event' can be declared as pointer to const knews-1.0b.1/Widgets/ScrBar.c:831:13: style: Parameter 'params' can be declared as pointer to const. However it seems that 'nop' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/ScrBar.c:72:14: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/ScrBar.c:831:13: note: Parameter 'params' can be declared as pointer to const knews-1.0b.1/Widgets/ScrBar.c:832:13: style: Parameter 'no_params' can be declared as pointer to const. However it seems that 'nop' is a callback function, if 'no_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/ScrBar.c:72:14: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/ScrBar.c:832:13: note: Parameter 'no_params' can be declared as pointer to const knews-1.0b.1/Widgets/ScrBar.c:953:29: style: Parameter 'intended' can be declared as pointer to const. However it seems that 'QueryGeometry' is a callback function, if 'intended' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/ScrBar.c:119:9: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/ScrBar.c:953:29: note: Parameter 'intended' can be declared as pointer to const knews-1.0b.1/Widgets/ScrList.c:220:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ScrList.c:256:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pixmap [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ScrList.c:302:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ScrList.c:633:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ScrList.c:742:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Expose [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ScrList.c:916:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWHeight [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ScrList.c:950:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ScrList.c:1155:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ScrList.c:1170:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ScrList.c:898:21: style: Condition 'diff>0' is always true [knownConditionTrueFalse] knews-1.0b.1/Widgets/ScrList.c:885:25: note: Assuming that condition 'diff==0' is not redundant knews-1.0b.1/Widgets/ScrList.c:898:21: note: Condition 'diff>0' is always true knews-1.0b.1/Widgets/ScrList.c:909:29: style: Parameter 'intended' can be declared as pointer to const. However it seems that 'QueryGeometry' is a callback function, if 'intended' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/ScrList.c:156:2: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/ScrList.c:909:29: note: Parameter 'intended' can be declared as pointer to const knews-1.0b.1/Widgets/ScrList.c:443:4: style: Variable 'i' is assigned a value that is never used. [unreadVariable] knews-1.0b.1/Widgets/Scrollable.c:170:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XtInherit [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Scrollable.c:213:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNx [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Scrollable.c:222:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNy [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Shadow.c:137:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Shadow.c:311:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Shadow.c:390:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XtInherit [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Shadow.c:417:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Shadow.c:465:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Shadow.c:490:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Shadow.c:557:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Shadow.c:614:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Shadow.c:164:14: style: Variable 'screen' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/Widgets/Shadow.c:194:58: style: Parameter 'col' can be declared as pointer to const. However it seems that 'AllocShadowColors' is a callback function, if 'col' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/Shadow.c:78:2: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/Shadow.c:194:58: note: Parameter 'col' can be declared as pointer to const knews-1.0b.1/Widgets/Shadow.c:258:54: style: Parameter 'col' can be declared as pointer to const. However it seems that 'AllocArmColor' is a callback function, if 'col' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/Shadow.c:80:2: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/Shadow.c:258:54: note: Parameter 'col' can be declared as pointer to const knews-1.0b.1/Widgets/StringG.c:109:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FillStippled [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/TextField.c:281:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/TextField.c:441:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/TextField.c:794:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/TextField.c:1259:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FocusIn [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/TextField.c:1363:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeyRelease [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/TextField.c:1421:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_PRIMARY [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/TextField.c:1466:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonPress [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/TextField.c:1567:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_PRIMARY [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/TextField.c:1602:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_PRIMARY [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/TextField.c:1620:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_PRIMARY [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/TextField.c:1661:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FocusIn [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/TextField.c:1714:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/TextField.c:1740:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/TextField.c:1946:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/TextField.c:1979:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/TextField.c:2056:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/TextField.c:2081:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/TextField.c:2167:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XT_CONVERT_FAIL [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/TextField.c:2250:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/TextField.c:2292:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/TextField.c:2390:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/TextField.c:2165:16: warning: Either the condition '!value' is redundant or there is possible null pointer dereference: value. [nullPointerRedundantCheck] knews-1.0b.1/Widgets/TextField.c:2167:53: note: Assuming that condition '!value' is not redundant knews-1.0b.1/Widgets/TextField.c:2165:16: note: Null pointer dereference knews-1.0b.1/Widgets/TextField.c:617:7: style: Local variable 'tmp' shadows outer variable [shadowVariable] knews-1.0b.1/Widgets/TextField.c:586:19: note: Shadowed declaration knews-1.0b.1/Widgets/TextField.c:617:7: note: Shadow variable knews-1.0b.1/Widgets/TextField.c:325:11: style: Variable 'c' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/Widgets/TextField.c:341:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/Widgets/TextField.c:970:16: style: Parameter 'params' can be declared as pointer to const. However it seems that 'multiply' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/TextField.c:110:19: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/TextField.c:970:16: note: Parameter 'params' can be declared as pointer to const knews-1.0b.1/Widgets/TextField.c:970:34: style: Parameter 'no_params' can be declared as pointer to const. However it seems that 'multiply' is a callback function, if 'no_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/TextField.c:110:19: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/TextField.c:970:34: note: Parameter 'no_params' can be declared as pointer to const knews-1.0b.1/Widgets/TextField.c:1045:52: style: Parameter 'params' can be declared as pointer to const. However it seems that 'page' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/TextField.c:119:16: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/TextField.c:1045:52: note: Parameter 'params' can be declared as pointer to const knews-1.0b.1/Widgets/TextField.c:1045:70: style: Parameter 'no_params' can be declared as pointer to const. However it seems that 'page' is a callback function, if 'no_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/TextField.c:119:16: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/TextField.c:1045:70: note: Parameter 'no_params' can be declared as pointer to const knews-1.0b.1/Widgets/TextField.c:1248:49: style: Parameter 'event' can be declared as pointer to const. However it seems that 'set_border_color' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/TextField.c:127:26: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/TextField.c:1248:49: note: Parameter 'event' can be declared as pointer to const knews-1.0b.1/Widgets/TextField.c:1249:17: style: Parameter 'params' can be declared as pointer to const. However it seems that 'set_border_color' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/TextField.c:127:26: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/TextField.c:1249:17: note: Parameter 'params' can be declared as pointer to const knews-1.0b.1/Widgets/TextField.c:1249:35: style: Parameter 'no_params' can be declared as pointer to const. However it seems that 'set_border_color' is a callback function, if 'no_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/TextField.c:127:26: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/TextField.c:1249:35: note: Parameter 'no_params' can be declared as pointer to const knews-1.0b.1/Widgets/TextField.c:1377:32: style: Parameter 'no_params' can be declared as pointer to const. However it seems that 'insert_string' is a callback function, if 'no_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/TextField.c:129:24: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/TextField.c:1377:32: note: Parameter 'no_params' can be declared as pointer to const knews-1.0b.1/Widgets/TextField.c:1418:30: style: Parameter 'no_params' can be declared as pointer to const. However it seems that 'swap_select' is a callback function, if 'no_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/TextField.c:130:22: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/TextField.c:1418:30: note: Parameter 'no_params' can be declared as pointer to const knews-1.0b.1/Widgets/TextField.c:1564:36: style: Parameter 'no_params' can be declared as pointer to const. However it seems that 'select_end' is a callback function, if 'no_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/TextField.c:134:21: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/TextField.c:1564:36: note: Parameter 'no_params' can be declared as pointer to const knews-1.0b.1/Widgets/TextField.c:1598:33: style: Parameter 'no_params' can be declared as pointer to const. However it seems that 'kill_selection' is a callback function, if 'no_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/TextField.c:135:25: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/TextField.c:1598:33: note: Parameter 'no_params' can be declared as pointer to const knews-1.0b.1/Widgets/TextField.c:1616:35: style: Parameter 'no_params' can be declared as pointer to const. However it seems that 'insert_selection' is a callback function, if 'no_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/TextField.c:136:26: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/TextField.c:1616:35: note: Parameter 'no_params' can be declared as pointer to const knews-1.0b.1/Widgets/TextField.c:1652:46: style: Parameter 'event' can be declared as pointer to const. However it seems that 'display_caret' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/TextField.c:138:24: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/TextField.c:1652:46: note: Parameter 'event' can be declared as pointer to const knews-1.0b.1/Widgets/TextField.c:1653:14: style: Parameter 'params' can be declared as pointer to const. However it seems that 'display_caret' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/TextField.c:138:24: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/TextField.c:1653:14: note: Parameter 'params' can be declared as pointer to const knews-1.0b.1/Widgets/TextField.c:1653:32: style: Parameter 'no_params' can be declared as pointer to const. However it seems that 'display_caret' is a callback function, if 'no_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/TextField.c:138:24: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/TextField.c:1653:32: note: Parameter 'no_params' can be declared as pointer to const knews-1.0b.1/Widgets/TextField.c:1971:29: style: Parameter 'intended' can be declared as pointer to const. However it seems that 'QueryGeometry' is a callback function, if 'intended' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/TextField.c:236:9: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/TextField.c:1971:29: note: Parameter 'intended' can be declared as pointer to const knews-1.0b.1/Widgets/TextField.c:2079:11: style: Variable 'c' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/Widgets/TextField.c:2148:12: style: Parameter 'type' can be declared as pointer to const. However it seems that 'insert_sel_callback' is a callback function, if 'type' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/TextField.c:1635:4: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/TextField.c:2148:12: note: Parameter 'type' can be declared as pointer to const knews-1.0b.1/Widgets/TextField.c:2150:20: style: Parameter 'lenp' can be declared as pointer to const. However it seems that 'insert_sel_callback' is a callback function, if 'lenp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/TextField.c:1635:4: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/TextField.c:2150:20: note: Parameter 'lenp' can be declared as pointer to const knews-1.0b.1/Widgets/TextField.c:675:7: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] knews-1.0b.1/Widgets/Toggle.c:143:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtPointer [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Toggle.c:188:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtPointer [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Toggle.c:140:14: style: Local variable 'set' shadows outer function [shadowFunction] knews-1.0b.1/Widgets/Toggle.c:34:13: note: Shadowed declaration knews-1.0b.1/Widgets/Toggle.c:140:14: note: Shadow variable knews-1.0b.1/Widgets/Toggle.c:185:10: style: Local variable 'set' shadows outer function [shadowFunction] knews-1.0b.1/Widgets/Toggle.c:34:13: note: Shadowed declaration knews-1.0b.1/Widgets/Toggle.c:185:10: note: Shadow variable knews-1.0b.1/Widgets/Toggle.c:210:15: style: Parameter 'num_args' can be declared as pointer to const. However it seems that 'SetValues' is a callback function, if 'num_args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/Toggle.c:77:9: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/Toggle.c:210:15: note: Parameter 'num_args' can be declared as pointer to const knews-1.0b.1/Widgets/ToggleG.c:141:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtPointer [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/ToggleG.c:122:15: style: Parameter 'num_args' can be declared as pointer to const. However it seems that 'SetValues' is a callback function, if 'num_args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/Widgets/ToggleG.c:52:9: note: You might need to cast the function pointer here knews-1.0b.1/Widgets/ToggleG.c:122:15: note: Parameter 'num_args' can be declared as pointer to const knews-1.0b.1/Widgets/Util.c:116:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable byte1 [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Util.c:150:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Util.c:246:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CurrentTime [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Util.c:265:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shellWidgetClass [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Util.c:303:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNx [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Util.c:421:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_INTEGER [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Util.c:599:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VisualIDMask [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/Util.c:560:34: style: Condition '*loop' is always true [knownConditionTrueFalse] knews-1.0b.1/Widgets/Util.c:101:23: warning: Either the condition '!font' is redundant or there is possible null pointer dereference: font. [nullPointerRedundantCheck] knews-1.0b.1/Widgets/Util.c:104:9: note: Assuming that condition '!font' is not redundant knews-1.0b.1/Widgets/Util.c:101:23: note: Null pointer dereference knews-1.0b.1/Widgets/Util.c:561:7: warning: Either the condition '!tmp' is redundant or there is possible null pointer dereference: *loop. [nullPointerRedundantCheck] knews-1.0b.1/Widgets/Util.c:566:9: note: Assuming that condition '!tmp' is not redundant knews-1.0b.1/Widgets/Util.c:564:11: note: Assignment to 'tmp=*loop' knews-1.0b.1/Widgets/Util.c:561:7: note: Null pointer dereference knews-1.0b.1/Widgets/Util.c:414:20: style: Same expression on both sides of '&&' because 'sizeof(l)!=4' and 'sizeof(i)!=4' represent the same value. [knownConditionTrueFalse] knews-1.0b.1/Widgets/Util.c:411:11: note: 'l' is assigned value 't' here. knews-1.0b.1/Widgets/Util.c:412:10: note: 'i' is assigned value 't' here. knews-1.0b.1/Widgets/Util.c:414:20: note: Same expression on both sides of '&&' because 'sizeof(l)!=4' and 'sizeof(i)!=4' represent the same value. knews-1.0b.1/Widgets/Util.c:658:15: style: Redundant initialization for 'loop'. The initialized value is overwritten before it is read. [redundantInitialization] knews-1.0b.1/Widgets/Util.c:656:21: note: loop is initialized knews-1.0b.1/Widgets/Util.c:658:15: note: loop is overwritten knews-1.0b.1/Widgets/Util.c:560:34: style: Pointer expression '*loop' converted to bool is always true. [knownPointerToBool] knews-1.0b.1/Widgets/Util.c:68:15: style: Variable 'cs' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/Widgets/Util.c:113:15: style: Variable 'cs' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/Widgets/Util.c:355:12: style: Variable 's' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/Widgets/Util.c:401:24: style: Parameter 'target' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/Widgets/Util.c:441:15: style: Variable 'class' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/Widgets/Util.c:553:30: style: Parameter 'screen' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/Widgets/laylex_new.c:73:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OC [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/laylex_new.c:269:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/Widgets/laylex_new.c:26:16: style: Comparing expression of type 'unsigned char' against value 256. Condition is always true. [compareValueOutOfTypeRangeError] knews-1.0b.1/Widgets/laylex_new.c:265:19: style: Parameter 's' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/Widgets/laylex_new.c:267:14: style: Variable 't' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/regexp/debug.c:219:4: portability: %d in format string (no. 1) requires 'int' but the argument type is 'sop {aka unsigned long}'. [invalidPrintfArgType_sint] knews-1.0b.1/regexp/debug.c:219:4: portability: %d in format string (no. 2) requires 'int' but the argument type is 'sop {aka unsigned long}'. [invalidPrintfArgType_sint] knews-1.0b.1/regexp/debug.c:19:10: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/regexp/debug.c:95:16: style: Variable 's' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/regexp/debug.c:96:17: style: Variable 'cs' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/regexp/debug.c:55:23: warning: Uninitialized variable: nincat [uninitvar] knews-1.0b.1/regexp/debug.c:49:16: note: Assuming condition is false knews-1.0b.1/regexp/debug.c:55:23: note: Uninitialized variable: nincat knews-1.0b.1/regexp/engine.c:84:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOSUB [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/engine.c:264:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CH [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/engine.c:463:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/engine.c:643:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTHING [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/engine.c:736:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTHING [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/engine.c:839:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOL [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/engine.c:77:17: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/regexp/engine.c:245:17: style: Variable 'tail' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/regexp/engine.c:251:17: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/regexp/engine.c:433:17: style: Variable 'ssp' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/regexp/engine.c:627:7: style: Parameter 'stop' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/regexp/engine.c:718:7: style: Parameter 'stop' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/regexp/main.c:26:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] knews-1.0b.1/regexp/main.c:44:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/main.c:147:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/main.c:220:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/main.c:326:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/main.c:488:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ITOA [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/main.c:508:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ATOI [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/main.c:80:3: portability: %d in format string (no. 2) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] knews-1.0b.1/regexp/main.c:80:3: portability: %d in format string (no. 3) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] knews-1.0b.1/regexp/main.c:98:3: portability: %d in format string (no. 2) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] knews-1.0b.1/regexp/main.c:98:3: portability: %d in format string (no. 3) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] knews-1.0b.1/regexp/main.c:233:3: portability: %d in format string (no. 5) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] knews-1.0b.1/regexp/main.c:264:3: portability: %d in format string (no. 5) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] knews-1.0b.1/regexp/main.c:447:22: warning: Either the condition 'should==NULL' is redundant or there is possible null pointer dereference: should. [nullPointerRedundantCheck] knews-1.0b.1/regexp/main.c:451:13: note: Assuming that condition 'should==NULL' is not redundant knews-1.0b.1/regexp/main.c:447:22: note: Null pointer dereference knews-1.0b.1/regexp/main.c:256:35: warning: Either the condition 'strchr(f2,'(')==NULL' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] knews-1.0b.1/regexp/main.c:254:23: note: Assuming that condition 'strchr(f2,'(')==NULL' is not redundant knews-1.0b.1/regexp/main.c:256:35: note: Null pointer subtraction knews-1.0b.1/regexp/main.c:257:35: warning: Either the condition 'strchr(f2,')')==NULL' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] knews-1.0b.1/regexp/main.c:254:50: note: Assuming that condition 'strchr(f2,')')==NULL' is not redundant knews-1.0b.1/regexp/main.c:257:35: note: Null pointer subtraction knews-1.0b.1/regexp/main.c:136:8: style: Variable 'badpat' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/regexp/main.c:204:7: style: Parameter 'f0' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/regexp/main.c:220:8: style: Variable 'type' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/regexp/main.c:222:8: style: Variable 'grump' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/regexp/main.c:318:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/regexp/main.c:320:17: style: Variable 'legal' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/regexp/main.c:373:7: style: Parameter 's' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/regexp/main.c:412:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/regexp/main.c:414:17: style: Variable 'at' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/regexp/main.c:499:7: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/regexp/main.c:293:11: style: Variable 'nshould' is assigned a value that is never used. [unreadVariable] knews-1.0b.1/regexp/main.c:302:8: style: Variable 'err' is assigned a value that is never used. [unreadVariable] knews-1.0b.1/regexp/main.c:502:9: style: Unused variable: n [unusedVariable] knews-1.0b.1/regexp/regcomp.c:102:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_DUMP [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/regcomp.c:205:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EMPTY [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/regcomp.c:252:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EPAREN [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/regcomp.c:388:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EMPTY [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/regcomp.c:431:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EMPTY [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/regcomp.c:456:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EESCAPE [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/regcomp.c:568:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_BADBR [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/regcomp.c:609:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EBRACK [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/regcomp.c:669:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ERANGE [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/regcomp.c:739:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ECTYPE [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/regcomp.c:777:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EBRACK [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/regcomp.c:804:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EBRACK [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/regcomp.c:872:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ICASE [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/regcomp.c:974:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ASSERT [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/regcomp.c:1034:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/regcomp.c:1166:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/regcomp.c:1460:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/regcomp.c:1479:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/regcomp.c:1563:4: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] knews-1.0b.1/regexp/regcomp.c:725:17: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/regexp/regcomp.c:1060:17: style: Variable 'top' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/regexp/regcomp.c:1086:17: style: Variable 'top' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/regexp/regcomp.c:1116:16: style: Parameter 'cs' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/regexp/regcomp.c:1135:16: style: Parameter 'cs' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/regexp/regcomp.c:1156:16: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/regexp/regcomp.c:1220:16: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/regexp/regcomp.c:1241:24: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/regexp/regcomp.c:1242:16: style: Parameter 'cs' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/regexp/regcomp.c:1256:24: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/regexp/regcomp.c:1257:16: style: Parameter 'cs' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/regexp/regcomp.c:1310:15: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/regexp/regcomp.c:1496:15: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/regexp/regcomp.c:1577:15: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/regexp/regcomp.c:1580:16: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/regexp/regcomp.c:583:16: style: Unused variable: c [unusedVariable] knews-1.0b.1/regexp/regcomp.c:799:16: style: Unused variable: c [unusedVariable] knews-1.0b.1/regexp/regerror.c:70:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ITOA [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/regerror.c:71:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/regexp/regerror.c:114:24: style: Variable 'r' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/regexp/regerror.c:115:18: style: Unused variable: siz [unusedVariable] knews-1.0b.1/regexp/regerror.c:116:17: style: Unused variable: p [unusedVariable] knews-1.0b.1/regexp/engine.c:397:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rm_so [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/regexec.c:128:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_BADPAT [valueFlowBailoutIncompleteVar] knews-1.0b.1/regexp/engine.c:641:2: style: Redundant initialization for 'st'. The initialized value is overwritten before it is read. [redundantInitialization] knews-1.0b.1/regexp/engine.c:631:21: note: st is initialized knews-1.0b.1/regexp/engine.c:641:2: note: st is overwritten knews-1.0b.1/regexp/engine.c:644:2: style: Redundant initialization for 'fresh'. The initialized value is overwritten before it is read. [redundantInitialization] knews-1.0b.1/regexp/engine.c:632:24: note: fresh is initialized knews-1.0b.1/regexp/engine.c:644:2: note: fresh is overwritten knews-1.0b.1/regexp/engine.c:733:2: style: Redundant initialization for 'st'. The initialized value is overwritten before it is read. [redundantInitialization] knews-1.0b.1/regexp/engine.c:722:21: note: st is initialized knews-1.0b.1/regexp/engine.c:733:2: note: st is overwritten knews-1.0b.1/regexp/engine.c:439:17: style: Variable 'cs' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/regexp/engine.c:723:18: style: Variable 'empty' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/regexp/engine.c:815:17: style: Parameter 'bef' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/regexp/engine.c:819:17: style: Variable 'cs' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/regexp/engine.c:633:22: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] knews-1.0b.1/regexp/engine.c:724:22: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] knews-1.0b.1/regexp/split.c:27:4: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] knews-1.0b.1/regexp/split.c:80:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] knews-1.0b.1/regexp/split.c:87:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] knews-1.0b.1/regexp/split.c:91:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] knews-1.0b.1/regexp/split.c:97:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] knews-1.0b.1/regexp/split.c:120:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] knews-1.0b.1/regexp/split.c:130:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] knews-1.0b.1/regexp/split.c:21:17: style: Variable 'sepp' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/actions.c:392:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/actions.c:460:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNheight [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/actions.c:550:15: error: Array 'args[3]' accessed at index 3, which is out of bounds. [arrayIndexOutOfBounds] knews-1.0b.1/src/actions.c:22:15: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/actions.c:22:33: style: Parameter 'no_params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/actions.c:47:17: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/actions.c:47:35: style: Parameter 'no_params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/actions.c:72:17: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/actions.c:72:35: style: Parameter 'no_params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/actions.c:97:18: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/actions.c:97:36: style: Parameter 'no_params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/actions.c:123:16: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/actions.c:123:34: style: Parameter 'no_params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/actions.c:224:39: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/actions.c:225:15: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/actions.c:225:33: style: Parameter 'no_params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/actions.c:246:41: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/actions.c:247:17: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/actions.c:247:35: style: Parameter 'no_params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/actions.c:308:18: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/actions.c:308:36: style: Parameter 'no_params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/actions.c:368:32: style: Parameter 'no_params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/actions.c:429:12: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/actions.c:429:30: style: Parameter 'no_params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/actions.c:447:12: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/actions.c:447:30: style: Parameter 'no_params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/actions.c:473:48: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/actions.c:474:17: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/actions.c:474:35: style: Parameter 'no_params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/actions.c:483:19: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/actions.c:483:37: style: Parameter 'no_params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/actions.c:526:14: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/actions.c:527:14: style: Parameter 'no_params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/ahead.c:584:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/ahead.c:620:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/ahead.c:651:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/ahead.c:692:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/ahead.c:657:9: style: Condition 'scan' is always true [knownConditionTrueFalse] knews-1.0b.1/src/ahead.c:615:12: style: Local variable 'fp' shadows outer variable [shadowVariable] knews-1.0b.1/src/ahead.c:58:15: note: Shadowed declaration knews-1.0b.1/src/ahead.c:615:12: note: Shadow variable knews-1.0b.1/src/ahead.c:76:60: style: Parameter 'refs' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/ahead.c:95:37: style: Parameter 'group_name' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/ahead.c:97:11: style: Variable 'cache_dir' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/ahead.c:189:49: style: Parameter 'group' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/ahead.c:250:23: style: Variable 'node' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/ahead.c:294:13: style: Variable 'group' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/ahead.c:447:23: style: Variable 'node' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/ahead.c:530:23: style: Variable 'node' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/bg.c:174:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/bg.c:330:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/bg.c:350:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/bg.c:83:67: style: Parameter 'id' can be declared as pointer to const. However it seems that 'timeout_callback' is a callback function, if 'id' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/src/bg.c:112:53: note: You might need to cast the function pointer here knews-1.0b.1/src/bg.c:83:67: note: Parameter 'id' can be declared as pointer to const knews-1.0b.1/src/bg.c:118:11: style: Variable 'err' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/bg.c:342:11: style: Variable 'auth_info_user' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/bg.c:343:11: style: Variable 'auth_info_pass' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/cache.c:152:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/cache.c:199:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/cache.c:465:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGrabNone [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/cache.c:114:11: style: Local variable 'fp' shadows outer variable [shadowVariable] knews-1.0b.1/src/cache.c:227:15: note: Shadowed declaration knews-1.0b.1/src/cache.c:114:11: note: Shadow variable knews-1.0b.1/src/cache.c:68:39: style: Parameter 'cache' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/cache.c:334:11: style: Variable 'buffer' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/charset.c:105:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable byte1 [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/charset.c:182:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable byte1 [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/charset.c:88:44: style: Parameter 'src' can be declared as pointer to const. However it seems that 'utf7_decode' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/src/charset.c:506:51: note: You might need to cast the function pointer here knews-1.0b.1/src/charset.c:88:44: note: Parameter 'src' can be declared as pointer to const knews-1.0b.1/src/charset.c:167:45: style: Parameter 'src' can be declared as pointer to const. However it seems that 'str16_decode' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/src/charset.c:505:51: note: You might need to cast the function pointer here knews-1.0b.1/src/charset.c:167:45: note: Parameter 'src' can be declared as pointer to const knews-1.0b.1/src/charset.c:255:44: style: Parameter 'src' can be declared as pointer to const. However it seems that 'hzgb_decode' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/src/charset.c:507:51: note: You might need to cast the function pointer here knews-1.0b.1/src/charset.c:255:44: note: Parameter 'src' can be declared as pointer to const knews-1.0b.1/src/charset.c:461:44: style: Parameter 'src' can be declared as pointer to const. However it seems that 'big5_decode' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/src/charset.c:509:51: note: You might need to cast the function pointer here knews-1.0b.1/src/charset.c:461:44: note: Parameter 'src' can be declared as pointer to const knews-1.0b.1/src/charset.c:511:43: style: Parameter 'encoding' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/child.c:19:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/child.c:50:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/child.c:80:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/child.c:139:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/child.c:171:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/child.c:184:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_UNBLOCK [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/child.c:193:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/child.c:320:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/child.c:357:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/child.c:413:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/child.c:479:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/child.c:452:19: style: Variable 'stderr_fd[0]' is assigned a value that is never used. [unreadVariable] knews-1.0b.1/src/color.c:53:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StaticGray [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/color.c:83:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/color.c:139:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/color.c:191:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pixel [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/color.c:211:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/color.c:356:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DoRed [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/color.c:402:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pixel [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/color.c:450:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/color.c:499:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZPixmap [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/color.c:531:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZPixmap [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/color.c:50:31: style: Parameter 'class' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/color.c:69:12: style: Variable 'visual_depth' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/color.c:70:12: style: Variable 'install' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/color.c:137:34: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/color.c:270:22: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/color.c:620:33: style: Parameter 'col' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/connect.c:125:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NULLQUARK [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/connect.c:282:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/connect.c:387:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGrabNone [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/connect.c:316:8: style: Variable 'buffer' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/decode.c:20:26: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/decode.c:107:56: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/decode.c:111:12: style: Variable 'base' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/decode.c:177:31: style: Parameter 'cont' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/decode.c:197:53: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/decode.c:199:12: style: Variable 'base' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/decode.c:280:28: style: Parameter 'cont' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/domain.c:76:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/domain.c:53:10: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] knews-1.0b.1/src/expand.c:145:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/expand.c:233:5: warning: Possible null pointer dereference: path [nullPointer] knews-1.0b.1/src/expand.c:115:18: note: Assignment 'path=NULL', assigned value is 0 knews-1.0b.1/src/expand.c:122:33: note: Assuming condition is false knews-1.0b.1/src/expand.c:233:5: note: Null pointer dereference knews-1.0b.1/src/expand.c:10:34: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/expand.c:31:13: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/expand.c:32:13: style: Parameter 'subtype' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/expand.c:33:15: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/expand.c:131:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/expand.c:131:16: style: Variable 'c' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/file.c:28:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/file.c:91:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/file.c:155:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/file.c:194:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/file.c:225:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/file.c:280:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/file.c:189:13: style: Obsolescent function 'tmpnam' called. It is recommended to use 'tmpfile', 'mkstemp' or 'mkdtemp' instead. [prohibitedtmpnamCalled] knews-1.0b.1/src/font.c:78:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtRString [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/font.c:124:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable String [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/font.c:241:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/font.c:24:32: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/font.c:49:57: style: Parameter 'font' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/gif.c:33:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/gif.c:318:12: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] knews-1.0b.1/src/gif.c:333:13: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] knews-1.0b.1/src/gif.c:334:13: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] knews-1.0b.1/src/jpeg.c:17:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/jpeg.c:15:22: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/jpeg.c:15:44: style: Parameter 'wp' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/jpeg.c:15:54: style: Parameter 'hp' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/k_action.c:117:14: style: Parameter 'no_params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/k_action.c:125:15: style: Parameter 'no_params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/k_action.c:133:21: style: Parameter 'no_params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/k_action.c:141:15: style: Parameter 'no_params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/k_action.c:149:22: style: Parameter 'no_params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/k_edit.c:222:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/k_edit.c:364:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/k_edit.c:411:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOSUB [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/k_edit.c:491:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOSUB [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/k_edit.c:625:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcolormap [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/k_edit.c:842:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGrabNone [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/k_edit.c:858:32: style: Condition 'append' is always true [knownConditionTrueFalse] knews-1.0b.1/src/k_edit.c:66:37: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/k_edit.c:83:37: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/k_edit.c:101:42: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/k_edit.c:153:19: style: Variable 'w' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/k_edit.c:405:19: style: Variable 'w' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/k_edit.c:605:19: style: Variable 'w' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/k_file.c:58:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/k_file.c:276:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/k_file.c:314:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOSUB [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/k_file.c:173:29: style: Parameter 'group' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/k_kill.c:45:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/k_kill.c:60:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/k_kill.c:252:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/k_kill.c:271:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/k_kill.c:400:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/k_kill.c:419:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/k_kill.c:20:14: style: Variable 'thr' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/k_kill.c:130:33: style: Parameter 'node' can be declared as pointer to const. However it seems that 's_s_kill' is a callback function, if 'node' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/src/k_kill.c:564:17: note: You might need to cast the function pointer here knews-1.0b.1/src/k_kill.c:130:33: note: Parameter 'node' can be declared as pointer to const knews-1.0b.1/src/k_kill.c:158:33: style: Parameter 'node' can be declared as pointer to const. However it seems that 's_T_kill' is a callback function, if 'node' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/src/k_kill.c:564:28: note: You might need to cast the function pointer here knews-1.0b.1/src/k_kill.c:158:33: note: Parameter 'node' can be declared as pointer to const knews-1.0b.1/src/k_kill.c:163:11: style: Variable 'thr' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/k_kill.c:184:11: style: Variable 'thr' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/k_kill.c:200:33: style: Parameter 'node' can be declared as pointer to const. However it seems that 's_t_kill' is a callback function, if 'node' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/src/k_kill.c:564:39: note: You might need to cast the function pointer here knews-1.0b.1/src/k_kill.c:200:33: note: Parameter 'node' can be declared as pointer to const knews-1.0b.1/src/k_kill.c:246:33: style: Parameter 'node' can be declared as pointer to const. However it seems that 'f_a_kill' is a callback function, if 'node' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/src/k_kill.c:565:6: note: You might need to cast the function pointer here knews-1.0b.1/src/k_kill.c:246:33: note: Parameter 'node' can be declared as pointer to const knews-1.0b.1/src/k_kill.c:265:32: style: Parameter 'node' can be declared as pointer to const. However it seems that 'f_a_hot' is a callback function, if 'node' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/src/k_kill.c:572:6: note: You might need to cast the function pointer here knews-1.0b.1/src/k_kill.c:265:32: note: Parameter 'node' can be declared as pointer to const knews-1.0b.1/src/k_kill.c:280:33: style: Parameter 'node' can be declared as pointer to const. However it seems that 'f_s_kill' is a callback function, if 'node' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/src/k_kill.c:565:16: note: You might need to cast the function pointer here knews-1.0b.1/src/k_kill.c:280:33: note: Parameter 'node' can be declared as pointer to const knews-1.0b.1/src/k_kill.c:304:33: style: Parameter 'node' can be declared as pointer to const. However it seems that 'f_T_kill' is a callback function, if 'node' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/src/k_kill.c:565:27: note: You might need to cast the function pointer here knews-1.0b.1/src/k_kill.c:304:33: note: Parameter 'node' can be declared as pointer to const knews-1.0b.1/src/k_kill.c:348:33: style: Parameter 'node' can be declared as pointer to const. However it seems that 'f_t_kill' is a callback function, if 'node' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/src/k_kill.c:565:38: note: You might need to cast the function pointer here knews-1.0b.1/src/k_kill.c:348:33: note: Parameter 'node' can be declared as pointer to const knews-1.0b.1/src/k_kill.c:351:20: style: Variable 'thr' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/k_kill.c:373:20: style: Variable 'thr' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/k_kill.c:394:33: style: Parameter 'node' can be declared as pointer to const. However it seems that 'x_a_kill' is a callback function, if 'node' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/src/k_kill.c:566:6: note: You might need to cast the function pointer here knews-1.0b.1/src/k_kill.c:394:33: note: Parameter 'node' can be declared as pointer to const knews-1.0b.1/src/k_kill.c:413:32: style: Parameter 'node' can be declared as pointer to const. However it seems that 'x_a_hot' is a callback function, if 'node' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/src/k_kill.c:573:6: note: You might need to cast the function pointer here knews-1.0b.1/src/k_kill.c:413:32: note: Parameter 'node' can be declared as pointer to const knews-1.0b.1/src/k_kill.c:428:33: style: Parameter 'node' can be declared as pointer to const. However it seems that 'x_s_kill' is a callback function, if 'node' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/src/k_kill.c:566:16: note: You might need to cast the function pointer here knews-1.0b.1/src/k_kill.c:428:33: note: Parameter 'node' can be declared as pointer to const knews-1.0b.1/src/k_kill.c:470:33: style: Parameter 'node' can be declared as pointer to const. However it seems that 'x_T_kill' is a callback function, if 'node' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/src/k_kill.c:566:27: note: You might need to cast the function pointer here knews-1.0b.1/src/k_kill.c:470:33: note: Parameter 'node' can be declared as pointer to const knews-1.0b.1/src/k_kill.c:514:33: style: Parameter 'node' can be declared as pointer to const. However it seems that 'x_t_kill' is a callback function, if 'node' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/src/k_kill.c:566:38: note: You might need to cast the function pointer here knews-1.0b.1/src/k_kill.c:514:33: note: Parameter 'node' can be declared as pointer to const knews-1.0b.1/src/k_kill.c:517:20: style: Variable 'thr' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/k_kill.c:540:20: style: Variable 'thr' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/k_node.c:23:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/k_node.c:47:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/k_node.c:64:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/k_node.c:247:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/mailcap.c:323:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/mailcap.c:21:32: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/mailcap.c:129:58: style: Parameter 'flag' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/mailcap.c:152:16: style: Parameter 'fieldname' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/mailcap.c:349:53: style: Parameter 'subtype' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/main.c:58:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNiconPixmap [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/main.c:74:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/main.c:88:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/main.c:119:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGrabNone [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/main.c:137:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable String [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/main.c:487:5: warning: Return value of function freopen() is not used. [ignoredReturnValue] knews-1.0b.1/src/main.c:585:16: style: Condition 'global.nntp_server' is always false [knownConditionTrueFalse] knews-1.0b.1/src/main.c:584:27: note: Assignment 'global.nntp_server=0', assigned value is 0 knews-1.0b.1/src/main.c:585:16: note: Condition 'global.nntp_server' is always false knews-1.0b.1/src/main.c:70:11: style: Variable 'msg' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/main.c:472:11: style: Variable 'home' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/misc.c:94:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/misc.c:261:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/misc.c:498:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/misc.c:690:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGrabNone [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/misc.c:751:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcolormap [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/misc.c:884:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcolormap [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/misc.c:220:11: style: Redundant condition: The condition 'global.mode != 2' is redundant since 'global.mode == 3' is sufficient. [redundantCondition] knews-1.0b.1/src/misc.c:718:14: style: Variable 'set' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/misc.c:1126:21: style: Variable 'report' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/newsrc.c:24:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/newsrc.c:159:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/newsrc.c:266:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/newsrc.c:350:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/newsrc.c:429:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/newsrc.c:474:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/newsrc.c:499:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/newsrc.c:519:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/newsrc.c:647:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/newsrc.c:150:10: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] knews-1.0b.1/src/newsrc.c:107:25: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/newsrc.c:139:16: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/newsrc.c:300:21: style: Variable 'loop' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/newsrc.c:424:20: style: Variable 'loop' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/newsrc.c:579:11: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/p_I.h:6:2: error: #error "You need to define MAIL_COMMAND in configure.h" [preprocessorErrorDirective] knews-1.0b.1/src/parse.c:16:10: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] knews-1.0b.1/src/parse.c:14:16: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/parse.c:33:35: style: Parameter 'tm' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/parse.c:35:16: style: Variable 'acc_month_days' can be declared as const array [constVariable] knews-1.0b.1/src/parse.c:57:12: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] knews-1.0b.1/src/partial.c:143:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/partial.c:182:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGrabNone [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/partial.c:198:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/partial.c:255:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/partial.c:161:9: warning: Either the condition 'art' is redundant or there is possible null pointer dereference: art. [nullPointerRedundantCheck] knews-1.0b.1/src/partial.c:159:12: note: Assuming that condition 'art' is not redundant knews-1.0b.1/src/partial.c:161:9: note: Null pointer dereference knews-1.0b.1/src/partial.c:554:14: warning: Either the condition '!reply' is redundant or there is possible null pointer dereference: reply. [nullPointerRedundantCheck] knews-1.0b.1/src/partial.c:547:9: note: Assuming that condition '!reply' is not redundant knews-1.0b.1/src/partial.c:554:14: note: Null pointer dereference knews-1.0b.1/src/partial.c:64:11: style: Variable 'loop' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/partial.c:87:32: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/partial.c:156:14: style: Variable 'art' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/partial.c:231:11: style: Variable 'total' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/partial.c:232:11: style: Variable 'number' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/partial.c:269:33: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/partial.c:329:45: style: Parameter 'arts' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/png.c:17:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/png.c:15:21: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/png.c:15:43: style: Parameter 'wp' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/png.c:15:53: style: Parameter 'hp' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/procs.c:110:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGrabExclusive [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/procs.c:525:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/procs.c:849:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNheight [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/procs.c:32:11: style: Variable 'c' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/procs.c:254:14: style: Variable 'subj' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/procs.c:441:15: style: Variable 'stop' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/read.c:975:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/read.c:551:16: warning: Either the condition 'bound' is redundant or there is possible null pointer dereference: bound. [nullPointerRedundantCheck] knews-1.0b.1/src/read.c:554:6: note: Assuming that condition 'bound' is not redundant knews-1.0b.1/src/read.c:551:16: note: Null pointer dereference knews-1.0b.1/src/read.c:239:15: style: Parameter 'bound' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/read.c:360:50: style: Parameter 're' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/read.c:547:12: style: Parameter 'ext_bound' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/read.c:849:15: style: Parameter 'sel_data' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/read.c:921:15: style: Variable 're' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/read.c:1033:15: style: Parameter 'no_params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/read.c:1045:19: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/read.c:1046:19: style: Parameter 'no_params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/resource.c:340:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/resource.c:365:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/resource.c:540:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/resource.c:644:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOSUB [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/resource.c:842:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOSUB [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/resource.c:527:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] knews-1.0b.1/src/resource.c:833:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] knews-1.0b.1/src/resource.c:583:6: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] knews-1.0b.1/src/resource.c:532:17: style: Local variable 'db' shadows outer variable [shadowVariable] knews-1.0b.1/src/resource.c:34:20: note: Shadowed declaration knews-1.0b.1/src/resource.c:532:17: note: Shadow variable knews-1.0b.1/src/resource.c:269:45: style: Parameter 'sep' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/resource.c:315:30: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/resource.c:355:31: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/resource.c:384:41: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/resource.c:384:53: style: Parameter 'set_val' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/resource.c:527:9: style: Variable 'str' is assigned a value that is never used. [unreadVariable] knews-1.0b.1/src/save.c:608:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcolormap [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/save.c:696:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNallowShellResize [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/save.c:864:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGrabNone [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/save.c:1083:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/save.c:1076:7: style: Local variable 'i' shadows outer variable [shadowVariable] knews-1.0b.1/src/save.c:1017:11: note: Shadowed declaration knews-1.0b.1/src/save.c:1076:7: note: Shadow variable knews-1.0b.1/src/save.c:75:11: style: Variable 'c' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/save.c:76:11: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/save.c:76:16: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/save.c:213:8: style: Variable 'c' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/save.c:255:8: style: Variable 'buffer' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/save.c:879:11: style: Variable 'c' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/save.c:979:30: style: Parameter 'no_params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/save.c:985:30: style: Parameter 'no_params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/save.c:1015:12: style: Variable 'url_cmd' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/search.c:342:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/search.c:551:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/search.c:797:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNallowShellResize [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/search.c:987:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGrabNone [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/search.c:1100:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOSUB [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/search.c:1196:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGrabNone [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/search.c:1057:11: style: Condition '!report->buffer' is always false [knownConditionTrueFalse] knews-1.0b.1/src/search.c:196:31: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/search.c:211:38: style: Parameter 're' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/search.c:236:37: style: Parameter 're' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/search.c:265:37: style: Parameter 're' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/search.c:291:36: style: Parameter 're' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/search.c:294:21: style: Variable 'reply' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/search.c:403:34: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/search.c:403:48: style: Parameter 'wildcard' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/search.c:1026:32: style: Parameter 'c1' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/search.c:1026:42: style: Parameter 'c2' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/search.c:1216:14: style: Variable 'thr' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/server.c:147:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/server.c:257:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/server.c:274:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/server.c:354:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/server.c:421:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/server.c:175:8: style: Local variable 'tmp' shadows outer variable [shadowVariable] knews-1.0b.1/src/server.c:133:10: note: Shadowed declaration knews-1.0b.1/src/server.c:175:8: note: Shadow variable knews-1.0b.1/src/server.c:70:27: style: Parameter 'server' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/server.c:90:39: style: Parameter 'server' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/server.c:95:28: style: Parameter 'server' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/server.c:175:8: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/server.c:213:8: style: Variable 'c' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/server.c:247:31: style: Parameter 'server' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/server.c:247:45: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/server.c:462:8: style: Variable 'auth_user' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/server.c:463:8: style: Variable 'auth_pass' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/server.c:484:8: style: Variable 'auth_user' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/server.c:485:8: style: Variable 'auth_pass' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/sort.c:81:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/sort.c:229:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/sort.c:48:11: style: Variable 'thr' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/sort.c:60:11: style: Variable 'thr' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/sort.c:151:14: style: Variable 'subj' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/sort.c:275:14: style: Variable 'art' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/sort.c:331:39: style: Parameter 'sort' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/sysdeps.c:69:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/sysdeps.c:99:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/sysdeps.c:175:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtIMXEvent [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/sysdeps.c:343:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/sysdeps.c:379:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/sysdeps.c:522:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/sysdeps.c:607:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/sysdeps.c:316:7: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] knews-1.0b.1/src/sysdeps.c:571:9: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] knews-1.0b.1/src/sysdeps.c:304:26: style: Condition '(unsigned int)-1==0xffffu' is always false [knownConditionTrueFalse] knews-1.0b.1/src/sysdeps.c:305:2: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] knews-1.0b.1/src/sysdeps.c:272:27: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/sysdeps.c:309:18: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/sysdeps.c:373:39: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/sysdeps.c:612:9: style: Variable 'type' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/sysdeps.c:551:27: style: Unused variable: domain [unusedVariable] knews-1.0b.1/src/tag.c:132:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/tag.c:59:31: style: Parameter 'art' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/tag.c:77:36: style: Parameter 'thread' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/tag.c:90:14: style: Variable 'thread' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/tag.c:182:30: style: Parameter 'no_params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/tag.c:249:36: style: Parameter 'no_params' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/thread.c:268:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/thread.c:318:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable child1 [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/thread.c:403:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/thread.c:510:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/thread.c:571:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sibling [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/thread.c:848:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/thread.c:1004:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/thread.c:1331:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcolormap [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/thread.c:172:39: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/thread.c:177:39: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/thread.c:192:32: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/thread.c:266:47: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/thread.c:427:65: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/thread.c:433:28: style: Variable 'msgid' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/thread.c:566:11: style: Variable 'stop' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/thread.c:594:12: style: Variable 'msgid' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/thread.c:673:20: style: Variable 'loop' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/thread.c:711:37: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/thread.c:810:30: style: Parameter 'msgid' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/thread.c:1275:21: style: Variable 'report' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/thread.c:915:8: style: Variable 'skip' is assigned a value that is never used. [unreadVariable] knews-1.0b.1/src/thread.c:946:8: style: Variable 'skip' is assigned a value that is never used. [unreadVariable] knews-1.0b.1/src/thread.c:955:8: style: Variable 'skip' is assigned a value that is never used. [unreadVariable] knews-1.0b.1/src/thread.c:968:12: style: Variable 'skip' is assigned a value that is never used. [unreadVariable] knews-1.0b.1/src/util.c:52:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/util.c:82:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/util.c:185:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/util.c:202:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/util.c:223:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/util.c:244:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/util.c:270:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/util.c:294:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/util.c:319:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/util.c:344:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/util.c:360:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/util.c:377:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/util.c:22:60: style: Parameter 'thread' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/util.c:495:20: style: Variable 'loop' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/util.c:667:37: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/uudecode.c:37:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/uudecode.c:127:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/uudecode.c:339:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/uudecode.c:29:35: style: Parameter 'subject' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/uudecode.c:93:11: style: Variable 'buffer' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/viewer.c:38:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/viewer.c:66:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/viewer.c:160:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGrabNone [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/viewer.c:231:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/viewer.c:155:9: style: Local variable 'w' shadows outer argument [shadowArgument] knews-1.0b.1/src/viewer.c:140:35: note: Shadowed declaration knews-1.0b.1/src/viewer.c:155:9: note: Shadow variable knews-1.0b.1/src/viewer.c:145:11: style: Variable 'button' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/viewer.c:220:22: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/viewer.c:221:15: style: Parameter 'subtype' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/widgets.c:163:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable subject [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/widgets.c:341:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/widgets.c:380:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNsensitive [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/widgets.c:527:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNx [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/widgets.c:598:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/widgets.c:659:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/widgets.c:686:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtVaTypedArg [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/widgets.c:897:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/widgets.c:147:15: style: Redundant initialization for 'loop'. The initialized value is overwritten before it is read. [redundantInitialization] knews-1.0b.1/src/widgets.c:133:19: note: loop is initialized knews-1.0b.1/src/widgets.c:147:15: note: loop is overwritten knews-1.0b.1/src/widgets.c:133:14: style: Variable 'loop' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/widgets.c:181:8: style: Variable 'author' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/src/widgets.c:551:36: style: Parameter 're' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/xface.c:12:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/xface.c:10:46: style: Parameter 'width' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/xface.c:10:59: style: Parameter 'height' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/xutil.c:79:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/xutil.c:156:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/xutil.c:193:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/xutil.c:338:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGrabExclusive [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/xutil.c:427:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGrabExclusive [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/xutil.c:652:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcolormap [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/xutil.c:688:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcolormap [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/xutil.c:771:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcolormap [valueFlowBailoutIncompleteVar] knews-1.0b.1/src/xutil.c:534:54: style: Parameter 'to' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/xutil.c:535:17: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/xutil.c:535:33: style: Parameter 'no_args' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/xutil.c:540:39: style: Parameter 'disp' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/xutil.c:541:19: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/xutil.c:541:35: style: Parameter 'n_args' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/xutil.c:542:19: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/xutil.c:542:35: style: Parameter 'to' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/xutil.c:543:20: style: Parameter 'closure' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/xutil.c:731:31: style: Parameter 'title' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/xutil.c:731:44: style: Parameter 'body' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/src/xutil.c:760:48: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/util/knewsd/knewsd.c:82:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] knews-1.0b.1/util/knewsd/knewsd.c:198:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] knews-1.0b.1/util/knewsd/knewsd.c:260:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/util/knewsd/knewsd.c:279:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] knews-1.0b.1/util/knewsd/knewsd.c:428:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] knews-1.0b.1/util/knewsd/knewsd.c:528:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] knews-1.0b.1/util/knewsd/knewsd.c:672:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] knews-1.0b.1/util/knewsd/knewsd.c:860:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/util/knewsd/knewsd.c:1155:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/util/knewsd/knewsd.c:130:30: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/util/knewsd/knewsd.c:150:30: style: Parameter 'arts' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/util/knewsd/knewsd.c:255:30: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/util/knewsd/knewsd.c:299:28: style: Parameter 'args' can be declared as pointer to const. However it seems that 'do_group' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/util/knewsd/knewsd.c:752:12: note: You might need to cast the function pointer here knews-1.0b.1/util/knewsd/knewsd.c:299:28: note: Parameter 'args' can be declared as pointer to const knews-1.0b.1/util/knewsd/knewsd.c:370:27: style: Parameter 'args' can be declared as pointer to const. However it seems that 'do_help' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/util/knewsd/knewsd.c:754:11: note: You might need to cast the function pointer here knews-1.0b.1/util/knewsd/knewsd.c:370:27: note: Parameter 'args' can be declared as pointer to const knews-1.0b.1/util/knewsd/knewsd.c:387:27: style: Parameter 'args' can be declared as pointer to const. However it seems that 'do_list' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/util/knewsd/knewsd.c:757:11: note: You might need to cast the function pointer here knews-1.0b.1/util/knewsd/knewsd.c:387:27: note: Parameter 'args' can be declared as pointer to const knews-1.0b.1/util/knewsd/knewsd.c:443:27: style: Parameter 'args' can be declared as pointer to const. However it seems that 'do_next' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/util/knewsd/knewsd.c:759:11: note: You might need to cast the function pointer here knews-1.0b.1/util/knewsd/knewsd.c:443:27: note: Parameter 'args' can be declared as pointer to const knews-1.0b.1/util/knewsd/knewsd.c:464:31: style: Parameter 'args' can be declared as pointer to const. However it seems that 'do_not_impl' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/util/knewsd/knewsd.c:771:12: note: You might need to cast the function pointer here knews-1.0b.1/util/knewsd/knewsd.c:464:31: note: Parameter 'args' can be declared as pointer to const knews-1.0b.1/util/knewsd/knewsd.c:586:27: style: Parameter 'args' can be declared as pointer to const. However it seems that 'do_stat' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/util/knewsd/knewsd.c:766:11: note: You might need to cast the function pointer here knews-1.0b.1/util/knewsd/knewsd.c:586:27: note: Parameter 'args' can be declared as pointer to const knews-1.0b.1/util/knewsd/knewsd.c:610:27: style: Parameter 'args' can be declared as pointer to const. However it seems that 'do_quit' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] knews-1.0b.1/util/knewsd/knewsd.c:763:11: note: You might need to cast the function pointer here knews-1.0b.1/util/knewsd/knewsd.c:610:27: note: Parameter 'args' can be declared as pointer to const knews-1.0b.1/util/knewsd/knewsd.c:954:35: style: Parameter 'inreplyto' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/util/knewsd/knewsd.c:1019:11: style: Variable 'subject' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/util/knewsd/knewsd.c:1020:11: style: Variable 'from' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/util/knewsd/knewsd.c:1021:11: style: Variable 'date' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/util/knewsd/knewsd.c:1022:11: style: Variable 'messageid' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/util/knewsd/knewsd.c:1023:11: style: Variable 'refs' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/util/knewsd/knewsd.c:1024:11: style: Variable 'bytes' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/util/knewsd/knewsd.c:1025:11: style: Variable 'lines' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/util/knewsd/knewsd.c:1026:11: style: Variable 'xref' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/util/tcp_relay/tcp_relay.c:59:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/util/tcp_relay/tcp_relay.c:90:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_INET [valueFlowBailoutIncompleteVar] knews-1.0b.1/util/tcp_relay/tcp_relay.c:118:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] knews-1.0b.1/util/tcp_relay/tcp_relay.c:148:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] knews-1.0b.1/util/tcp_relay/tcp_relay.c:178:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] knews-1.0b.1/util/tcp_relay/tcp_relay.c:211:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_INET [valueFlowBailoutIncompleteVar] knews-1.0b.1/util/tcp_relay/tcp_relay.c:281:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] knews-1.0b.1/util/tcp_relay/tcp_relay.c:290:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] knews-1.0b.1/util/tcp_relay/tcp_relay.c:307:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] knews-1.0b.1/util/tcp_relay/tcp_relay.c:307:5: warning: Return value of function freopen() is not used. [ignoredReturnValue] knews-1.0b.1/util/tcp_relay/tcp_relay.c:308:5: warning: Return value of function freopen() is not used. [ignoredReturnValue] knews-1.0b.1/util/tcp_relay/tcp_relay.c:57:12: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] knews-1.0b.1/util/tcp_relay/tcp_relay.c:99:12: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] knews-1.0b.1/util/tcp_relay/tcp_relay.c:53:30: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/util/tcp_relay/tcp_relay.c:55:21: style: Variable 'hent' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/util/tcp_relay/tcp_relay.c:71:43: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/util/tcp_relay/tcp_relay.c:83:49: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/util/tcp_relay/tcp_relay.c:86:21: style: Variable 'hent' can be declared as pointer to const [constVariablePointer] knews-1.0b.1/util/tcp_relay/tcp_relay.c:138:49: style: Parameter 'serv_addr' can be declared as pointer to const [constParameterPointer] knews-1.0b.1/util/tcp_relay/tcp_relay.c:288:25: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] diff: head knews-1.0b.1/Widgets/Util.c:561:7: warning: Either the condition '!tmp' is redundant or there is possible null pointer dereference: *loop. [nullPointerRedundantCheck] knews-1.0b.1/Widgets/Util.c:566:9: note: Assuming that condition '!tmp' is not redundant knews-1.0b.1/Widgets/Util.c:564:11: note: Assignment to 'tmp=*loop' knews-1.0b.1/Widgets/Util.c:561:7: note: Null pointer dereference head knews-1.0b.1/regexp/debug.c:95:16: style: Variable 's' can be declared as pointer to const [constVariablePointer] head knews-1.0b.1/regexp/engine.c:77:17: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] head knews-1.0b.1/regexp/main.c:318:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] head knews-1.0b.1/regexp/regerror.c:114:24: style: Variable 'r' can be declared as pointer to const [constVariablePointer] head knews-1.0b.1/src/newsrc.c:300:21: style: Variable 'loop' can be declared as pointer to const [constVariablePointer] head knews-1.0b.1/src/newsrc.c:424:20: style: Variable 'loop' can be declared as pointer to const [constVariablePointer] 2.18.0 knews-1.0b.1/src/p_I.h:6:0: error: #error "You need to define MAIL_COMMAND in configure.h" [preprocessorErrorDirective] head knews-1.0b.1/src/partial.c:156:14: style: Variable 'art' can be declared as pointer to const [constVariablePointer] head knews-1.0b.1/src/partial.c:64:11: style: Variable 'loop' can be declared as pointer to const [constVariablePointer] head knews-1.0b.1/src/procs.c:254:14: style: Variable 'subj' can be declared as pointer to const [constVariablePointer] head knews-1.0b.1/src/save.c:1015:12: style: Variable 'url_cmd' can be declared as pointer to const [constVariablePointer] head knews-1.0b.1/src/sort.c:151:14: style: Variable 'subj' can be declared as pointer to const [constVariablePointer] head knews-1.0b.1/src/thread.c:673:20: style: Variable 'loop' can be declared as pointer to const [constVariablePointer] head knews-1.0b.1/src/util.c:495:20: style: Variable 'loop' can be declared as pointer to const [constVariablePointer] head knews-1.0b.1/src/widgets.c:133:14: style: Variable 'loop' can be declared as pointer to const [constVariablePointer] DONE