From: Kevin Day Date: Sat, 19 Feb 2022 05:01:22 +0000 (-0600) Subject: Bugfix: Comparison should instead be an assignment. X-Git-Tag: 0.5.8~24 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=158b96e77fb0d2055daa1649db266f10256f7906;p=fll Bugfix: Comparison should instead be an assignment. This bug is exposed by the CLang compiler. --- 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 {