You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user