On Mon, Feb 23, 2015 at 11:39:38AM -0600, Barry Smith wrote: > > /Users/barrysmith/Src/PETSc/arch-debug/bin/mpicc -o ex3.o -c -fPIC -Wall > -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 > -I/Users/barrysmith/Src/PETSc/include > -I/Users/barrysmith/Src/PETSc/arch-debug/include -I/opt/X11/include > `pwd`/ex3.c > /Users/barrysmith/Src/petsc/src/dm/impls/plex/examples/tests/ex3.c:363:111: > warning: variable 'aDof' is uninitialized when used here [-Wuninitialized] > if (cDof != 1) SETERRQ1(PETSC_COMM_SELF,PETSC_ERR_PLIB,"Found %d > anchor points: should be just one",aDof); > > ^~~~ > > What kind of terrible compiler are you using that doesn't flag this stuff? >
Fixed in master, merged into next. Toby
signature.asc
Description: Digital signature
