Skip to content

Commit

Permalink
uses local variable to avoid 'set but not used'
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Park authored and Mike Park committed Aug 13, 2021
1 parent 25af7c6 commit 419ad50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ref_subcommand.c
Expand Up @@ -3488,7 +3488,7 @@ static REF_STATUS visualize(REF_MPI ref_mpi, int argc, char *argv[]) {
REF_CELL ref_cell;
if (ref_mpi_once(ref_mpi)) printf(" --surface deleting 3D cells\n");
each_ref_grid_3d_ref_cell(ref_grid, group, ref_cell) {
RSS(ref_cell_free(ref_grid_cell(ref_grid, group)), "free cell");
RSS(ref_cell_free(ref_cell), "free cell");
RSS(ref_cell_create(&ref_grid_cell(ref_grid, group),
(REF_CELL_TYPE)group),
"empty cell create");
Expand Down

0 comments on commit 419ad50

Please sign in to comment.