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 Jan 17, 2018
1 parent 408632d commit db05479
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 @@ -86,8 +86,6 @@ namespace GRINS
{
_output_format.push_back( input("vis-options/output_format", "DIE", i ) );
}

return;
}

Visualization::~Visualization()
Expand All @@ -98,8 +96,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 @@ -115,8 +111,6 @@ namespace GRINS
filename+="."+suffix.str();

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

return;
}

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

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

return;
}

} // namespace GRINS

0 comments on commit db05479

Please sign in to comment.