2026-05-05 00:37 ftp://ftp.de.debian.org/debian/pool/main/s/shine/shine_3.1.1.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-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: 519958a (2026-05-04 15:03:10 +0200) count: 39 38 elapsed-time: 1.3 1.1 head-timing-info: old-timing-info: head results: shine-3.1.1/src/bin/main.c:52:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] shine-3.1.1/src/bin/main.c:99:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JOINT_STEREO [valueFlowBailoutIncompleteVar] shine-3.1.1/src/bin/main.c:153:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHINE_MAX_SAMPLES [valueFlowBailoutIncompleteVar] shine-3.1.1/src/bin/main.c:44:33: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] shine-3.1.1/src/bin/main.c:50:18: style: Parameter 's' can be declared as pointer to const [constParameterPointer] shine-3.1.1/src/bin/main.c:134:16: style: Variable 'version_names' can be declared as const array [constVariable] shine-3.1.1/src/bin/main.c:135:16: style: Variable 'mode_names' can be declared as const array [constVariable] shine-3.1.1/src/bin/main.c:136:16: style: Variable 'demp_names' can be declared as const array [constVariable] shine-3.1.1/src/bin/wave.c:59:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] shine-3.1.1/src/bin/wave.c:107:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] shine-3.1.1/src/bin/wave.c:61:9: style: Condition '!found' is always true [knownConditionTrueFalse] shine-3.1.1/src/bin/wave.c:55:25: note: Assignment 'found=0', assigned value is 0 shine-3.1.1/src/bin/wave.c:61:9: note: Condition '!found' is always true shine-3.1.1/src/bin/wave.c:239:49: style:inconclusive: Function 'wave_get' argument 3 names different: declaration 'samp_per_frame' definition 'samp_per_pass'. [funcArgNamesDifferent] shine-3.1.1/src/bin/wave.h:15:50: note: Function 'wave_get' argument 3 names different: declaration 'samp_per_frame' definition 'samp_per_pass'. shine-3.1.1/src/bin/wave.c:239:49: note: Function 'wave_get' argument 3 names different: declaration 'samp_per_frame' definition 'samp_per_pass'. shine-3.1.1/src/bin/wave.c:99:16: style: Variable 'channel_mappings' can be declared as const array [constVariable] shine-3.1.1/src/lib/bitstream.c:76:39: style: Parameter 'bs' can be declared as pointer to const [constParameterPointer] shine-3.1.1/src/lib/l3bitstream.c:39:18: style: Variable 'pr' can be declared as pointer to const [constVariablePointer] shine-3.1.1/src/lib/l3bitstream.c:125:18: style: Variable 'gi' can be declared as pointer to const [constVariablePointer] shine-3.1.1/src/lib/l3bitstream.c:151:64: style: Parameter 'ix' can be declared as pointer to const [constParameterPointer] shine-3.1.1/src/lib/l3loop.c:171:36: style: Parameter 'l3_xmin' can be declared as pointer to const [constParameterPointer] shine-3.1.1/src/lib/l3loop.c:285:12: style: Variable 'gi' can be declared as pointer to const [constVariablePointer] shine-3.1.1/src/lib/l3loop.c:316:25: style: Parameter 'cod_info' can be declared as pointer to const [constParameterPointer] shine-3.1.1/src/lib/l3loop.c:423:31: style: Parameter 'ix' can be declared as const array [constParameter] shine-3.1.1/src/lib/l3loop.c:440:23: style: Parameter 'ix' can be declared as const array [constParameter] shine-3.1.1/src/lib/l3loop.c:469:25: style: Parameter 'ix' can be declared as const array [constParameter] shine-3.1.1/src/lib/l3loop.c:719:50: style: Parameter 'gi' can be declared as pointer to const [constParameterPointer] shine-3.1.1/src/lib/l3loop.c:738:19: style: Parameter 'ix' can be declared as const array [constParameter] shine-3.1.1/src/lib/l3loop.c:52:19: style: Variable 'c1bits' is assigned a value that is never used. [unreadVariable] shine-3.1.1/src/lib/l3loop.c:55:20: style: Variable 'bvbits' is assigned a value that is never used. [unreadVariable] shine-3.1.1/src/lib/l3loop.c:197:13: style: Variable 'scfsi_set' is assigned a value that is never used. [unreadVariable] shine-3.1.1/src/lib/l3loop.c:264:21: style: Variable 'scfsi_set' is assigned a value that is never used. [unreadVariable] shine-3.1.1/src/lib/l3mdct.c:33:49: style:inconclusive: Function 'shine_mdct_initialise' argument 1 names different: declaration '' definition 'config'. [funcArgNamesDifferentUnnamed] shine-3.1.1/src/lib/l3subband.c:50:76: style:inconclusive: Function 'shine_window_filter_subband' argument 3 names different: declaration 'k' definition 'ch'. [funcArgNamesDifferent] shine-3.1.1/src/lib/l3subband.h:7:76: note: Function 'shine_window_filter_subband' argument 3 names different: declaration 'k' definition 'ch'. shine-3.1.1/src/lib/l3subband.c:50:76: note: Function 'shine_window_filter_subband' argument 3 names different: declaration 'k' definition 'ch'. shine-3.1.1/src/lib/layer3.c:82:55: style:inconclusive: Function 'shine_initialise' argument 1 names different: declaration 'config' definition 'pub_config'. [funcArgNamesDifferent] shine-3.1.1/src/lib/layer3.h:127:42: note: Function 'shine_initialise' argument 1 names different: declaration 'config' definition 'pub_config'. shine-3.1.1/src/lib/layer3.c:82:55: note: Function 'shine_initialise' argument 1 names different: declaration 'config' definition 'pub_config'. shine-3.1.1/src/lib/layer3.c:175:57: style:inconclusive: Function 'shine_encode_buffer' argument 1 names different: declaration 's' definition 'config'. [funcArgNamesDifferent] shine-3.1.1/src/lib/layer3.h:142:44: note: Function 'shine_encode_buffer' argument 1 names different: declaration 's' definition 'config'. shine-3.1.1/src/lib/layer3.c:175:57: note: Function 'shine_encode_buffer' argument 1 names different: declaration 's' definition 'config'. shine-3.1.1/src/lib/layer3.c:184:69: style:inconclusive: Function 'shine_encode_buffer_interleaved' argument 1 names different: declaration 's' definition 'config'. [funcArgNamesDifferent] shine-3.1.1/src/lib/layer3.h:151:56: note: Function 'shine_encode_buffer_interleaved' argument 1 names different: declaration 's' definition 'config'. shine-3.1.1/src/lib/layer3.c:184:69: note: Function 'shine_encode_buffer_interleaved' argument 1 names different: declaration 's' definition 'config'. shine-3.1.1/src/lib/layer3.c:193:49: style:inconclusive: Function 'shine_flush' argument 1 names different: declaration 's' definition 'config'. [funcArgNamesDifferent] shine-3.1.1/src/lib/layer3.h:155:36: note: Function 'shine_flush' argument 1 names different: declaration 's' definition 'config'. shine-3.1.1/src/lib/layer3.c:193:49: note: Function 'shine_flush' argument 1 names different: declaration 's' definition 'config'. shine-3.1.1/src/lib/layer3.c:201:39: style:inconclusive: Function 'shine_close' argument 1 names different: declaration 's' definition 'config'. [funcArgNamesDifferent] shine-3.1.1/src/lib/layer3.h:159:26: note: Function 'shine_close' argument 1 names different: declaration 's' definition 'config'. shine-3.1.1/src/lib/layer3.c:201:39: note: Function 'shine_close' argument 1 names different: declaration 's' definition 'config'. shine-3.1.1/src/lib/reservoir.c:119:20: style: Local variable 'gi' shadows outer variable [shadowVariable] shine-3.1.1/src/lib/reservoir.c:76:12: note: Shadowed declaration shine-3.1.1/src/lib/reservoir.c:119:20: note: Shadow variable shine-3.1.1/src/lib/reservoir.c:20:39: style: Parameter 'pe' can be declared as pointer to const [constParameterPointer] shine-3.1.1/src/lib/reservoir.c:60:32: style: Parameter 'gi' can be declared as pointer to const [constParameterPointer] diff: head shine-3.1.1/src/lib/l3mdct.c:33:49: style:inconclusive: Function 'shine_mdct_initialise' argument 1 names different: declaration '' definition 'config'. [funcArgNamesDifferentUnnamed] DONE