Skip to content

Commit 4d40a0c

Browse files
committed
Fixed clang warnings about unused variables GrandOrgue#2001
1 parent dc17d47 commit 4d40a0c

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

src/grandorgue/combinations/GODivisionalSetter.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,6 @@ void GODivisionalSetter::LoadCombination(GOConfigReader &cfg) {
236236

237237
const char *const DIVISIONALS = "divisionals";
238238
const char *const BANKED_DIVISIONALS = "banked-divisionals";
239-
const char *const NAME = "name";
240239
const char *const COMBINATIONS = "combinations";
241240
const wxString WX_MANUALP03U = wxT("Manual%03u");
242241
const wxString WX_PU = wxT("%u");

src/grandorgue/combinations/GOSetter.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,6 @@ void GOSetter::Save(GOConfigWriter &cfg) {
580580
// another objects are saveble themself so they are saved separatelly
581581
}
582582

583-
const char *const CURRENT = "current";
584583
const char *const SIMPLE_GENERALS = "generals";
585584
const char *const BANKED_GENERALS = "banked-generals";
586585
const char *const CRESCENDOS = "crescendos";

src/grandorgue/gui/frames/GOStopsWindow.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
#include "model/GOSwitch.h"
2424
#include "model/GOTremulant.h"
2525

26-
constexpr unsigned MAX_ELEMENTS = 2000;
27-
2826
enum {
2927
ID_CHECKBOX = 200,
3028
};

0 commit comments

Comments
 (0)