diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | symbol.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +2017-04-10 Arnold D. Robbins <arnold@skeeve.com> + + * symbol.c (free_bc_mempool): Change `first' from int to bool. + 2017-04-07 Andrew J. Schorr <aschorr@telemetry-investments.com> * awk.h (INSTRUCTION_POOL): Redefine as an array of structures so we @@ -916,7 +916,7 @@ free_bc_internal(INSTRUCTION *cp) static void free_bc_mempool(struct instruction_mem_pool *pool, int size) { - int first = 1; + bool first = true; struct instruction_block *block, *next; for (block = pool->block_list; block; block = next) { @@ -929,7 +929,7 @@ free_bc_mempool(struct instruction_mem_pool *pool, int size) } next = block->next; efree(block); - first = 0; + first = false; } } |