]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Avoid some compiler warnings regarding unused variables.
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 13 Sep 2010 14:04:31 +0000 (14:04 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 13 Sep 2010 14:04:31 +0000 (14:04 +0000)
git-svn-id: https://svn.dealii.org/trunk@21942 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/parameter_handler.cc
deal.II/lac/source/trilinos_sparse_matrix.cc

index b7486e82b65c6cfba3740c96e31e0230477cde8f..61682989508e66ece05ccc22b1838897fbb47545 100644 (file)
@@ -1405,7 +1405,6 @@ ParameterHandler::log_parameters_section (LogStream &out)
                                   // one. make sure they are
                                   // sorted by using the
                                   // appropriate iterators
-  bool first_entry = true;
   for (boost::property_tree::ptree::const_assoc_iterator
         p = current_section.ordered_begin();
        p != current_section.not_found(); ++p)
index ee526665debf271b8219779ec46ad9333d3350c5..7e5f2167a16e80471a802355d4a77010be6f3ca3 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2008, 2009 by the deal.II authors
+//    Copyright (C) 2008, 2009, 2010 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -391,8 +391,6 @@ namespace TrilinosWrappers
        return;
       }
 
-    const unsigned int n_rows = sparsity_pattern.n_rows();
-
     Assert (exchange_data == false, ExcNotImplemented());
     if (input_row_map.Comm().MyPID() == 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.