Browse Source

removed unnecessary breaks

tags/v1.9.9
HeyCitizen 6 years ago
parent
commit
bd7618fb42
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      source/native-plugins/midi-transpose.c

+ 0
- 4
source/native-plugins/midi-transpose.c View File

@@ -101,10 +101,8 @@ static float miditranspose_get_parameter_value(NativePluginHandle handle, uint32
{
case 0:
return (float)handlePtr->octaves;
break;
case 1:
return (float)handlePtr->semitones;
break;
default:
return 0.0f;
}
@@ -116,10 +114,8 @@ static void miditranspose_set_parameter_value(NativePluginHandle handle, uint32_
{
case 0:
handlePtr->octaves = (int)value;
break;
case 1:
handlePtr->semitones = (int)value;
break;
default:
return;
}


Loading…
Cancel
Save