From 158b96e77fb0d2055daa1649db266f10256f7906 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Fri, 18 Feb 2022 23:01:22 -0600 Subject: [PATCH] Bugfix: Comparison should instead be an assignment. This bug is exposed by the CLang compiler. --- level_3/fake/c/private-make-operate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/level_3/fake/c/private-make-operate.c b/level_3/fake/c/private-make-operate.c index 62d3428..95d76e0 100644 --- a/level_3/fake/c/private-make-operate.c +++ b/level_3/fake/c/private-make-operate.c @@ -1124,7 +1124,7 @@ extern "C" { } if (state_process.block && F_status_is_error(*status)) { - state_process.block_result == fake_condition_result_error_e; + state_process.block_result = fake_condition_result_error_e; success_block = F_false; } } @@ -1192,7 +1192,7 @@ extern "C" { } else { state_process.block = fake_state_process_block_if_skip_e; - state_process.block_result == fake_condition_result_false_e; + state_process.block_result = fake_condition_result_false_e; } } else { -- 1.8.3.1