I've fixed this in the branch.
> On Feb 23, 2018, at 9:00 AM, PETSc checkBuilds > <petsc-checkbui...@mcs.anl.gov> wrote: > > > > Dear PETSc developer, > > This email contains listings of contributions attributed to you by > `git blame` that caused compiler errors or warnings in PETSc automated > testing. Follow the links to see the full log files. Please attempt to fix > the issues promptly or let us know at petsc-dev@mcs.anl.gov if you are unable > to resolve the issues. > > Thanks, > The PETSc development team > > ---- > > warnings attributed to commit > https://bitbucket.org/petsc/petsc/commits/0d8e283 > DMNetwork: Steady-state water network example (still in progress) > > src/snes/examples/tutorials/network/water/waterreaddata.c:119 > > [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/02/23/examples_next_arch-c-exodus-dbg-builder_es.log] > > /sandbox/petsc/petsc.next-3/src/snes/examples/tutorials/network/water/waterreaddata.c:119:8: > warning: ignoring return value of 'fgets', declared with attribute > warn_unused_result [-Wunused-result] > > src/snes/examples/tutorials/network/water/waterreaddata.c:122 > > [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/02/23/examples_next_arch-c-exodus-dbg-builder_es.log] > > /sandbox/petsc/petsc.next-3/src/snes/examples/tutorials/network/water/waterreaddata.c:122:10: > warning: ignoring return value of 'fgets', declared with attribute > warn_unused_result [-Wunused-result] > > src/snes/examples/tutorials/network/water/waterreaddata.c:125 > > [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/02/23/examples_next_arch-c-exodus-dbg-builder_es.log] > > /sandbox/petsc/petsc.next-3/src/snes/examples/tutorials/network/water/waterreaddata.c:125:10: > warning: ignoring return value of 'fgets', declared with attribute > warn_unused_result [-Wunused-result] > > src/snes/examples/tutorials/network/water/waterreaddata.c:207 > > [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/02/23/examples_next_arch-c-exodus-dbg-builder_es.log] > > /sandbox/petsc/petsc.next-3/src/snes/examples/tutorials/network/water/waterreaddata.c:207:10: > warning: ignoring return value of 'fgets', declared with attribute > warn_unused_result [-Wunused-result] > > src/snes/examples/tutorials/network/water/waterreaddata.c:220 > > [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/02/23/examples_next_arch-c-exodus-dbg-builder_es.log] > > /sandbox/petsc/petsc.next-3/src/snes/examples/tutorials/network/water/waterreaddata.c:220:10: > warning: ignoring return value of 'fgets', declared with attribute > warn_unused_result [-Wunused-result] > > src/snes/examples/tutorials/network/water/waterreaddata.c:232 > > [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/02/23/examples_next_arch-c-exodus-dbg-builder_es.log] > > /sandbox/petsc/petsc.next-3/src/snes/examples/tutorials/network/water/waterreaddata.c:232:10: > warning: ignoring return value of 'fgets', declared with attribute > warn_unused_result [-Wunused-result] > > src/snes/examples/tutorials/network/water/waterreaddata.c:244 > > [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/02/23/examples_next_arch-c-exodus-dbg-builder_es.log] > > /sandbox/petsc/petsc.next-3/src/snes/examples/tutorials/network/water/waterreaddata.c:244:10: > warning: ignoring return value of 'fgets', declared with attribute > warn_unused_result [-Wunused-result] > > src/snes/examples/tutorials/network/water/waterreaddata.c:264 > > [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/02/23/examples_next_arch-c-exodus-dbg-builder_es.log] > > /sandbox/petsc/petsc.next-3/src/snes/examples/tutorials/network/water/waterreaddata.c:264:10: > warning: ignoring return value of 'fgets', declared with attribute > warn_unused_result [-Wunused-result] > > src/snes/examples/tutorials/network/water/waterreaddata.c:276 > > [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/02/23/examples_next_arch-c-exodus-dbg-builder_es.log] > > /sandbox/petsc/petsc.next-3/src/snes/examples/tutorials/network/water/waterreaddata.c:276:10: > warning: ignoring return value of 'fgets', declared with attribute > warn_unused_result [-Wunused-result] > > ---- > To opt-out from receiving these messages - send a request to > petsc-dev@mcs.anl.gov.