From ea840499c969ae2c1434fd41a4e30d53c8992b2e Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sat, 9 Jul 2022 21:50:53 -0500 Subject: [PATCH] Update: Ensure first if block is initialized to operate. --- level_3/fake/c/private-make-operate_block.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/level_3/fake/c/private-make-operate_block.c b/level_3/fake/c/private-make-operate_block.c index 6b643a0..ecfb801 100644 --- a/level_3/fake/c/private-make-operate_block.c +++ b/level_3/fake/c/private-make-operate_block.c @@ -32,6 +32,12 @@ extern "C" { state_process->success_block = F_true; } } + else if (state_process->operation == fake_make_operation_type_if_e) { + + // This is the first if-condition, so setup the block. + state_process->block = fake_state_process_block_operate_e; + state_process->block_result = 0; + } } #endif // _di_fake_make_operate_block_prepare_ -- 1.8.3.1