[cig-commits] commit 2482 by heister to /var/svn/dealii/aspect

dealii.demon at gmail.com dealii.demon at gmail.com
Fri Apr 11 10:52:41 PDT 2014


Revision 2482

fs: remove warnings

U   branches/freesurface/source/postprocess/topography.cc


http://www.dealii.org/websvn/revision.php?repname=Aspect+Repository&path=%2F&rev=2482&peg=2482

Diff:
Modified: branches/freesurface/source/postprocess/topography.cc
===================================================================
--- branches/freesurface/source/postprocess/topography.cc	2014-04-11 17:48:36 UTC (rev 2481)
+++ branches/freesurface/source/postprocess/topography.cc	2014-04-11 17:52:38 UTC (rev 2482)
@@ -38,10 +38,10 @@
     Topography<dim>::execute (TableHandler &statistics)
     {
 
-      double reference_height;
-      bool vertical_gravity;
+      double reference_height = 0.0;
+      bool vertical_gravity = false;
       double time = this->get_time();
-      types::boundary_id relevant_boundary;
+      types::boundary_id relevant_boundary = 0;
 
       if(GeometryModel::Box<dim> *gm = dynamic_cast<GeometryModel::Box<dim> *>
                                              (const_cast<GeometryModel::Interface<dim> *>(&this->get_geometry_model())))


More information about the CIG-COMMITS mailing list