From 019363e3a805dbdb4a0d364d520d8dbc65537084 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Mon, 13 Sep 2010 14:04:31 +0000 Subject: [PATCH] Avoid some compiler warnings regarding unused variables. git-svn-id: https://svn.dealii.org/trunk@21942 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/source/parameter_handler.cc | 1 - deal.II/lac/source/trilinos_sparse_matrix.cc | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/deal.II/base/source/parameter_handler.cc b/deal.II/base/source/parameter_handler.cc index b7486e82b6..6168298950 100644 --- a/deal.II/base/source/parameter_handler.cc +++ b/deal.II/base/source/parameter_handler.cc @@ -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) diff --git a/deal.II/lac/source/trilinos_sparse_matrix.cc b/deal.II/lac/source/trilinos_sparse_matrix.cc index ee526665de..7e5f2167a1 100644 --- a/deal.II/lac/source/trilinos_sparse_matrix.cc +++ b/deal.II/lac/source/trilinos_sparse_matrix.cc @@ -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) { -- 2.39.5