From 6f42ab1bab304620575a3ad3cba7c40864c7f748 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 15 Jun 2018 22:37:10 -0600 Subject: [PATCH] Remove unused variables. --- source/lac/trilinos_sparse_matrix.cc | 3 --- 1 file changed, 3 deletions(-) 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()) -- 2.39.5