stardis-green

Post-processing of green functions
git clone git://git.meso-star.fr/stardis-green.git
Log | Files | Refs | README | LICENSE

commit b193d0e855c4fcc9115522d81c42872aba18c91a
parent 8520f3a9431770aabea4de8c2a0f71e19059e901
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Thu, 27 Apr 2023 17:06:37 +0200

Fix compilation warning

A check was made on a variable whose address should be non-null.
However, it could not be by construction.

Diffstat:
Msrc/green-types.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/green-types.h b/src/green-types.h @@ -279,7 +279,7 @@ green_release } if(green->table) { /* On error, table could be not yet allocated */ FOR_EACH(i, 0, 1 + green->header.description_count) - if(&green->table[i]) release_table_elt(&green->table[i]); + release_table_elt(&green->table[i]); MEM_RM(green->allocator, green->table); } green->allocator = NULL;