Re: [PATCH] gcc-3.0 warnings

Tim Waugh (twaugh@redhat.com)
Fri, 23 Mar 2001 09:29:57 +0000


On Fri, Mar 23, 2001 at 01:38:00AM +0100, J . A . Magallon wrote:

> Yes, a null sentence can shut up the compiler. But what is the purpose of
> a jump to the end instead of a return ? Some optimization ?

So that when someone decides that the function needs to do some extra
initialisation at the beginning and some extra cleanup at the end,
they don't accidentally miss an exit point.

Tim.
*/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/