]> Kevux Git Server - fll/commitdiff
Bugfix: Comparison should instead be an assignment.
authorKevin Day <thekevinday@gmail.com>
Sat, 19 Feb 2022 05:01:22 +0000 (23:01 -0600)
committerKevin Day <thekevinday@gmail.com>
Sat, 19 Feb 2022 05:01:22 +0000 (23:01 -0600)
This bug is exposed by the CLang compiler.

level_3/fake/c/private-make-operate.c

index 62d34285c6a3a0992a84d6fb175da776f657f734..95d76e05e9b2d37bc19576b3fd873a82d0d0ff08 100644 (file)
@@ -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 {