]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove unused variable. 2528/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 20 Apr 2016 15:19:54 +0000 (10:19 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 20 Apr 2016 15:19:54 +0000 (10:19 -0500)
Thereby also fix a warning.

source/lac/petsc_parallel_sparse_matrix.cc

index 9e57005665c9ca3d66fef5c7ac1f8745843b979c..ae7e7f2c02b4e1989bb7bdfe792bc3b6dbce2971 100644 (file)
@@ -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);

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.