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:
parent
2082407e28
commit
106f4ac8c9
1 changed files with 0 additions and 1 deletions
|
@ -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){
|
||||
|
|
Loading…
Reference in a new issue