A (likely spurious) GCC warning (building in Ubuntu 9.04)
Lisandro Dalcin
dalcinl at gmail.com
Sat Aug 15 18:52:53 CDT 2009
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