Minor cosmetic change removing unneeded variable - lightning.git - Portable just-in-time compiler library

index : lightning.git
Portable just-in-time compiler library
summary refs log tree commit diff
diff options
context:
space:
mode:
authorpcpa <paulo.cesar.pereira.de.andrade@gmail.com>2022年10月05日 16:00:15 -0300
committerpcpa <paulo.cesar.pereira.de.andrade@gmail.com>2022年10月05日 16:00:15 -0300
commitc247c85e21b90654b2653cd255e75b3cc709a52f (patch)
tree36b1adcab8a32daa44a237010219d2298da13530
parent749de904ee3fb59ce9a262addc9cf6635d1289b4 (diff)
downloadlightning-c247c85e21b90654b2653cd255e75b3cc709a52f.tar.gz
Minor cosmetic change removing unneeded variable
Diffstat
-rw-r--r--lib/lightning.c 7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/lightning.c b/lib/lightning.c
index ef432eb..27379cb 100644
--- a/lib/lightning.c
+++ b/lib/lightning.c
@@ -1674,21 +1674,20 @@ static jit_bool_t
_check_block_again(jit_state_t *_jit)
{
jit_int32_t todo;
- jit_int32_t result;
jit_word_t offset;
jit_node_t *node, *label;
jit_block_t *block, *target;
- result = 0;
+ todo = 0;
for (offset = 0; offset < _jitc->blocks.offset; offset++) {
block = _jitc->blocks.ptr + offset;
if (block->again) {
- result = 1;
+ todo = 1;
break;
}
}
/* If no block changed state */
- if (!result)
+ if (!todo)
return (0);
do {
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月28日 13:44:53 +0000

AltStyle によって変換されたページ (->オリジナル) /