2025-07-11 07:21 ftp://ftp.de.debian.org/debian/pool/main/r/r-bioc-makecdfenv/r-bioc-makecdfenv_1.82.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=zlib --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 -j3 platform: Linux-6.8.0-63-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 8f3d36a (2025-07-08 11:07:56 +0200) count: 18 18 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: makecdfenv/src/read_cdffile.c:396:20: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] makecdfenv/src/read_cdffile.c:399:20: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] makecdfenv/src/read_cdffile.c:403:22: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] makecdfenv/src/read_cdffile.c:650:23: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] makecdfenv/src/read_cdffile.c:654:23: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] makecdfenv/src/read_cdffile.c:669:21: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] makecdfenv/src/read_cdffile.c:233:13: style: Condition 'retour==NULL' is always false [knownConditionTrueFalse] makecdfenv/src/read_cdffile.c:243:65: style: Condition 'fillCharFromLine(retour,nCols,indexVal,cdffile,buffer)==0' is always false [knownConditionTrueFalse] makecdfenv/src/read_cdffile.c:243:22: note: Calling function 'fillCharFromLine' returns 1 makecdfenv/src/read_cdffile.c:243:65: note: Condition 'fillCharFromLine(retour,nCols,indexVal,cdffile,buffer)==0' is always false makecdfenv/src/read_cdffile.c:389:58: style:inconclusive: Function 'fillCharFromLine' argument 3 names different: declaration 'index' definition 'indexVal'. [funcArgNamesDifferent] makecdfenv/src/read_cdffile.c:110:58: note: Function 'fillCharFromLine' argument 3 names different: declaration 'index' definition 'indexVal'. makecdfenv/src/read_cdffile.c:389:58: note: Function 'fillCharFromLine' argument 3 names different: declaration 'index' definition 'indexVal'. makecdfenv/src/read_cdffile.c:422:66: style:inconclusive: Function 'goToUnit' argument 3 names different: declaration 'retour' definition 'buffy'. [funcArgNamesDifferent] makecdfenv/src/read_cdffile.c:82:66: note: Function 'goToUnit' argument 3 names different: declaration 'retour' definition 'buffy'. makecdfenv/src/read_cdffile.c:422:66: note: Function 'goToUnit' argument 3 names different: declaration 'retour' definition 'buffy'. makecdfenv/src/read_cdffile.c:463:78: style:inconclusive: Function 'goToUnitStartingWith' argument 3 names different: declaration 'retour' definition 'buffy'. [funcArgNamesDifferent] makecdfenv/src/read_cdffile.c:96:11: note: Function 'goToUnitStartingWith' argument 3 names different: declaration 'retour' definition 'buffy'. makecdfenv/src/read_cdffile.c:463:78: note: Function 'goToUnitStartingWith' argument 3 names different: declaration 'retour' definition 'buffy'. makecdfenv/src/read_cdffile.c:511:71: style:inconclusive: Function 'getProperty' argument 3 names different: declaration 'retour' definition 'buffy'. [funcArgNamesDifferent] makecdfenv/src/read_cdffile.c:101:71: note: Function 'getProperty' argument 3 names different: declaration 'retour' definition 'buffy'. makecdfenv/src/read_cdffile.c:511:71: note: Function 'getProperty' argument 3 names different: declaration 'retour' definition 'buffy'. makecdfenv/src/read_cdffile.c:308:9: style: Variable 'cdffileHEADER' can be declared as pointer to const [constVariablePointer] makecdfenv/src/read_cdffile.c:389:35: style: Parameter 'retour' can be declared as pointer to const [constParameterPointer] makecdfenv/src/read_cdffile.c:514:25: style: Variable 'rval' can be declared as pointer to const [constVariablePointer] makecdfenv/src/read_cdffile.c:386:10: warning: Uninitialized variable: res [uninitvar] makecdfenv/src/read_cdffile.c:370:26: note: Assuming condition is true makecdfenv/src/read_cdffile.c:386:10: note: Uninitialized variable: res makecdfenv/src/read_cdffile.c:166:7: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] makecdfenv/src/read_cdffile.c:614:10: style: Variable 'typeQC' is assigned a value that is never used. [unreadVariable] diff: DONE