lkml.org 
[lkml]   [2013]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] Documentation: allow multiple return statements per function
On 05/15/2013 12:20:21 PM, Dan Carpenter wrote:
> A surprising number of newbies interpret this section to mean that
> only
> one return statement is allowed per function. Part of the problem is
> that the "one return statement per function" rule is an actual style
> guideline that people are used to from other projects.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

Ack, please forward to trivial tree.

Rob

\
 
 \ /
  Last update: 2013-05-17 00:21    [W:0.053 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site