diff options
author | Robin Gareus <robin@gareus.org> | 2017-06-12 12:47:48 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-06-12 17:20:41 +0200 |
commit | c69049a853235a00b2c6b98f440cc29585d89819 (patch) | |
tree | f7c512c593f3dad445f80da346648ae8c3ed570d /libs | |
parent | 140ce4daec246ac056313b7232698f91fddce6ee (diff) |
Fix a compiler warning (optimized builds)
Diffstat (limited to 'libs')
-rw-r--r-- | libs/surfaces/faderport8/faderport8.cc | 3 | ||||
-rw-r--r-- | libs/surfaces/faderport8/fp8_base.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/libs/surfaces/faderport8/faderport8.cc b/libs/surfaces/faderport8/faderport8.cc index 8d2898c2f2..33d5b6e36d 100644 --- a/libs/surfaces/faderport8/faderport8.cc +++ b/libs/surfaces/faderport8/faderport8.cc @@ -918,6 +918,9 @@ FaderPort8::filter_stripables (StripableList& strips) const case MixFX: flt = &flt_auxbus; break; + default: + assert (0); + // fall through case MixAll: allow_master = true; flt = &flt_all; diff --git a/libs/surfaces/faderport8/fp8_base.h b/libs/surfaces/faderport8/fp8_base.h index 9dc658c290..56f2b0c4f0 100644 --- a/libs/surfaces/faderport8/fp8_base.h +++ b/libs/surfaces/faderport8/fp8_base.h @@ -155,7 +155,7 @@ namespace FP8Types { MixMIDI, MixOutputs, MixFX, - MixUser, + MixUser }; }; |