Browse Source

Fix LTO warnings

Signed-off-by: falkTX <falktx@falktx.com>
pull/115/head
falkTX 3 years ago
parent
commit
79f586aa4b
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/Shelves.cpp
  2. +1
    -1
      src/Streams.cpp

+ 1
- 1
src/Shelves.cpp View File

@@ -119,7 +119,7 @@ struct Shelves : Module {
int channels = std::max(inputs[IN_INPUT].getChannels(), 1);

// Reuse the same frame object for multiple engines because the params aren't touched.
shelves::ShelvesEngine::Frame frame;
shelves::ShelvesEngine::Frame frame = {};
frame.pre_gain = preGain;

frame.hs_freq_knob = rescale(params[HS_FREQ_PARAM].getValue(), freqMin, freqMax, 0.f, 1.f);


+ 1
- 1
src/Streams.cpp View File

@@ -275,7 +275,7 @@ struct Streams : Module {

// Reuse the same frame object for multiple engines because the params
// aren't touched.
streams::StreamsEngine::Frame frame;
streams::StreamsEngine::Frame frame = {};

frame.ch1.shape_knob = params[CH1_SHAPE_PARAM] .getValue();
frame.ch1.mod_knob = params[CH1_MOD_PARAM] .getValue();


Loading…
Cancel
Save