From bc2b4489282aa919cd0284c5791f39c375528353 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 20 Apr 2016 10:19:54 -0500 Subject: [PATCH] Remove unused variable. Thereby also fix a warning. --- source/lac/petsc_parallel_sparse_matrix.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/lac/petsc_parallel_sparse_matrix.cc b/source/lac/petsc_parallel_sparse_matrix.cc index 9e57005665..ae7e7f2c02 100644 --- a/source/lac/petsc_parallel_sparse_matrix.cc +++ b/source/lac/petsc_parallel_sparse_matrix.cc @@ -896,7 +896,7 @@ namespace PETScWrappers #if DEAL_II_PETSC_VERSION_LT(3,3,0) Assert(false,ExcNotImplemented()); #else - PetscInt n_rows, n_cols, n_loc_rows, n_loc_cols, min, max, size; + PetscInt n_rows, n_cols, n_loc_rows, n_loc_cols, min, max; PetscErrorCode ierr; ierr = MatGetSize (matrix, &n_rows, &n_cols); @@ -924,7 +924,7 @@ namespace PETScWrappers #if DEAL_II_PETSC_VERSION_LT(3,3,0) Assert(false,ExcNotImplemented()); #else - PetscInt n_rows, n_cols, n_loc_rows, n_loc_cols, min, max, size; + PetscInt n_rows, n_cols, n_loc_rows, n_loc_cols, min, max; PetscErrorCode ierr; ierr = MatGetSize (matrix, &n_rows, &n_cols); -- 2.39.5