<div dir="ltr">Fixing. I will get all the plex stuff done today.<div><br></div><div>  Matt</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Feb 15, 2014 at 11:36 AM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
         CC arch-clang/obj/src/dm/impls/plex/plexgeometry.o<br>
/Users/barrysmith/Src/PETSc/src/dm/impls/plex/plex.c:2298:9: warning: variable 'match' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]<br>
    if (numLeaves >= 0) {<br>
        ^~~~~~~~~~~~~~<br>
/Users/barrysmith/Src/PETSc/src/dm/impls/plex/plex.c:2346:10: note: uninitialized use occurs here<br>
    if (!match) {for (c = cStart; c < cEnd; ++c) {ierr = PetscBTNegate(flippedCells, c-cStart);CHKERRQ(ierr);}}<br>
         ^~~~~<br>
/Users/barrysmith/Src/PETSc/src/dm/impls/plex/plex.c:2298:5: note: remove the 'if' if its condition is always true<br>
    if (numLeaves >= 0) {<br>
    ^~~~~~~~~~~~~~~~~~~~<br>
/Users/barrysmith/Src/PETSc/src/dm/impls/plex/plex.c:2294:5: note: variable 'match' is declared here<br>
    PetscBool          match;<br>
    ^<br>
/Users/barrysmith/Src/PETSc/src/dm/impls/plex/plex.c:2326:25: warning: variable 'coneSize' is uninitialized when used here [-Wuninitialized]<br>
        for (c = 0; c < coneSize; ++c) if (cone[c] == face) break;<br>
                        ^~~~~~~~<br>
/Users/barrysmith/Src/PETSc/src/dm/impls/plex/plex.c:2315:31: note: initialize the variable 'coneSize' to silence this warning<br>
      PetscInt        coneSize, supportSize;<br>
                              ^<br>
                               = 0<br>
<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener
</div>