2025-11-21 13:02 ftp://ftp.de.debian.org/debian/pool/main/g/gkrellweather/gkrellweather_2.0.8.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --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.57+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: 5374cd3 (2025-11-20 15:35:39 +0100) count: 18 18 elapsed-time: 0.1 0.1 head-timing-info: old-timing-info: head results: gkrellweather-2.0.8/gkrellweather.c:126:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_NUMERIC [valueFlowBailoutIncompleteVar] gkrellweather-2.0.8/gkrellweather.c:276:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] gkrellweather-2.0.8/gkrellweather.c:419:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] gkrellweather-2.0.8/gkrellweather.c:433:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] gkrellweather-2.0.8/gkrellweather.c:447:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timer_ticks [valueFlowBailoutIncompleteVar] gkrellweather-2.0.8/gkrellweather.c:487:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] gkrellweather-2.0.8/gkrellweather.c:499:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] gkrellweather-2.0.8/gkrellweather.c:724:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PREFIX [valueFlowBailoutIncompleteVar] gkrellweather-2.0.8/gkrellweather.c:782:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_POS_TOP [valueFlowBailoutIncompleteVar] gkrellweather-2.0.8/gkrellweather.c:980:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] gkrellweather-2.0.8/gkrellweather.c:1007:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] gkrellweather-2.0.8/gkrellweather.c:677:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellweather-2.0.8/gkrellweather.c:697:13: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellweather-2.0.8/gkrellweather.c:701:13: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gkrellweather-2.0.8/gkrellweather.c:119:34: style: Variable 'scale' can be declared as const array [constVariable] gkrellweather-2.0.8/gkrellweather.c:491:49: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'panel_press' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellweather-2.0.8/gkrellweather.c:640:51: note: You might need to cast the function pointer here gkrellweather-2.0.8/gkrellweather.c:491:49: note: Parameter 'ev' can be declared as pointer to const gkrellweather-2.0.8/gkrellweather.c:672:25: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'load_air_config' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrellweather-2.0.8/gkrellweather.c:959:5: note: You might need to cast the function pointer here gkrellweather-2.0.8/gkrellweather.c:672:25: note: Parameter 'arg' can be declared as pointer to const gkrellweather-2.0.8/gkrellweather.c:254:11: style: Variable 'w' is assigned a value that is never used. [unreadVariable] diff: DONE