[petsc-dev] GCC warnings

Jed Brown jed at 59A2.org
Sat May 15 17:12:19 CDT 2010


On Sat, 15 May 2010 18:25:10 -0300, Lisandro Dalcin <dalcinl at gmail.com> wrote:
> ...
> libfast in: /usr/local/petsc/dev/src/mat/impls/aij/seq
> aijfact.c: In function ‘MatCholeskyFactorNumeric_SeqAIJ’:
> aijfact.c:2084: warning: ‘newshift’ may be used uninitialized in this function
> aijfact.c: In function ‘MatLUFactorNumeric_SeqAIJ’:
> aijfact.c:474: warning: ‘newshift’ may be used uninitialized in this function
> inode.c: In function ‘MatLUFactorNumeric_SeqAIJ_Inode’:
> inode.c:1201: warning: ‘newshift’ may be used uninitialized in this function

You must have an older checkout, these line numbers don't agree with the
present tip and newshift is always initialized.

Jed



More information about the petsc-dev mailing list