OSDN Git Service

[BUILD][FMGEN] Fix warnings build with "-Wall".
authorK.Ohta <whatisthis.sowhat@gmail.com>
Thu, 2 Feb 2017 11:39:08 +0000 (20:39 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Thu, 2 Feb 2017 11:39:08 +0000 (20:39 +0900)
source/src/vm/fmgen/fmgen.cpp

index 97ccdf2..4ca384e 100644 (file)
@@ -436,6 +436,8 @@ void Operator::Prepare()
                case release:
                        SetEGRate(Min(63, rr_ + key_scale_rate_));
                        break;
+               default:
+                       break;
                }
 
                // SSG-EG
@@ -615,6 +617,8 @@ void FM::Operator::EGCalc()
                                case release:
                                        ShiftPhase(off);
                                        break;
+                               default:
+                                       break;
                                }
                        }
                        EGUpdate();