]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fix three warnings
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 1 Mar 2013 04:46:24 +0000 (04:46 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 1 Mar 2013 04:46:24 +0000 (04:46 +0000)
git-svn-id: https://svn.dealii.org/trunk@28671 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-44/step-44.cc

index fb1014185e73949c57e6f7e0d0224b7b9b4f066d..e1f3495346756596aaecc85647f77b5d3386afe9 100644 (file)
@@ -929,7 +929,7 @@ namespace Step44
                                     PerTaskData_UQPH &data);
 
     void
-    copy_local_to_global_UQPH(const PerTaskData_UQPH &data)
+    copy_local_to_global_UQPH(const PerTaskData_UQPH &/*data*/)
     {}
 
     // Solve for the displacement using a Newton-Raphson method. We break this
@@ -1765,7 +1765,7 @@ namespace Step44
   void
   Solid<dim>::update_qph_incremental_one_cell(const typename DoFHandler<dim>::active_cell_iterator &cell,
                                               ScratchData_UQPH &scratch,
-                                              PerTaskData_UQPH &data)
+                                              PerTaskData_UQPH &/*data*/)
   {
     PointHistory<dim> *lqph =
       reinterpret_cast<PointHistory<dim>*>(cell->user_pointer());
@@ -2134,7 +2134,6 @@ namespace Step44
     PointHistory<dim> *lqph =
       reinterpret_cast<PointHistory<dim>*>(cell->user_pointer());
 
-    static const SymmetricTensor<2, dim> I = StandardTensors<dim>::I;
     for (unsigned int q_point = 0; q_point < n_q_points; ++q_point)
       {
         const Tensor<2, dim> F_inv = lqph[q_point].get_F_inv();

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.