]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove a few unnecessary semi-colons and avoid warnings on empty-bodies loops.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 3 Aug 2007 00:23:10 +0000 (00:23 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 3 Aug 2007 00:23:10 +0000 (00:23 +0000)
git-svn-id: https://svn.dealii.org/trunk@14894 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-14/step-14.cc
deal.II/examples/step-22/step-22.cc

index e20fabe72669067827356f80b692fcb271bb7d91..e4aa118982314a74512a461b211250da60a5fc65 100644 (file)
@@ -3107,7 +3107,8 @@ namespace LaplaceSolver
     active_cell_iterator cell=dual_solver.dof_handler.begin_active();
     for (unsigned int t=0;
         (t<this_thread) && (cell!=dual_solver.dof_handler.end());
-        ++t, ++cell);
+        ++t, ++cell)
+      ;
 
                                     // If there are no cells for this
                                     // thread (for example if there
@@ -3246,7 +3247,7 @@ namespace LaplaceSolver
                                             dual_weights,
                                             face_data,
                                             face_integrals);
-         };
+         }
 
                                         // After computing the cell
                                         // contributions and looping
@@ -3260,10 +3261,12 @@ namespace LaplaceSolver
                                         // of the loop.
        for (unsigned int t=0;
             ((t<n_threads) && (cell!=dual_solver.dof_handler.end()));
-            ++t, ++cell, ++cell_index);
+            ++t, ++cell, ++cell_index)
+         ;
+       
        if (cell == dual_solver.dof_handler.end())
          break;
-      };
+      }
   }
 
 
index 41fcfef129c87473e1f49a115f3a01a1fdc94728..774ea0025b28821c6ec5490b066d8ec58c331c4d 100644 (file)
@@ -149,7 +149,7 @@ class PressureBoundaryValues : public Function<dim>
 
 template <int dim>
 double
-PressureBoundaryValues<dim>::value (const Point<dim>  &p,
+PressureBoundaryValues<dim>::value (const Point<dim>  &/*p*/,
                                     const unsigned int /*component*/) const 
 {
   return 0;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.