Skip to content

Commit

Permalink
Remove unnecessary returns in void functions
Browse files Browse the repository at this point in the history
  • Loading branch information
tradowsk committed Sep 26, 2018
1 parent ad937cd commit d387a7f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/visualization/src/visualization.C
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ namespace GRINS
{
_output_format.push_back( input("vis-options/output_format", "DIE", i ) );
}

return;
}

Visualization::~Visualization()
Expand All @@ -99,8 +97,6 @@ namespace GRINS
void Visualization::output( std::shared_ptr<libMesh::EquationSystems> equation_system )
{
this->dump_visualization( equation_system, _vis_output_file_prefix, 0.0 );

return;
}

void Visualization::output
Expand All @@ -116,8 +112,6 @@ namespace GRINS
filename+="."+suffix.str();

this->dump_visualization( equation_system, filename, time );

return;
}

void Visualization::output_amr
Expand All @@ -138,7 +132,6 @@ namespace GRINS
MultiphysicsSystem* system )
{
this->output_residual( equation_system, system, 0, 0.0 );
return;
}

void Visualization::output_residual_sensitivities
Expand Down Expand Up @@ -263,8 +256,6 @@ namespace GRINS
libmesh_error();
}
} // End loop over formats

return;
}

} // namespace GRINS

0 comments on commit d387a7f

Please sign in to comment.