diff --git a/src/common/ModulatorPresetManager.cpp b/src/common/ModulatorPresetManager.cpp index 1e5bd913787..916607a084f 100644 --- a/src/common/ModulatorPresetManager.cpp +++ b/src/common/ModulatorPresetManager.cpp @@ -262,13 +262,11 @@ std::vector ModulatorPreset::getPresets(SurgeStorage bool isU = i; try { - std::string currentCategoryName = ""; Category currentCategory; for (auto &d : fs::recursive_directory_iterator(p)) { auto dp = fs::path(d); auto base = dp.stem(); - auto fn = dp.filename(); auto ext = dp.extension(); if (path_to_string(ext) != ".modpreset") { diff --git a/src/surge-testrunner/UnitTestsINFRA.cpp b/src/surge-testrunner/UnitTestsINFRA.cpp index f1ab80df07c..9697fc7d935 100644 --- a/src/surge-testrunner/UnitTestsINFRA.cpp +++ b/src/surge-testrunner/UnitTestsINFRA.cpp @@ -102,7 +102,6 @@ TEST_CASE("QuadFilterUnit Is SIMD Aligned", "[infra]") SECTION("Array of QuadFilterUnits") { int nqfus = 5; - std::vector pointers; for (int i = 0; i < 5000; ++i) { auto *f = new sst::filters::QuadFilterUnitState[nqfus](); diff --git a/src/surge-testrunner/UnitTestsIO.cpp b/src/surge-testrunner/UnitTestsIO.cpp index f5fa45529fd..28430208aed 100644 --- a/src/surge-testrunner/UnitTestsIO.cpp +++ b/src/surge-testrunner/UnitTestsIO.cpp @@ -447,7 +447,6 @@ TEST_CASE("Stream Wavetable Names", "[io]") TEST_CASE("Load Patches With Embedded KBM", "[io]") { - std::vector patches = {}; SECTION("Check Restore") { { diff --git a/src/surge-xt/gui/SkinSupport.cpp b/src/surge-xt/gui/SkinSupport.cpp index 1f148659eb1..7bd9516d809 100644 --- a/src/surge-xt/gui/SkinSupport.cpp +++ b/src/surge-xt/gui/SkinSupport.cpp @@ -1259,7 +1259,6 @@ Skin::hoverBitmapOverlayForBackgroundBitmap(Skin::Control::ptr_t c, SurgeImage * auto pos = b->fname.find("bmp00"); if (pos != std::string::npos) { - auto b4 = b->fname.substr(0, pos); auto ftr = b->fname.substr(pos + 3); switch (t)