Skip to content

Commit

Permalink
fix issue #8: Useless cleaning of local variables
Browse files Browse the repository at this point in the history
  • Loading branch information
gkothar1 committed Jan 13, 2020
1 parent 1dedbfc commit 9dfc255
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/riscvsim/inorder.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ in_core_free(void *core_type)
free(core->ialu);
core->ialu = NULL;
free(core);
core = NULL;
}

static int
Expand Down
1 change: 0 additions & 1 deletion src/riscvsim/ooo.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@ oo_core_free(void *core_type)
free(core->fpu_fma);
core->fpu_fma = NULL;
free(core);
core = NULL;
}

int
Expand Down

0 comments on commit 9dfc255

Please sign in to comment.