lkml.org 
[lkml]   [2011]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Cocci] Re: [PATCH v2] coccinelle: if (ret) return ret; return ret; semantic patch
> except that 4 of the 5 ORs are cases where we want to do the -return ret; +
> return ret; So I suppose for performance, I should actually add the +/- to
> each of the 4 cases that we want cocci to generate a patch for?

Actually, it's probably not that big a deal. It's only rewriting the ones
where there is a return ret just before, not all the returns in the code,
like I was originally thinking.

julia


\
 
 \ /
  Last update: 2011-06-15 17:39    [W:0.048 / U:2.492 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site