From: Wolfgang Bangerth Date: Sat, 16 Jun 2018 04:37:10 +0000 (-0600) Subject: Remove unused variables. X-Git-Tag: v9.1.0-rc1~1023^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F6783%2Fhead;p=dealii.git Remove unused variables. --- diff --git a/source/lac/trilinos_sparse_matrix.cc b/source/lac/trilinos_sparse_matrix.cc index f14f1c6a75..fe657772ef 100644 --- a/source/lac/trilinos_sparse_matrix.cc +++ b/source/lac/trilinos_sparse_matrix.cc @@ -408,8 +408,6 @@ namespace TrilinosWrappers n_nonzero_elements() != rhs.n_nonzero_elements(); if (!needs_deep_copy) { - const std::pair local_range = rhs.local_range(); - // Try to copy all the rows of the matrix one by one. In case of error // (i.e., the column indices are different), we need to abort and blow // away the matrix. @@ -1905,7 +1903,6 @@ namespace TrilinosWrappers ExcMessage("Addition of matrices only allowed if matrices are " "filled, i.e., compress() has been called")); - const std::pair local_range = rhs.local_range(); const bool same_col_map = matrix->ColMap().SameAs(rhs.matrix->ColMap()); for (const auto &row : locally_owned_range_indices())