Fix useless assignement to pointer

As reported by cppcheck:

    src/defi.c:18:2: warning: Assignment of function parameter has no
    effect outside the function. Did you forget dereferencing it?
    [uselessAssignmentPtrArg]
     defi = NULL;
     ^
This commit is contained in:
Glenn Y. Rolland 2020-02-14 08:25:22 +01:00
parent 2082407e28
commit 106f4ac8c9

View file

@ -15,7 +15,6 @@ Defi_t * defi_create(Config_io_t * io, nodeindex_t size){
void defi_destroy(Defi_t * defi){
free (defi);
defi = NULL;
}
void defi_run(Defi_t * defi){