Skip to content

Commit bfa8a83

Browse files
authored
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.
1 parent 8fb72aa commit bfa8a83

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/KeyFrame.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,8 @@ bool Keyframe::IsIncreasing(int index)
336336
return false;
337337
}
338338
}
339-
else
340-
// return default true (since most curves increase)
341-
return true;
339+
// return default true (since most curves increase)
340+
return true;
342341
}
343342

344343
// Generate JSON string of this object

0 commit comments

Comments
 (0)