From: Wolfgang Bangerth Date: Wed, 20 Apr 2016 15:19:54 +0000 (-0500) Subject: Remove unused variable. X-Git-Tag: v8.5.0-rc1~1090^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2528%2Fhead;p=dealii.git Remove unused variable. Thereby also fix a warning. --- 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);