From: Timo Heister Date: Thu, 8 Mar 2018 17:21:40 +0000 (-0500) Subject: remove LAPACK warning about uninitialized info variable X-Git-Tag: v9.0.0-rc1~352^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F6013%2Fhead;p=dealii.git remove LAPACK warning about uninitialized info variable --- diff --git a/source/lac/lapack_full_matrix.cc b/source/lac/lapack_full_matrix.cc index cd23a761cd..e4fe45e388 100644 --- a/source/lac/lapack_full_matrix.cc +++ b/source/lac/lapack_full_matrix.cc @@ -194,7 +194,7 @@ LAPACKFullMatrix::operator*= (const number factor) const types::blas_int m = this->m(); const types::blas_int n = this->n(); const types::blas_int lda = this->m(); - types::blas_int info; + types::blas_int info = 0; // kl and ku will not be referenced for type = G (dense matrices). const types::blas_int kl=0; number *values = &this->values[0]; @@ -224,7 +224,7 @@ LAPACKFullMatrix::operator/= (const number factor) const types::blas_int m = this->m(); const types::blas_int n = this->n(); const types::blas_int lda = this->m(); - types::blas_int info; + types::blas_int info = 0; // kl and ku will not be referenced for type = G (dense matrices). const types::blas_int kl=0; number *values = &this->values[0];