tech-kern archive

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

re: Dead code: double return



David Young writes:
> 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?

hopefully not for code and bug fixes destined for netbsd-7.


.mrg.


Home | Main Index | Thread Index | Old Index