Skip to content

Commit

Permalink
Remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
jatinchowdhury18 committed Feb 5, 2024
1 parent f2fe26b commit f882a72
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion src/gui/BandSplitter/BandSplitterEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ BandSplitterEditor::BandSplitterEditor (State& pluginState,
hcp,
spectrumTasks),
slopePicker (pluginState, *params.slope),
extraState (bandSplitterExtraState),
triStateButton (pluginState)
{
addAndMakeVisible (bandSplitterPlot);
Expand Down
1 change: 0 additions & 1 deletion src/gui/BandSplitter/BandSplitterEditor.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ class BandSplitterEditor : public juce::Component
private:
BandSplitterPlot bandSplitterPlot;
ChoicePicker<dsp::band_splitter::Slope> slopePicker;
dsp::band_splitter::ExtraState& extraState;

struct TriStateButton : public juce::Button
{
Expand Down
3 changes: 1 addition & 2 deletions src/gui/EQ/EQEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ EQEditor::EQEditor (State& pluginState,
dsp::eq::ExtraState& eqExtraState,
const chowdsp::HostContextProvider& hcp,
SpectrumAnalyserTask::PrePostPair spectrumAnalyserTasks)
: params (eqParams),
extraState (eqExtraState),
: extraState (eqExtraState),
plot (pluginState, eqParams.eqParams, hcp),
paramsView (pluginState, eqParams),
linearPhaseButton ("Vector/arrow-right-arrow-left-solid.svg", colours::thumbColours[0], colours::linesColour),
Expand Down
1 change: 0 additions & 1 deletion src/gui/EQ/EQEditor.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ class EQEditor : public juce::Component
void mouseDown (const juce::MouseEvent& event) override;

private:
dsp::eq::EQToolParams& params;
dsp::eq::ExtraState& extraState;
chowdsp::ScopedCallbackList callbacks;

Expand Down
1 change: 0 additions & 1 deletion src/gui/SVF/SVFEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ SVFEditor::SVFEditor (State& pluginState,
std::pair<gui::SpectrumAnalyserTask::OptionalBackgroundTask, gui::SpectrumAnalyserTask::OptionalBackgroundTask> spectrumAnalyserTasks)
: plot (pluginState, svfParams, extraState, hcp, spectrumAnalyserTasks),
paramControls (pluginState, svfParams, hcp),
extraState (extraState),
keytrackButton (std::make_unique<KeytrackButton> ("Vector/fad-keyboard.svg", colours::plotColour, colours::linesColour)),
keytrackAttach (svfParams.keytrack, pluginState, *keytrackButton),
arpLimitButton ("Vector/arrows-up-to-line-solid.svg", colours::plotColour, colours::linesColour),
Expand Down
1 change: 0 additions & 1 deletion src/gui/SVF/SVFEditor.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ class SVFEditor : public juce::Component
SVFPlot plot;
SVFParamControls paramControls;
std::unique_ptr<BottomBar> bottomBar;
dsp::svf::ExtraState& extraState;

std::unique_ptr<IconButton> keytrackButton;
chowdsp::ButtonAttachment keytrackAttach;
Expand Down

0 comments on commit f882a72

Please sign in to comment.