commit 4e47b36a22a8ed8b5b78d600bd13f164aa9ae46e
parent edca8ab11b0f408b9343dbf33cb3eb7f4c337577
Author: fundamental <[email protected]>
Date: Sat, 5 Mar 2016 12:11:01 -0500
ModFilter: Fix Compiler Warning
Add a return -1 for when an invalid (and non-recoverable)
input is supplied.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/Synth/ModFilter.cpp b/src/Synth/ModFilter.cpp
@@ -125,6 +125,7 @@ static int current_category(Filter *f)
return 2;
assert(false);
+ return -1;
}
void ModFilter::paramUpdate(Filter *&f)