Matthew Knepley <[email protected]> writes: > On Wed, Apr 8, 2015 at 9:43 AM, Jed Brown <[email protected]> wrote: > >> Matthew Knepley <[email protected]> writes: >> > I think you need an if () to make the compiler quit whining. >> >> if what? if (1)? Seems pointless. >> > > if (!link) SETERRQ(); > > The compiler will not be able to reason about that and the cannot know that > the return is not reached.
That is the exit condition of the preceding loop, so it would be a bug in the compiler's reachability analysis if it did not do that analysis.
signature.asc
Description: PGP signature
