atrstm

Load and structure a combustion gas mixture
git clone git://git.meso-star.fr/atrstm.git
Log | Files | Refs | README | LICENSE

commit c6c43c950ab805f56f0ff79a99997763474d2bbe
parent f05b326a6f3b6f24d9083740094a7efcc440c8df
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed,  3 Mar 2021 09:28:32 +0100

Rm a useless pre-condition test in the atrstm_create function

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

diff --git a/src/atrstm.c b/src/atrstm.c @@ -162,7 +162,7 @@ atrstm_create allocator = mem_allocator ? mem_allocator : &mem_default_allocator; atrstm = MEM_CALLOC(allocator, 1, sizeof(*atrstm)); - if(!atrstm && check_args(args)) { + if(!atrstm) { if(args->verbose) { #define ERR_STR "Could not allocate the AtrGM data structure.\n" if(logger) {