The default return value is present

Remove else so that the default return value is used if no other return was used."else if" in line 334 had no else and therefore in some cases no return value was present.
This commit is contained in:
eisneinechse
2019-05-03 13:13:45 -07:00
committed by GitHub
parent 8fb72aae84
commit bfa8a83864

View File

@@ -336,9 +336,8 @@ bool Keyframe::IsIncreasing(int index)
return false;
}
}
else
// return default true (since most curves increase)
return true;
// return default true (since most curves increase)
return true;
}
// Generate JSON string of this object