star-phor-input

File format for describing photoreactor configurations
git clone https://www.edstar.cnrs.fr/git/star-phor-input.git
Log | Files | Refs | README | LICENSE

commit 371f9140aefa1ea78b2924c7232ecde875cd2d79
parent 1c228a6c25733d273b3e70f1b1c104dc764889b1
Author: Eduardo Fontana Lazzari <edufonlaz@gmail.com>
Date:   Wed, 19 Mar 2025 11:15:46 +0100

Fix initialized pointer in parse_brdf

Diffstat:
Msrc/sphin_brdf.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sphin_brdf.c b/src/sphin_brdf.c @@ -101,7 +101,7 @@ parse_brdf char* str_reflectivity; char* token_ptr; double reflectivity; - struct sphin_brdf* brdf; + struct sphin_brdf* brdf = NULL; res_T res = RES_OK; ASSERT(NULL != sphin);