A (likely spurious) GCC warning (building in Ubuntu 9.04)
Barry Smith
bsmith at mcs.anl.gov
Sat Aug 15 22:54:23 CDT 2009
I have initialized that variable in 3.0.0 and also pulled the
change into dev
Barry
On Aug 15, 2009, at 6:52 PM, Lisandro Dalcin wrote:
> This warning is from petsc-release-3.0.0 ... Can any of you fix it by
> just initialising the var to zero where it is declared?
>
> libfast in: /usr/local/petsc/3.0.0/src/mat/impls/aij/mpi
> mpiaij.c: In function ‘MatLoad_MPIAIJ’:
> mpiaij.c:2806: warning: ‘maxnz’ may be used uninitialized in this
> function
>
>
> --
> Lisandro Dalcín
> ---------------
> Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
> Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
> Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
> PTLC - Güemes 3450, (3000) Santa Fe, Argentina
> Tel/Fax: +54-(0)342-451.1594
More information about the petsc-dev
mailing list