[petsc-dev] GCC warnings

Hong Zhang hong at aspiritech.org
Sun May 16 11:14:15 CDT 2010


This relates to my recent change. I'll take care of it.

Hong

On Sat, May 15, 2010 at 5:12 PM, Jed Brown <jed at 59a2.org> wrote:
> 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