| ce36caf3 | 12-Mar-2019 |
Satish Balay <balay@mcs.anl.gov> |
fix uninitialized warning
/sandbox/petsc/petsc.next-3/src/mat/impls/dense/mpi/mpidense.c: In function ‘MatMatTransposeMultNumeric_MPIDense_MPIDense’: /sandbox/petsc/petsc.next-3/include/petsclog
fix uninitialized warning
/sandbox/petsc/petsc.next-3/src/mat/impls/dense/mpi/mpidense.c: In function ‘MatMatTransposeMultNumeric_MPIDense_MPIDense’: /sandbox/petsc/petsc.next-3/include/petsclog.h:356:96: warning: ‘recvbuf’ may be used uninitialized in this function [-Wmaybe-uninitialized] ((petsc_isend_ct++,0) || PetscMPITypeSize(&(petsc_isend_len),(count),(datatype)) || MPI_Isend((buf),(count),(datatype),(dest),(tag),(comm),(request))) ^ /sandbox/petsc/petsc.next-3/src/mat/impls/dense/mpi/mpidense.c:2058:29: note: ‘recvbuf’ was declared here PetscScalar *sendbuf, *recvbuf, *carray; ^
show more ...
|