Cleanup: fix unused parameter compiler warning in release builds

This commit is contained in:
Nathan Vegdahl
2024-06-28 17:42:53 +02:00
committed by Nathan Vegdahl
parent c8b736659b
commit 3f3dfe1680

View File

@@ -1349,6 +1349,7 @@ void assert_baklava_phase_1_invariants(const Layer &layer)
void assert_baklava_phase_1_invariants(const Strip &strip)
{
UNUSED_VARS_NDEBUG(strip);
BLI_assert(strip.type() == Strip::Type::Keyframe);
BLI_assert(strip.is_infinite());
BLI_assert(strip.frame_offset == 0.0);