2025-11-24 21:09 ftp://ftp.de.debian.org/debian/pool/main/x/xwit/xwit_3.4.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-5.4.0-216-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.69 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 cppcheck: head 2.18.0 head-info: cb76e52 (2025-11-22 14:47:37 +0100) count: 42 42 elapsed-time: 2.2 3.8 head-timing-info: old-timing-info: head results: xwit-3.4.orig/ClientWin.c:30:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xwit-3.4.orig/ClientWin.c:59:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xwit-3.4.orig/xwit.c:38:1: portability: Omitted return type of function 'usage' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xwit-3.4.orig/xwit.c:712:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xwit-3.4.orig/dsimple.c:476:1: portability: Omitted return type of function 'outl' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xwit-3.4.orig/xwit.c:55:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwit-3.4.orig/xwit.c:174:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KBKey [valueFlowBailoutIncompleteVar] xwit-3.4.orig/xwit.c:292:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWX [valueFlowBailoutIncompleteVar] xwit-3.4.orig/xwit.c:314:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] xwit-3.4.orig/xwit.c:364:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PBaseSize [valueFlowBailoutIncompleteVar] xwit-3.4.orig/xwit.c:388:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BitmapSuccess [valueFlowBailoutIncompleteVar] xwit-3.4.orig/xwit.c:408:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IconPixmapHint [valueFlowBailoutIncompleteVar] xwit-3.4.orig/xwit.c:442:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWBackingStore [valueFlowBailoutIncompleteVar] xwit-3.4.orig/xwit.c:476:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xwit-3.4.orig/xwit.c:598:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xwit-3.4.orig/xwit.c:701:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwit-3.4.orig/xwit.c:927:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xwit-3.4.orig/dsimple.c:124:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwit-3.4.orig/dsimple.c:182:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BitmapOpenFailed [valueFlowBailoutIncompleteVar] xwit-3.4.orig/dsimple.c:201:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BitmapSuccess [valueFlowBailoutIncompleteVar] xwit-3.4.orig/dsimple.c:221:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BitmapSuccess [valueFlowBailoutIncompleteVar] xwit-3.4.orig/dsimple.c:398:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xwit-3.4.orig/dsimple.c:480:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xwit-3.4.orig/dsimple.c:496:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xwit-3.4.orig/dsimple.c:477:12: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] xwit-3.4.orig/dsimple.c:478:12: style: Parameter 'arg0' can be declared as pointer to const [constParameterPointer] xwit-3.4.orig/dsimple.c:478:19: style: Parameter 'arg1' can be declared as pointer to const [constParameterPointer] xwit-3.4.orig/dsimple.c:478:26: style: Parameter 'arg2' can be declared as pointer to const [constParameterPointer] xwit-3.4.orig/dsimple.c:478:33: style: Parameter 'arg3' can be declared as pointer to const [constParameterPointer] xwit-3.4.orig/dsimple.c:478:40: style: Parameter 'arg4' can be declared as pointer to const [constParameterPointer] xwit-3.4.orig/dsimple.c:478:47: style: Parameter 'arg5' can be declared as pointer to const [constParameterPointer] xwit-3.4.orig/dsimple.c:478:54: style: Parameter 'arg6' can be declared as pointer to const [constParameterPointer] xwit-3.4.orig/dsimple.c:493:7: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] xwit-3.4.orig/dsimple.c:494:7: style: Parameter 'arg0' can be declared as pointer to const [constParameterPointer] xwit-3.4.orig/dsimple.c:494:14: style: Parameter 'arg1' can be declared as pointer to const [constParameterPointer] xwit-3.4.orig/dsimple.c:494:21: style: Parameter 'arg2' can be declared as pointer to const [constParameterPointer] xwit-3.4.orig/dsimple.c:494:28: style: Parameter 'arg3' can be declared as pointer to const [constParameterPointer] xwit-3.4.orig/dsimple.c:494:35: style: Parameter 'arg4' can be declared as pointer to const [constParameterPointer] xwit-3.4.orig/dsimple.c:494:42: style: Parameter 'arg5' can be declared as pointer to const [constParameterPointer] xwit-3.4.orig/dsimple.c:494:49: style: Parameter 'arg6' can be declared as pointer to const [constParameterPointer] xwit-3.4.orig/xwit.c:257:8: style: Condition 'status' is always true [knownConditionTrueFalse] xwit-3.4.orig/xwit.c:788:15: style: Condition 'argc<0' is always false [knownConditionTrueFalse] xwit-3.4.orig/xwit.c:782:14: note: Assuming that condition 'argc<=0' is not redundant xwit-3.4.orig/xwit.c:787:6: note: argc is decremented', new value is -1 xwit-3.4.orig/xwit.c:788:15: note: Condition 'argc<0' is always false diff: DONE