tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Dead code: double return



On Mon, Aug 18, 2014 at 11:28:13AM +0200, Maxime Villard wrote:
> Hi,
> my code scanner reports in several places lines like these:
> 
>       return ERROR_CODE/func(XXX);
>       return VALUE;

In some of your examples, it looks like code may have been copied and
pasted.  Is some refactoring of the code called for?

Dave

-- 
David Young
dyoung%pobox.com@localhost    Urbana, IL    (217) 721-9981


Home | Main Index | Thread Index | Old Index