2024-04-15 07:50 ftp://ftp.de.debian.org/debian/pool/main/c/cheesecutter/cheesecutter_2.9+git20211011.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 -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-102-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.55 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.13.0 head-info: 01c049d (2024-04-13 21:28:19 +0200) count: 82 85 elapsed-time: 7.3 6.7 head-timing-info: old-timing-info: head results: CheeseCutter-master/src/asm/_std.c:22:8: style: Variable 'env_var' can be declared as pointer to const [constVariablePointer] CheeseCutter-master/src/asm/acme.c:134:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] CheeseCutter-master/src/asm/alu.c:282:23: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] CheeseCutter-master/src/asm/basics.c:96:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] CheeseCutter-master/src/asm/dynabuf.c:62:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] CheeseCutter-master/src/asm/dynabuf.c:59:4: error: Memory leak: db.buffer [memleak] CheeseCutter-master/src/asm/dynabuf.c:74:35: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] CheeseCutter-master/src/asm/flow.c:253:24: style: Condition 'skip_or_parse_block(parse_first)' is always false [knownConditionTrueFalse] CheeseCutter-master/src/asm/flow.c:253:24: note: Calling function 'skip_or_parse_block' returns 0 CheeseCutter-master/src/asm/flow.c:253:24: note: Condition 'skip_or_parse_block(parse_first)' is always false CheeseCutter-master/src/asm/global.c:383:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] CheeseCutter-master/src/asm/input.c:90:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] CheeseCutter-master/src/asm/input.c:120:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] CheeseCutter-master/src/asm/input.c:455:31: style:inconclusive: Function 'Input_read_filename' argument 1 names different: declaration 'library_allowed' definition 'allow_library'. [funcArgNamesDifferent] CheeseCutter-master/src/asm/input.h:113:38: note: Function 'Input_read_filename' argument 1 names different: declaration 'library_allowed' definition 'allow_library'. CheeseCutter-master/src/asm/input.c:455:31: note: Function 'Input_read_filename' argument 1 names different: declaration 'library_allowed' definition 'allow_library'. CheeseCutter-master/src/asm/input.c:456:8: style: Variable 'lib_prefix' can be declared as pointer to const [constVariablePointer] CheeseCutter-master/src/asm/label.c:32:11: style: Variable 'label' can be declared as pointer to const [constVariablePointer] CheeseCutter-master/src/asm/macro.c:140:18: style: Variable 'original_macro' can be declared as pointer to const [constVariablePointer] CheeseCutter-master/src/asm/mnemo.c:477:55: style: Parameter 'argument' can be declared as pointer to const [constParameterPointer] CheeseCutter-master/src/asm/output.c:164:21: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] CheeseCutter-master/src/asm/output.c:173:21: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] CheeseCutter-master/src/asm/output.c:174:21: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] CheeseCutter-master/src/asm/tree.c:66:71: style: Parameter 'dyna_buf' can be declared as pointer to const [constParameterPointer] CheeseCutter-master/src/audio/resid/residctrl.cpp:133:10: style: Variable 'os' is assigned a value that is never used. [unreadVariable] CheeseCutter-master/src/audio/resid/residctrl.cpp:135:15: style: Variable 'badline' is assigned a value that is never used. [unreadVariable] CheeseCutter-master/src/resid-fp/envelopefp.h:50:8: style:inconclusive: Technically the member function 'EnvelopeGeneratorFP::readENV' can be const. [functionConst] CheeseCutter-master/src/resid-fp/envelopefp.cpp:264:27: note: Technically the member function 'EnvelopeGeneratorFP::readENV' can be const. CheeseCutter-master/src/resid-fp/envelopefp.h:50:8: note: Technically the member function 'EnvelopeGeneratorFP::readENV' can be const. CheeseCutter-master/src/resid-fp/envelopefp.h:52:16: style:inconclusive: Technically the member function 'EnvelopeGeneratorFP::output' can be const. [functionConst] CheeseCutter-master/src/resid-fp/envelopefp.h:175:28: note: Technically the member function 'EnvelopeGeneratorFP::output' can be const. CheeseCutter-master/src/resid-fp/envelopefp.h:52:16: note: Technically the member function 'EnvelopeGeneratorFP::output' can be const. CheeseCutter-master/src/resid-fp/envelopefp.h:55:8: performance:inconclusive: Technically the member function 'EnvelopeGeneratorFP::set_nonlinearity' can be static (but you may consider moving to unnamed namespace). [functionStatic] CheeseCutter-master/src/resid-fp/envelopefp.cpp:23:27: note: Technically the member function 'EnvelopeGeneratorFP::set_nonlinearity' can be static (but you may consider moving to unnamed namespace). CheeseCutter-master/src/resid-fp/envelopefp.h:55:8: note: Technically the member function 'EnvelopeGeneratorFP::set_nonlinearity' can be static (but you may consider moving to unnamed namespace). CheeseCutter-master/src/resid-fp/wavefp.h:44:15: style:inconclusive: Technically the member function 'WaveformGeneratorFP::synchronize' can be const. [functionConst] CheeseCutter-master/src/resid-fp/wavefp.h:135:27: note: Technically the member function 'WaveformGeneratorFP::synchronize' can be const. CheeseCutter-master/src/resid-fp/wavefp.h:44:15: note: Technically the member function 'WaveformGeneratorFP::synchronize' can be const. CheeseCutter-master/src/resid-fp/wavefp.h:54:16: style:inconclusive: Technically the member function 'WaveformGeneratorFP::output' can be const. [functionConst] CheeseCutter-master/src/resid-fp/wavefp.h:149:28: note: Technically the member function 'WaveformGeneratorFP::output' can be const. CheeseCutter-master/src/resid-fp/wavefp.h:54:16: note: Technically the member function 'WaveformGeneratorFP::output' can be const. CheeseCutter-master/src/resid-fp/filterfp.h:151:9: style:inconclusive: Technically the member function 'FilterFP::type3_w0' can be const. [functionConst] CheeseCutter-master/src/resid-fp/filterfp.h:244:17: note: Technically the member function 'FilterFP::type3_w0' can be const. CheeseCutter-master/src/resid-fp/filterfp.h:151:9: note: Technically the member function 'FilterFP::type3_w0' can be const. CheeseCutter-master/src/resid-fp/filterfp.h:152:9: style:inconclusive: Technically the member function 'FilterFP::type4_w0' can be const. [functionConst] CheeseCutter-master/src/resid-fp/filterfp.h:259:17: note: Technically the member function 'FilterFP::type4_w0' can be const. CheeseCutter-master/src/resid-fp/filterfp.h:152:9: note: Technically the member function 'FilterFP::type4_w0' can be const. CheeseCutter-master/src/resid-fp/filterfp.h:155:9: style:inconclusive: Technically the member function 'FilterFP::waveshaper1' can be const. [functionConst] CheeseCutter-master/src/resid-fp/filterfp.h:265:24: note: Technically the member function 'FilterFP::waveshaper1' can be const. CheeseCutter-master/src/resid-fp/filterfp.h:155:9: note: Technically the member function 'FilterFP::waveshaper1' can be const. CheeseCutter-master/src/resid-fp/extfiltfp.h:51:16: style:inconclusive: Technically the member function 'ExternalFilterFP::output' can be const. [functionConst] CheeseCutter-master/src/resid-fp/extfiltfp.h:83:25: note: Technically the member function 'ExternalFilterFP::output' can be const. CheeseCutter-master/src/resid-fp/extfiltfp.h:51:16: note: Technically the member function 'ExternalFilterFP::output' can be const. CheeseCutter-master/src/resid-fp/wavefp.h:135:60: style:inconclusive: Function 'synchronize' argument 1 names different: declaration 'dest' definition 'sync_dest'. [funcArgNamesDifferent] CheeseCutter-master/src/resid-fp/wavefp.h:44:48: note: Function 'synchronize' argument 1 names different: declaration 'dest' definition 'sync_dest'. CheeseCutter-master/src/resid-fp/wavefp.h:135:60: note: Function 'synchronize' argument 1 names different: declaration 'dest' definition 'sync_dest'. CheeseCutter-master/src/resid-fp/wavefp.h:135:92: style:inconclusive: Function 'synchronize' argument 2 names different: declaration 'source' definition 'sync_source'. [funcArgNamesDifferent] CheeseCutter-master/src/resid-fp/wavefp.h:44:75: note: Function 'synchronize' argument 2 names different: declaration 'source' definition 'sync_source'. CheeseCutter-master/src/resid-fp/wavefp.h:135:92: note: Function 'synchronize' argument 2 names different: declaration 'source' definition 'sync_source'. CheeseCutter-master/src/resid-fp/wavefp.h:149:56: style:inconclusive: Function 'output' argument 1 names different: declaration 'source' definition 'sync_source'. [funcArgNamesDifferent] CheeseCutter-master/src/resid-fp/wavefp.h:54:44: note: Function 'output' argument 1 names different: declaration 'source' definition 'sync_source'. CheeseCutter-master/src/resid-fp/wavefp.h:149:56: note: Function 'output' argument 1 names different: declaration 'source' definition 'sync_source'. CheeseCutter-master/src/resid-fp/envelopefp.cpp:237:52: style:inconclusive: Function 'update_rate_period' argument 1 names different: declaration 'period' definition 'newperiod'. [funcArgNamesDifferent] CheeseCutter-master/src/resid-fp/envelopefp.h:56:33: note: Function 'update_rate_period' argument 1 names different: declaration 'period' definition 'newperiod'. CheeseCutter-master/src/resid-fp/envelopefp.cpp:237:52: note: Function 'update_rate_period' argument 1 names different: declaration 'period' definition 'newperiod'. CheeseCutter-master/src/resid-fp/wavefp.h:135:92: style: Parameter 'sync_source' can be declared as reference to const [constParameterReference] CheeseCutter-master/src/resid-fp/wavefp.h:149:56: style: Parameter 'sync_source' can be declared as reference to const [constParameterReference] CheeseCutter-master/src/resid-fp/potfp.h:28:8: performance:inconclusive: Technically the member function 'PotentiometerFP::readPOT' can be static (but you may consider moving to unnamed namespace). [functionStatic] CheeseCutter-master/src/resid-fp/potfp.cpp:22:23: note: Technically the member function 'PotentiometerFP::readPOT' can be static (but you may consider moving to unnamed namespace). CheeseCutter-master/src/resid-fp/potfp.h:28:8: note: Technically the member function 'PotentiometerFP::readPOT' can be static (but you may consider moving to unnamed namespace). CheeseCutter-master/src/resid-fp/sidfp.cpp:297:25: style: The scope of the variable 'temp' can be reduced. [variableScope] CheeseCutter-master/src/resid-fp/sidfp.cpp:43:74: style:inconclusive: Function 'kinked_dac' argument 3 names different: declaration 'bits' definition 'max'. [funcArgNamesDifferent] CheeseCutter-master/src/resid-fp/sidfp.h:35:76: note: Function 'kinked_dac' argument 3 names different: declaration 'bits' definition 'max'. CheeseCutter-master/src/resid-fp/sidfp.cpp:43:74: note: Function 'kinked_dac' argument 3 names different: declaration 'bits' definition 'max'. CheeseCutter-master/src/resid-fp/voicefp.cpp:66:66: style:inconclusive: Function 'writeCONTROL_REG' argument 2 names different: declaration 'value' definition 'control'. [funcArgNamesDifferent] CheeseCutter-master/src/resid-fp/voicefp.h:36:59: note: Function 'writeCONTROL_REG' argument 2 names different: declaration 'value' definition 'control'. CheeseCutter-master/src/resid-fp/voicefp.cpp:66:66: note: Function 'writeCONTROL_REG' argument 2 names different: declaration 'value' definition 'control'. CheeseCutter-master/src/resid-fp/wavefp.h:58:9: style:inconclusive: Technically the member function 'WaveformGeneratorFP::outputN___' can be const. [functionConst] CheeseCutter-master/src/resid-fp/wavefp.cpp:328:28: note: Technically the member function 'WaveformGeneratorFP::outputN___' can be const. CheeseCutter-master/src/resid-fp/wavefp.h:58:9: note: Technically the member function 'WaveformGeneratorFP::outputN___' can be const. CheeseCutter-master/src/resid-fp/wavefp.h:59:8: performance:inconclusive: Technically the member function 'WaveformGeneratorFP::set_nonlinearity' can be static (but you may consider moving to unnamed namespace). [functionStatic] CheeseCutter-master/src/resid-fp/wavefp.cpp:192:27: note: Technically the member function 'WaveformGeneratorFP::set_nonlinearity' can be static (but you may consider moving to unnamed namespace). CheeseCutter-master/src/resid-fp/wavefp.h:59:8: note: Technically the member function 'WaveformGeneratorFP::set_nonlinearity' can be static (but you may consider moving to unnamed namespace). CheeseCutter-master/src/resid-fp/wavefp.h:61:8: style:inconclusive: Technically the member function 'WaveformGeneratorFP::calculate_waveform_sample' can be const. [functionConst] CheeseCutter-master/src/resid-fp/wavefp.cpp:97:27: note: Technically the member function 'WaveformGeneratorFP::calculate_waveform_sample' can be const. CheeseCutter-master/src/resid-fp/wavefp.h:61:8: note: Technically the member function 'WaveformGeneratorFP::calculate_waveform_sample' can be const. CheeseCutter-master/src/resid-fp/wavefp.cpp:221:45: style:inconclusive: Function 'writeFREQ_LO' argument 1 names different: declaration 'value' definition 'freq_lo'. [funcArgNamesDifferent] CheeseCutter-master/src/resid-fp/wavefp.h:47:26: note: Function 'writeFREQ_LO' argument 1 names different: declaration 'value' definition 'freq_lo'. CheeseCutter-master/src/resid-fp/wavefp.cpp:221:45: note: Function 'writeFREQ_LO' argument 1 names different: declaration 'value' definition 'freq_lo'. CheeseCutter-master/src/resid-fp/wavefp.cpp:226:45: style:inconclusive: Function 'writeFREQ_HI' argument 1 names different: declaration 'value' definition 'freq_hi'. [funcArgNamesDifferent] CheeseCutter-master/src/resid-fp/wavefp.h:48:26: note: Function 'writeFREQ_HI' argument 1 names different: declaration 'value' definition 'freq_hi'. CheeseCutter-master/src/resid-fp/wavefp.cpp:226:45: note: Function 'writeFREQ_HI' argument 1 names different: declaration 'value' definition 'freq_hi'. CheeseCutter-master/src/resid-fp/wavefp.cpp:231:43: style:inconclusive: Function 'writePW_LO' argument 1 names different: declaration 'value' definition 'pw_lo'. [funcArgNamesDifferent] CheeseCutter-master/src/resid-fp/wavefp.h:49:24: note: Function 'writePW_LO' argument 1 names different: declaration 'value' definition 'pw_lo'. CheeseCutter-master/src/resid-fp/wavefp.cpp:231:43: note: Function 'writePW_LO' argument 1 names different: declaration 'value' definition 'pw_lo'. CheeseCutter-master/src/resid-fp/wavefp.cpp:236:43: style:inconclusive: Function 'writePW_HI' argument 1 names different: declaration 'value' definition 'pw_hi'. [funcArgNamesDifferent] CheeseCutter-master/src/resid-fp/wavefp.h:50:24: note: Function 'writePW_HI' argument 1 names different: declaration 'value' definition 'pw_hi'. CheeseCutter-master/src/resid-fp/wavefp.cpp:236:43: note: Function 'writePW_HI' argument 1 names different: declaration 'value' definition 'pw_hi'. CheeseCutter-master/src/resid-fp/wavefp.cpp:241:78: style:inconclusive: Function 'writeCONTROL_REG' argument 2 names different: declaration 'value' definition 'control'. [funcArgNamesDifferent] CheeseCutter-master/src/resid-fp/wavefp.h:51:59: note: Function 'writeCONTROL_REG' argument 2 names different: declaration 'value' definition 'control'. CheeseCutter-master/src/resid-fp/wavefp.cpp:241:78: note: Function 'writeCONTROL_REG' argument 2 names different: declaration 'value' definition 'control'. CheeseCutter-master/src/resid-fp/wavefp.cpp:91:22: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] CheeseCutter-master/src/resid-fp/wavefp.cpp:273:56: style: Parameter 'source' can be declared as reference to const [constParameterReference] CheeseCutter-master/src/resid-fp/wavefp.cpp:50:33: style: Parameter 'o' can be declared as pointer to const [constParameterPointer] CheeseCutter-master/src/resid/envelope.h:51:21: style:inconclusive: Technically the member function 'EnvelopeGenerator::output' can be const. [functionConst] CheeseCutter-master/src/resid/envelope.h:298:25: note: Technically the member function 'EnvelopeGenerator::output' can be const. CheeseCutter-master/src/resid/envelope.h:51:21: note: Technically the member function 'EnvelopeGenerator::output' can be const. CheeseCutter-master/src/resid/extfilt.h:51:29: style:inconclusive: Technically the member function 'ExternalFilter::output' can be const. [functionConst] CheeseCutter-master/src/resid/extfilt.h:157:30: note: Technically the member function 'ExternalFilter::output' can be const. CheeseCutter-master/src/resid/extfilt.h:51:29: note: Technically the member function 'ExternalFilter::output' can be const. CheeseCutter-master/src/resid/filter.h:145:16: style:inconclusive: Technically the member function 'Filter::output' can be const. [functionConst] CheeseCutter-master/src/resid/filter.h:478:22: note: Technically the member function 'Filter::output' can be const. CheeseCutter-master/src/resid/filter.h:145:16: note: Technically the member function 'Filter::output' can be const. CheeseCutter-master/src/resid/filter.h:148:8: style:inconclusive: Technically the member function 'Filter::fc_default' can be const. [functionConst] CheeseCutter-master/src/resid/filter.cpp:288:14: note: Technically the member function 'Filter::fc_default' can be const. CheeseCutter-master/src/resid/filter.h:148:8: note: Technically the member function 'Filter::fc_default' can be const. CheeseCutter-master/src/resid/spline.h:256:3: style: Class 'PointPlotter < int >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CheeseCutter-master/src/resid/filter.cpp:170:31: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] CheeseCutter-master/src/resid/pot.h:28:8: performance:inconclusive: Technically the member function 'Potentiometer::readPOT' can be static (but you may consider moving to unnamed namespace). [functionStatic] CheeseCutter-master/src/resid/pot.cpp:22:21: note: Technically the member function 'Potentiometer::readPOT' can be static (but you may consider moving to unnamed namespace). CheeseCutter-master/src/resid/pot.h:28:8: note: Technically the member function 'Potentiometer::readPOT' can be static (but you may consider moving to unnamed namespace). CheeseCutter-master/src/resid/wave.h:82:22: performance:inconclusive: Technically the member function 'WaveformGenerator::output____' can be static (but you may consider moving to unnamed namespace). [functionStatic] CheeseCutter-master/src/resid/wave.h:244:26: note: Technically the member function 'WaveformGenerator::output____' can be static (but you may consider moving to unnamed namespace). CheeseCutter-master/src/resid/wave.h:82:22: note: Technically the member function 'WaveformGenerator::output____' can be static (but you may consider moving to unnamed namespace). CheeseCutter-master/src/resid/wave.h:83:22: style:inconclusive: Technically the member function 'WaveformGenerator::output___T' can be const. [functionConst] CheeseCutter-master/src/resid/wave.h:257:26: note: Technically the member function 'WaveformGenerator::output___T' can be const. CheeseCutter-master/src/resid/wave.h:83:22: note: Technically the member function 'WaveformGenerator::output___T' can be const. CheeseCutter-master/src/resid/wave.h:84:22: style:inconclusive: Technically the member function 'WaveformGenerator::output__S_' can be const. [functionConst] CheeseCutter-master/src/resid/wave.h:268:26: note: Technically the member function 'WaveformGenerator::output__S_' can be const. CheeseCutter-master/src/resid/wave.h:84:22: note: Technically the member function 'WaveformGenerator::output__S_' can be const. CheeseCutter-master/src/resid/wave.h:86:22: style:inconclusive: Technically the member function 'WaveformGenerator::output_P__' can be const. [functionConst] CheeseCutter-master/src/resid/wave.h:284:26: note: Technically the member function 'WaveformGenerator::output_P__' can be const. CheeseCutter-master/src/resid/wave.h:86:22: note: Technically the member function 'WaveformGenerator::output_P__' can be const. CheeseCutter-master/src/resid/wave.h:90:22: style:inconclusive: Technically the member function 'WaveformGenerator::outputN___' can be const. [functionConst] CheeseCutter-master/src/resid/wave.h:309:26: note: Technically the member function 'WaveformGenerator::outputN___' can be const. CheeseCutter-master/src/resid/wave.h:90:22: note: Technically the member function 'WaveformGenerator::outputN___' can be const. CheeseCutter-master/src/resid/wave.h:91:22: performance:inconclusive: Technically the member function 'WaveformGenerator::outputN__T' can be static (but you may consider moving to unnamed namespace). [functionStatic] CheeseCutter-master/src/resid/wave.h:414:26: note: Technically the member function 'WaveformGenerator::outputN__T' can be static (but you may consider moving to unnamed namespace). CheeseCutter-master/src/resid/wave.h:91:22: note: Technically the member function 'WaveformGenerator::outputN__T' can be static (but you may consider moving to unnamed namespace). CheeseCutter-master/src/resid/wave.h:92:22: performance:inconclusive: Technically the member function 'WaveformGenerator::outputN_S_' can be static (but you may consider moving to unnamed namespace). [functionStatic] CheeseCutter-master/src/resid/wave.h:420:26: note: Technically the member function 'WaveformGenerator::outputN_S_' can be static (but you may consider moving to unnamed namespace). CheeseCutter-master/src/resid/wave.h:92:22: note: Technically the member function 'WaveformGenerator::outputN_S_' can be static (but you may consider moving to unnamed namespace). CheeseCutter-master/src/resid/wave.h:93:22: performance:inconclusive: Technically the member function 'WaveformGenerator::outputN_ST' can be static (but you may consider moving to unnamed namespace). [functionStatic] CheeseCutter-master/src/resid/wave.h:426:26: note: Technically the member function 'WaveformGenerator::outputN_ST' can be static (but you may consider moving to unnamed namespace). CheeseCutter-master/src/resid/wave.h:93:22: note: Technically the member function 'WaveformGenerator::outputN_ST' can be static (but you may consider moving to unnamed namespace). CheeseCutter-master/src/resid/wave.h:94:22: performance:inconclusive: Technically the member function 'WaveformGenerator::outputNP__' can be static (but you may consider moving to unnamed namespace). [functionStatic] CheeseCutter-master/src/resid/wave.h:432:26: note: Technically the member function 'WaveformGenerator::outputNP__' can be static (but you may consider moving to unnamed namespace). CheeseCutter-master/src/resid/wave.h:94:22: note: Technically the member function 'WaveformGenerator::outputNP__' can be static (but you may consider moving to unnamed namespace). CheeseCutter-master/src/resid/wave.h:95:22: performance:inconclusive: Technically the member function 'WaveformGenerator::outputNP_T' can be static (but you may consider moving to unnamed namespace). [functionStatic] CheeseCutter-master/src/resid/wave.h:438:26: note: Technically the member function 'WaveformGenerator::outputNP_T' can be static (but you may consider moving to unnamed namespace). CheeseCutter-master/src/resid/wave.h:95:22: note: Technically the member function 'WaveformGenerator::outputNP_T' can be static (but you may consider moving to unnamed namespace). CheeseCutter-master/src/resid/wave.h:96:22: performance:inconclusive: Technically the member function 'WaveformGenerator::outputNPS_' can be static (but you may consider moving to unnamed namespace). [functionStatic] CheeseCutter-master/src/resid/wave.h:444:26: note: Technically the member function 'WaveformGenerator::outputNPS_' can be static (but you may consider moving to unnamed namespace). CheeseCutter-master/src/resid/wave.h:96:22: note: Technically the member function 'WaveformGenerator::outputNPS_' can be static (but you may consider moving to unnamed namespace). CheeseCutter-master/src/resid/wave.h:97:22: performance:inconclusive: Technically the member function 'WaveformGenerator::outputNPST' can be static (but you may consider moving to unnamed namespace). [functionStatic] CheeseCutter-master/src/resid/wave.h:450:26: note: Technically the member function 'WaveformGenerator::outputNPST' can be static (but you may consider moving to unnamed namespace). CheeseCutter-master/src/resid/wave.h:97:22: note: Technically the member function 'WaveformGenerator::outputNPST' can be static (but you may consider moving to unnamed namespace). CheeseCutter-master/src/resid/sid.cpp:415:25: style: The scope of the variable 'temp' can be reduced. [variableScope] CheeseCutter-master/src/resid/sid.cpp:123:7: style: Local variable 'sample' shadows outer variable [shadowVariable] CheeseCutter-master/src/resid/sid.h:123:10: note: Shadowed declaration CheeseCutter-master/src/resid/sid.cpp:123:7: note: Shadow variable CheeseCutter-master/src/resid/sid.cpp:137:7: style: Local variable 'sample' shadows outer variable [shadowVariable] CheeseCutter-master/src/resid/sid.h:123:10: note: Shadowed declaration CheeseCutter-master/src/resid/sid.cpp:137:7: note: Shadow variable CheeseCutter-master/src/resid/sid.cpp:309:24: style: Variable 'wave' can be declared as reference to const [constVariableReference] CheeseCutter-master/src/resid/sid.cpp:310:24: style: Variable 'envelope' can be declared as reference to const [constVariableReference] CheeseCutter-master/src/resid/sid.cpp:686:26: style: Variable 'wave' can be declared as reference to const [constVariableReference] CheeseCutter-master/src/resid/sid.cpp:910:12: style: Variable 'fir_start' can be declared as pointer to const [constVariablePointer] CheeseCutter-master/src/resid/sid.cpp:992:12: style: Variable 'fir_start' can be declared as pointer to const [constVariablePointer] CheeseCutter-master/src/resid/sid.cpp:993:12: style: Variable 'sample_start' can be declared as pointer to const [constVariablePointer] CheeseCutter-master/src/resid/wave.cpp:26:20: warning: Member variable 'WaveformGenerator::sync_dest' is not initialized in the constructor. [uninitMemberVar] CheeseCutter-master/src/resid/wave.cpp:26:20: warning: Member variable 'WaveformGenerator::waveform' is not initialized in the constructor. [uninitMemberVar] diff: head CheeseCutter-master/src/asm/input.c:120:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] 2.13.0 CheeseCutter-master/src/resid/spline.h:153:15: style: Local variable 'x' shadows outer function [shadowFunction] CheeseCutter-master/src/resid/spline.h:185:8: note: Shadowed declaration CheeseCutter-master/src/resid/spline.h:153:15: note: Shadow variable 2.13.0 CheeseCutter-master/src/resid/spline.h:154:12: style: Local variable 'y' shadows outer function [shadowFunction] CheeseCutter-master/src/resid/spline.h:192:8: note: Shadowed declaration CheeseCutter-master/src/resid/spline.h:154:12: note: Shadow variable 2.13.0 CheeseCutter-master/src/resid/spline.h:171:10: style: Local variable 'y' shadows outer function [shadowFunction] CheeseCutter-master/src/resid/spline.h:192:8: note: Shadowed declaration CheeseCutter-master/src/resid/spline.h:171:10: note: Shadow variable 2.13.0 CheeseCutter-master/src/resid/spline.h:177:15: style: Local variable 'x' shadows outer function [shadowFunction] CheeseCutter-master/src/resid/spline.h:185:8: note: Shadowed declaration CheeseCutter-master/src/resid/spline.h:177:15: note: Shadow variable DONE