2025-05-08 09:55 ftp://ftp.de.debian.org/debian/pool/main/t/texlive-lang/texlive-lang_2024.20250309.orig.tar.xz 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: ebc80c0 (2025-05-07 18:59:31 +0200) count: 26 26 elapsed-time: 5.1 5.6 head-timing-info: old-timing-info: head results: texlive-lang-2024.20250309/texmf-dist/doc/cstex/cspsfonts-gen/kernoff.c:15:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] texlive-lang-2024.20250309/texmf-dist/doc/cstex/cspsfonts-gen/kernoff.c:34:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] texlive-lang-2024.20250309/texmf-dist/source/latex/bengali/beng.c:83:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] texlive-lang-2024.20250309/texmf-dist/source/latex/bengali/beng.c:120:40: warning: Obsolete function 'gets' called. It is recommended to use 'fgets' or 'gets_s' instead. [prohibitedgetsCalled] texlive-lang-2024.20250309/texmf-dist/source/latex/bengali/beng.c:122:14: warning: Obsolete function 'gets' called. It is recommended to use 'fgets' or 'gets_s' instead. [prohibitedgetsCalled] texlive-lang-2024.20250309/texmf-dist/source/latex/bengali/beng.c:85:7: style: Parameter 'argv' can be declared as const array [constParameter] texlive-lang-2024.20250309/texmf-dist/source/latex/bengali/beng.c:235:23: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] texlive-lang-2024.20250309/texmf-dist/source/latex/bengali/beng.c:248:34: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] texlive-lang-2024.20250309/texmf-dist/source/latex/bengali/beng.c:249:13: style: Variable 'x' can be declared as pointer to const [constVariablePointer] texlive-lang-2024.20250309/texmf-dist/source/latex/bengali/beng.c:297:18: style: Parameter 's' can be declared as pointer to const [constParameterPointer] texlive-lang-2024.20250309/texmf-dist/source/latex/bengali/beng.c:311:50: warning: Uninitialized variable: err_str [uninitvar] texlive-lang-2024.20250309/texmf-dist/source/latex/bengali/beng.c:299:17: note: Assuming condition is false texlive-lang-2024.20250309/texmf-dist/source/latex/bengali/beng.c:311:50: note: Uninitialized variable: err_str texlive-lang-2024.20250309/texmf-dist/source/latex/bengali/beng.c:267:7: style: Unused variable: p [unusedVariable] texlive-lang-2024.20250309/texmf-dist/source/latex/bengali/beng.c:480:39: style: Variable 'd' is assigned a value that is never used. [unreadVariable] texlive-lang-2024.20250309/texmf-dist/source/latex/bengali/beng.c:327:16: style: Unused variable: i [unusedVariable] texlive-lang-2024.20250309/texmf-dist/source/latex/bengali/beng.c:758:3: style: Variable 'c' is assigned a value that is never used. [unreadVariable] texlive-lang-2024.20250309/texmf-dist/source/latex/bengali/beng.c:739:8: style: Unused variable: j [unusedVariable] texlive-lang-2024.20250309/texmf-dist/source/latex/bengali/beng.c:739:10: style: Unused variable: k [unusedVariable] texlive-lang-2024.20250309/texmf-dist/source/latex/bengali/beng.c:739:22: style: Unused variable: p [unusedVariable] texlive-lang-2024.20250309/texmf-dist/source/latex/sanskrit/skt.c:157:12: style: Parameter 'argv' can be declared as const array [constParameter] texlive-lang-2024.20250309/texmf-dist/source/latex/sanskrit/skt.c:317:23: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] texlive-lang-2024.20250309/texmf-dist/source/latex/sanskrit/skt.c:333:34: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] texlive-lang-2024.20250309/texmf-dist/source/latex/sanskrit/skt.c:334:13: style: Variable 'x' can be declared as pointer to const [constVariablePointer] texlive-lang-2024.20250309/texmf-dist/source/latex/sanskrit/skt.c:416:18: style: Parameter 's' can be declared as pointer to const [constParameterPointer] texlive-lang-2024.20250309/texmf-dist/source/latex/sanskrit/skt.c:2251:15: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] texlive-lang-2024.20250309/texmf-dist/source/latex/sanskrit/skt.c:2314:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] texlive-lang-2024.20250309/texmf-dist/source/latex/sanskrit/skt.c:431:50: warning: Uninitialized variable: err_str [uninitvar] texlive-lang-2024.20250309/texmf-dist/source/latex/sanskrit/skt.c:418:17: note: Assuming condition is false texlive-lang-2024.20250309/texmf-dist/source/latex/sanskrit/skt.c:431:50: note: Uninitialized variable: err_str diff: DONE