2025-05-05 02:10 ftp://ftp.de.debian.org/debian/pool/main/i/indi-shelyak/indi-shelyak_1.0+20221222171819.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 -j1 platform: Linux-6.8.0-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: 88ef81e (2025-05-02 08:42:38 +0200) count: 17 17 elapsed-time: 0.1 0.1 head-timing-info: old-timing-info: head results: indi-shelyak-1.0+20221222171819/indi_shelyakeshel_spectrograph.cpp:78:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISS_OFF [valueFlowBailoutIncompleteVar] indi-shelyak-1.0+20221222171819/indi_shelyakeshel_spectrograph.cpp:144:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXRBUF [valueFlowBailoutIncompleteVar] indi-shelyak-1.0+20221222171819/indi_shelyakeshel_spectrograph.cpp:169:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPS_OK [valueFlowBailoutIncompleteVar] indi-shelyak-1.0+20221222171819/indi_shelyakeshel_spectrograph.cpp:213:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPS_OK [valueFlowBailoutIncompleteVar] indi-shelyak-1.0+20221222171819/indi_shelyakeshel_spectrograph.cpp:231:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TTY_OK [valueFlowBailoutIncompleteVar] indi-shelyak-1.0+20221222171819/indi_shelyakeshel_spectrograph.cpp:144:10: style: The scope of the variable 'errMsg' can be reduced. [variableScope] indi-shelyak-1.0+20221222171819/indi_shelyakeshel_spectrograph.cpp:172:26: style: Variable 's' can be declared as pointer to const [constVariablePointer] indi-shelyak-1.0+20221222171819/indi_shelyakspox_spectrograph.cpp:80:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISS_OFF [valueFlowBailoutIncompleteVar] indi-shelyak-1.0+20221222171819/indi_shelyakspox_spectrograph.cpp:125:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXRBUF [valueFlowBailoutIncompleteVar] indi-shelyak-1.0+20221222171819/indi_shelyakspox_spectrograph.cpp:242:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_SESSION [valueFlowBailoutIncompleteVar] indi-shelyak-1.0+20221222171819/indi_shelyakspox_spectrograph.cpp:254:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPS_OK [valueFlowBailoutIncompleteVar] indi-shelyak-1.0+20221222171819/indi_shelyakspox_spectrograph.cpp:287:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPS_OK [valueFlowBailoutIncompleteVar] indi-shelyak-1.0+20221222171819/indi_shelyakspox_spectrograph.cpp:303:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TTY_OK [valueFlowBailoutIncompleteVar] indi-shelyak-1.0+20221222171819/indi_shelyakspox_spectrograph.cpp:332:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_SESSION [valueFlowBailoutIncompleteVar] indi-shelyak-1.0+20221222171819/indi_shelyakspox_spectrograph.cpp:133:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] indi-shelyak-1.0+20221222171819/indi_shelyakspox_spectrograph.cpp:324:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] indi-shelyak-1.0+20221222171819/indi_shelyakspox_spectrograph.cpp:125:10: style: The scope of the variable 'errMsg' can be reduced. [variableScope] diff: DONE