From 1cecfeec8bd300c848000eeb929841a3564e70ff Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Sun, 24 Feb 2019 00:00:55 +0300 Subject: Minor warning fixes in opal.hpp --- src/chips/opal/opal.hpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/chips/opal/opal.hpp b/src/chips/opal/opal.hpp index 82eae4e..3ab4604 100644 --- a/src/chips/opal/opal.hpp +++ b/src/chips/opal/opal.hpp @@ -940,7 +940,7 @@ Opal::Operator::Operator() { //================================================================================================== // Produce output from operator. //================================================================================================== -int16_t Opal::Operator::Output(uint16_t keyscalenum, uint32_t phase_step, int16_t vibrato, int16_t mod, int16_t fbshift) { +int16_t Opal::Operator::Output(uint16_t /*keyscalenum*/, uint32_t phase_step, int16_t vibrato, int16_t mod, int16_t fbshift) { // Advance wave phase if (VibratoEnable) @@ -983,12 +983,11 @@ int16_t Opal::Operator::Output(uint16_t keyscalenum, uint32_t phase_step, int16_ // Sustain stage case EnvSus: { - if (SustainMode) break; - // Note: fall-through! - } + + }//fallthrough // Release stage case EnvRel: { -- cgit v1.2.3