On Sun, 2003-01-12 at 20:06, Randy Dunlap wrote:
> So you choose to agree with your lessons that goto is bad, but
> ignore the other lesson that functions shouldn't have multiple
> return paths? Or didn't have that lesson?
> ~Randy
I didn't have a lesson about multiple return paths.. I actually before
posting checked out the coding style document..
:/usr/src/linux-2.5.56/Documentation# grep -i return CodingStyle
Returned nothing.. There was no mention of using return in the middle
or end of a function in the coding style document, though perhaps there
should be.
-Rob
-
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 : Wed Jan 15 2003 - 22:00:43 EST