2025-08-31 03:33 ftp://ftp.de.debian.org/debian/pool/main/g/gmotionlive/gmotionlive_1.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.12.41+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 2ee39fe (2025-08-30 22:07:31 +0200) count: 9 9 elapsed-time: 0.1 0.1 head-timing-info: old-timing-info: head results: gmotionlive-1.0/gmotionlive.c:67:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_NO_SEPARATOR [valueFlowBailoutIncompleteVar] gmotionlive-1.0/gmotionlive.c:209:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNOME_VFS_OK [valueFlowBailoutIncompleteVar] gmotionlive-1.0/gmotionlive.c:220:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNOME_VFS_OK [valueFlowBailoutIncompleteVar] gmotionlive-1.0/gmotionlive.c:259:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_NO_SEPARATOR [valueFlowBailoutIncompleteVar] gmotionlive-1.0/gmotionlive.c:284:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] gmotionlive-1.0/gmotionlive.c:301:11: style: Condition 'argc>=2' is always true [knownConditionTrueFalse] gmotionlive-1.0/gmotionlive.c:276:11: note: Assuming that condition 'argc<2' is not redundant gmotionlive-1.0/gmotionlive.c:301:11: note: Condition 'argc>=2' is always true gmotionlive-1.0/gmotionlive.c:238:35: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'close_application' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmotionlive-1.0/gmotionlive.c:294:2: note: You might need to cast the function pointer here gmotionlive-1.0/gmotionlive.c:238:35: note: Parameter 'widget' can be declared as pointer to const gmotionlive-1.0/gmotionlive.c:238:53: style: Parameter 'event' can be declared as pointer to const. However it seems that 'close_application' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmotionlive-1.0/gmotionlive.c:294:2: note: You might need to cast the function pointer here gmotionlive-1.0/gmotionlive.c:238:53: note: Parameter 'event' can be declared as pointer to const gmotionlive-1.0/gmotionlive.c:238:69: style: Parameter 'data' can be declared as pointer to const. However it seems that 'close_application' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gmotionlive-1.0/gmotionlive.c:294:2: note: You might need to cast the function pointer here gmotionlive-1.0/gmotionlive.c:238:69: note: Parameter 'data' can be declared as pointer to const diff: DONE