Re: [PATCH] gcc-3.0 warnings

From: Andrew Morton (andrewm@uow.edu.au)
Date: Fri Mar 23 2001 - 19:42:46 EST


"J . A . Magallon" wrote:
>
> The same is with that ugly out: at the end
> of the function. Just change all that 'goto out' for a return.

Oh no, no, no. Please, no.

Multiple return statements are a maintenance nightmare.

Go back and look at the "checker" reports. Think about them.

-
-
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/



This archive was generated by hypermail 2b29 : Fri Mar 23 2001 - 21:00:22 EST