From: Wolfgang Bangerth Date: Mon, 12 Apr 2004 16:35:43 +0000 (+0000) Subject: Initialize a variable. X-Git-Tag: v8.0.0~15359 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7df8f6d094b585e70e87d60813fdfd2b1eb54532;p=dealii.git Initialize a variable. git-svn-id: https://svn.dealii.org/trunk@8990 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/source/petsc_matrix_base.cc b/deal.II/lac/source/petsc_matrix_base.cc index 4819b82aa9..befa69ea7c 100644 --- a/deal.II/lac/source/petsc_matrix_base.cc +++ b/deal.II/lac/source/petsc_matrix_base.cc @@ -47,7 +47,7 @@ namespace PETScWrappers // relative to the rows this process // actually stores (remember that // matrices can be distributed) - signed int local_row; + signed int local_row = -1; if (dynamic_cast(matrix) != 0) { local_row = this->a_row;